Tuesday, November 29, 2011

What is the architecture of JSP?

Java Server Pages (JSP) are normally used for developing Enterprise Applications and this is called as JEE - Java Enterprise Edition. JEE is an open standard based platform for developing, deploying and managing n-tier, web enabled, component based enterprise applications.1. MVC(Model-View-Container) / Model 2 Architecture: The most commonly used architecture for web applications is the Model 2 Architecture-Model is a component that holds the data (JavaBean)-View is a component that takes care of the presentation (JSP)-Controller is a component that controls and co-ordinates all the activities (Servlet)Advantages of MVC architecture:-MaintainabilityThe business logic and presentation logic are separatedThe architecture is well known-Reusability-SecurityAs all the requests are routed through a single point, the Controller can take care of security instead of each page taking care of the security
Category:JSP Interview Questions

No comments:

Post a Comment