Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Jsf Myfacesspring Application Architecture

 
 

Share on Google+Share on Google+

Application Architecture

Advertisement
In this section we will explain you the architecture of the application and the different components that makes up the layers.

Application Architecture

        

In this section we will explain you the architecture of the application and the different components that makes up the layers.

Our Login and Registration application consists of 3 different layers (tiers)

  1. Presentation Layer
  2. Business Layer
  3. Data Access Layer

In this application the presentation layer, business layer and data access layer are physically located on the same JEE server. The different layers of the application are isolated from each other and connected through well defined interfaces.

Three tier architecture of the application:

 Presentation Layer

JSF is used to build the presentation layer of the application. JFS allows us to create rich gui for web application. It resolves the technical challenges of creating rich gui web application. In this layer we have jsp pages and JSF components. All the request to the web server are passes through faces servlet.

Business Layer

The POJO classes and classes to process the business logic are used to create the Business Layer. The POJO classes with the help of spring framework creates an ideal solution to implement the Business Layer.

Data Access Layer

The data access layer handles all the logic to save and retrieve the data from data base. Hibernate O/R mapping tools is an ideal solution for enterprise application of any size. Hibernate handles all the logic to store and retrieve POJO objects. It also handles resource management and transaction management activities.

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 7, 2008

Related Tutorials

Discuss: Application Architecture   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com