Articles [Java & J2EE]

Managed Beans are the Plain Old Java Objects (POJO) having set of properties and operations which are available to the JavaServer Faces components directly through the Unified Expression Language(EL).The two types of methods that can be written in...

Google Web Toolkit is a very powerful way to create rich applications with ease. It has a lot of built in widgets that we can use to create rich user interfaces. Try the demo applications which are bundled with GWT and you can feel the richness and...

I have a PDF file embedded with the page and I have a download link which is used to download that pdf file. When I click on the download link, it will not work since it is the same url as with the embedded pdf; and because the adobe reader is...

Please refer to the Java Puzzle - Problem of Two Developers before reading this puzzle. This puzzle uses the same scenario from the last month.Now in this puzzle, we have to print as shown below:"I am developer 1You are developer 2"Below are the...

The JavaServer Faces technology was introduced after the Expression Language for Java Server Pages technology has been developed. The JavaServer Faces technology required more powerful language which should do the tasks which cannot be done by the...

If you want to use your Custom Request Processor along with your Tiles Request Processor it will give the error. This error comes when you extend your custom request processor from the RequestProcessor class. This is because of the bug in Tiles...

The most ccommon exception when using Tiles in a Struts application is theJasper Exception. For example look into the exception below. javax.servlet.ServletException: Can't get definitions factory from contextThis exception can occur if the Tiles...

Fuzaba is a very useful tool using which we can create the UML models on a fly. More than that we can easily export the UML models into the Java Classes. This will drastically reduces our time in developing the applications. You can use it...

Struts is the most reliable and most efficient framework to design the enterprise applications. The good way of reusing the code will improve the maintanance of the application.Here is the sample structure of the Application:formbeans: which stores...

Here are the some of the best practices to be followed on order to make your code more managiable and maintainable. These are only the suggessions which will reduce the rework of your code. Always use comments for your class, methods and...

Powered by CjBlog