2009 May | DeepakGaikwad.net
Home » Archive

Articles Archive for May 2009

JEE, Tech Notes »

[29 May 2009 | No Comment | ]

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 plain old Java objects (POJOs) instead of objects extending from framework classes. Providing container that can manage these POJOs without tightly coupling them with framework (e.g. extending classes from framework classes). When Struts moves to …

Featured, Tech Notes »

[25 May 2009 | No Comment | ]

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 hours, the performance testing team shouts ‘the page is taking ages to load’, ‘I can click on a button, go get a coffee, finish it off, and the application is still cooking something behind and …

Tech Notes »

[19 May 2009 | 2 Comments | ]

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 dependencies, creation of project structure that can be directly imported in standard libraries. In this article, I am expecting readers to be aware of maven technology and how the maven builds work.
Prior to maven 2.1, …

JEE, JSF, Tech Notes »

[11 May 2009 | No Comment | ]

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 Eclipse and Tomcat: An example code that can be a starting point for your trials of JSF technology.
Mapping JSF with Other Web Tier Technologies: This article explores similarities, and differences amongst JSF and other web …

JEE, JSF, Tech Notes »

[7 May 2009 | 2 Comments | ]

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 need to consider two scenarios here. These scenarios arise because JSF handles first page request from client differently than a post back request(repeat request for same page).
Request Processing for First Request:
The JSF request for a …