Posts

Showing posts from January, 2010

Spring 2.5+JPA 2.0+Strut 1.3 Web application development

Image
There are lots of web application frameworks in the Java world. Still Struts is the de facto although Struts is the oldest. Struts only for the presentation. As usual, if there is Spring involvement, there are lots of benefits, but configuration is very difficult. In this blog introduce the way the following technologies are configured to develop web applications. Struts 1.3.2 JPA 2.0 (EclipseLink 2.0) Spring 2.5 Tiles 1.3 These technologies for different purposes and avoided the overlaps. For example, Struts for presentation layer, JPA as a model of presentation and Plain Old Java Objects (POJOs) will be as business objects. Productivity is another concern. In this blog, I will show you how to create web application using above technologies and develop with Eclipse Galileo. Let’s consider the typical web application architecture. As shown in the following picture, Struts plays the MVC framework role, in the middle Business services and last, the Data Access Objects(DAOs). How