Wednesday, May 30, 2007

Struts 2.0 Introduction and Validations using Annotations

This article provides an introduction to Struts 2.0 and its new Validation Features. Since Struts 2.0 is new, the first few sections of the article discusses in brief about the basics of Struts 2.0, its architecture and its various New Features. The rest of the article is dedicated towards explaining about the new Validation Features available. Struts is an Open-Source Web Application Framework that simplifies the creation of a Java Web Application. It is based on the Model-View-Controller 2 (MVC 2) Architecture which was originally found in a language called SmallTalk. The recent version of Struts is Struts 2.0 and it has borrowed most of the concepts in terms of architecture and functionality from two frameworks namely WebWork and XWork.read full article>>

Sunday, May 20, 2007

Introduction to Java Server Faces

Java Server Faces (JSF) simplifies the development of User Interfaces in a typical Web application. It provides a Component-based Pluggable Architecture for developing and representing User Interface Components. Also bundled with JSF is a whole set of various new features like Event Handling Mechanism, Page Navigation, Input Validation and Conversion. This article provides an overview about JSF Framework and the various core elements that form the basis for a JSF Framework. It then provides a detailed overview about the various phases in the JSF Request Processing Life-cycle. Explained further is the structure of the JSF Configuration File. And finally the article is concluded by providing a sample application that demonstrates the various new features.read full article

Saturday, May 12, 2007

Hibernate Interceptors - An Introduction

This article deals with Hibernate Interceptors. Hibernate is an open-source project that provides ORM solution. Situations may demand to perform some set of pre-requisite/post-requisite operations before/after the core functional logic. In such a case, an interceptor can be used to intercept the existing business functionality to provide extensible or add-on features.read the full article>>

Integrating Struts With Spring

Struts is more established and more stable MVC2 framework at this time so if your application is based on Struts framework you may forget about thinking to move to some other framework. But at the same time you must have heard about the buzz created by Inversion of Control (IOC) design pattern. This design pattern is implemented by Spring framework. Besides there are some more amazing features of Spring like AOP. So if you like to take advantage of these features of Spring you do not have to rebuild the application, but you can integrate your existing Struts application with Spring without much hassle. More about that latter but first we would like to have a look at new features of Spring and how they work.read the full article>>

Friday, May 11, 2007

Introduction to Hibernate

Persistent data can be seen anywhere in an application. Managing persistent data is one of the few challenges that modern technologies/products are facing. A solution called Object-Relational Mapping (ORM) has gained major popularity over the past few years. ORM is a piece of software/product for the representation and conversion of data between the database and the object-oriented programming language. Hibernate is one such ORM solution and it is an open-source project.More>>