Thursday, October 2, 2014

JSP MODEL1 ARCHITECTURE


* What is the jsp model 1 architecture ?

   - Java server pages(jsp) presents two approaches for developing web application using jsp page.And model 1 architecture is one of the arpproaches for developing web application.

* What is the jsp model 1 architecture used to ?

   - Model 1 architecture enables web desigers to develop web application such that .It separates business logic from presentation logic.
   - In this model have no extra servlet involved in process.The request of client is directly sent to jsp pages.Which can communicate with javabean or another services.
   - JSP model 1 architecture has  a page centric architecture. In this architecture, the application is composed of a series of interrelated jsp pages.These jsp pages handles all aspect of application including presentation,control and business logic.
   - In this architecture,business logic and control decision is  hard-coded inside jsp pages.

* What are the advantages of this model architecture ? 

   - This architecture provides a more lighweight design for small,static application.
   - It provide the separation of the presentation from content.

* What is the disadvantages of this model architecture ? 

   - It suffer from navigation problem.For example,if you change the name of the jsp page that is referenced to another pages .You must change name on many location.
  - Inflexible.
  - Difficult to mantaince.

No comments:

Post a Comment