Struts

Model-1
  • In this model ,all logics of an application are implemented in jsp pages,when only servlet technology is in market
  • Either one are more jsp pages are used to develop web applications
  • Validations,Business logics,presentation logic are implemented using jsp pages
  • we can separate Business logic from presentation logic in jsp pages ,but if we want to call a business logic again we need to write some business logic in jsp page,so complete separation is not possible.
Limitations of Model-1 Architecture.

Model-2
  • The Business logic is completely separated from presentation logic.
  • This architecture is useful in both servlet and jsp technologies
  • This is also called MVC Architecture
------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment