Archive for May, 2009

Better Design without ActionForm in Struts 2

Struts 2 is different from Struts 1 in many aspects. The intention behind changes in Struts 2 is to enrich this framework by adding new features, supporting web tier features like AJAX, and simultaneously simplifying the development with this framework. This framework change is also in line with current trend of getting job done using [...]

JEE, Tech Notes

10 Tips to Develop Performing Applications

Performance, though this concern exists in an application development lifecycle since day one, it comes into picture only when the first performance problem is reported, mostly in production environment. Application is ready; unit testing, integration testing and functional testing rounds are complete. And now its time for some load/performance testing cycles. In just a few [...]

Featured, Tech Notes

Secure Builds with Maven 2.1.0

Maven brought a major change in build process of a project. Prior to Maven, we enjoyed freedom of project structure and library location etc. But maven has taken the JEE project structure contract to next level. It has solved many problems from a project deployment e.g. control over project library, simple xml based definition of [...]

Tech Notes

Java Server Faces (JSF) Tutorial

JSF – Java Server Faces is a web tier technology. This technology is different from other JEE web tier technologies in many aspects. This tutorial helps you to understand building blocks of JSF, compares it with other web tier technologies like Struts, Spring MVC etc. Following detailed articles constitute this tutorial.
JSF Hello World Example on [...]

JEE, JSF, Tech Notes

JSF Request Handling Lifecycle

By now you must have understood what is jsf, how to write simple application using jsf, and what are the changes required if you want to use jsp with jsf. In this article, we will try to explore the request processing by jsf. How does it work when we submit a request from client browser?
We [...]

JEE, JSF, Tech Notes

Applying Java Server Faces (JSF) Technology to Jsp

Normally, a jsp contains static and dynamic contents. Static contents are written using html while dynamic contents are executed at server side, and the resultant data is presented again in html format. When a page is presented in a browser, it contains sequence of html tags that are nested to present view elements and data. [...]

JEE, JSF, Tech Notes

Mapping JSF Technology with Other Web Tier Technologies

If we look at the new technologies introduced in Java domain, it can be clearly seen that web tier is one of the prime focus area now a days. Evolution of Java web technology had been slow as compared to the middle tier and persistent data access technology for past few years. For ages, we [...]

JEE, Tech Notes

JSF Hello World Example on Eclipse and Tomcat

In this example, we will write a simple application using JSF and it’s default renderer – HTML renderer on Eclipse IDE. Next, the application will be deployed on tomcat, and run to see results.  Functionality of our project is simple – enter first name and last name, on press of submit button, show the complete [...]

JEE, JSF, Tech Notes