VisualBuilder
  Home > Jsp > Tutorials > Layered Approach - JSP and J2EE Design Tutorial
Tell a friend
Link to us
Total Members
      Members: 84606
     
Sitemap Forum Chat
Home
JSP And J2EE Design Tutorial Home
1 . Summary of how JSP works
2 . Introduction to terms; JSP,J2EE,EJB and Ser
3 . Simple J2EE application
4 . Web Application using EJB
5 . Web Application using reusable components
6 . Layered Approach
7 . Appendix A - Summary of Recommendations
 
Jsp Group Home
Jsp Discussion (71)
Jsp Members (18673)
Jsp Resources
Jsp Source Code (172)
Jsp Articles (3)
Jsp Blogs
Jsp Jobs
Jsp Components (10)
Jsp Books
Jsp Websites (13)
Jsp News (12)
Jsp Q & A (79)
- Jsp Ask Question
- Jsp Questions
- Jsp Unanswered Questions
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.NET Development Tips
ASP.Net Security,Internationalisation And Deployment
ASP.NET Server Controls Tips
ASP.NET Tutorial
C Sharp Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (432 )
Source Code (3217 )
Articles (11 )
Components (1589 )
News (880 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise


Jsp design Tutorial
 Layered Approach
  << Prev: Web Application using reusable components Next: Appendix A - Summary of Recommendations >>

Layered Approach.


The actual architecture of the application has been separated out into several layers.


1. Presentation view
2. Presentation logic
3. Business logic
4. Data Model



1. Presentation view.


This is the actual look,feel and presentation of the application. In J2EE,Java Server Pages (JSP) are used to implement your view.


2. Presentation Logic


This is the code required to call business logic and return output to the view. Java Servlets / java beans are the best way to implement presentation logic. 


3. Business Logic


This is code required to execute the usecase actions and manipulate the data model. EJB Session beans are the containers of the business logic for all your usecases.


4. Data Model


J2EE provides a useful abstraction for your data model,called EJB Entity beans.  These are persistent objects that model your real world business abstractions.


 


The layered approach has the following benefits:
• Encapsulation – each layer hides details from the other layers. Therefore a layer can change without affecting other layers.
• Separation - Complexity in the system is easier to manage because each layer is focused on a cohesive set of responsibilities.
• Reuse – each layer can provide services to the layer above,so classes can be reused whilst still abstracting the implementation details.


This leads to applications that are more flexible and maintainable.


 


  << Prev: Web Application using reusable components Next: Appendix A - Summary of Recommendations >>
Jsp Design Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
LINKS
MSN
Video Surveillance
VoIP Internettelefonie AT
Gift to Pakistan
 
ADVERTISEMENT
 
PARTNER LIST

More
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising