Consider using a builder pattern when faced with classes that have constructors that take a large number of parameters.
Consider using a builder pattern when faced with classes that have constructors that take a large number of parameters.
I recently gave a try to reverse engineering a database into entity classes by using Hibernate Tools. And it is quite cool.
When using an XML file as a datasource for a report designed with iReport-Designer for JasperReports, you sometimes want to add an image, which also should be retrieved from the XML datasource. For this, we have to first find a way to represent that image in the XML file, and then, interpret it from there […]
Building an internationalized application with GWT and UI Binder requires some steps to be followed: For every <ui:UiBinder> tag inside each view, the following attributes need to be provided
Regular expressions (or regexp) are used in programming to identify a template, a model, or elements that repeat in a predictable manner. They are a special sequence of characters that help you match or find strings or sets of strings, using a specialized syntax. Regular expressions reduce development time, because it takes only one line […]
This article will briefly describe how to create a JAX-WS webservice with JBoss 5.1 and how to avoid JAXB serialization/deserialization problems that might arise during the deploy process of the webservice.
In this article I will briefly describe the steps needed for creating a user login for an application with users registered in an Active Directory. Login will be done via LDAP protocol, and the credentials will be matched against the Active Directory registered user’s credentials.
In many web applications at some point a programmer meets the need to make an archive of a/some document(s) and offer this archive for download. The main JAVA utilities for executing this archiving task are inside package java.util.zip. These classes implement an output stream filter for writing files in the ZIP file format. They include […]
It is a good idea to hold your database server inside a virtual machine and run it only if needed. This will save the memory space from being loaded with running services when you don’t need them. But what if you need to import a large database dump file and there is no sufficient space […]
By continuing to use the site, you agree to the use of cookies. More information
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.