Multi-tier or 3-tier architectures compel separation between business logic, presentation logic and database logic. Few important benefits are detailed over here:
• Manageability: Every tier can be upgraded, monitored or tuned independently & different duties could be assigned to different tiers.
• Scalability: More hardware could get added up and also permits the clustering that is horizontal scaling.
• Maintainability: Up gradation or other changes are performed
Client tier presents Java, Web browser, or other applications like WAP phone, Applet etc. A request is sent to the Web server by the Client tier. Request is then forwarded to JSP or Servlet, or returns static content in case it is in Web server. Presentation tier summarizes the presentation logic that is required for server clients. A JSP or Servlet present in presentation tier intercepts requests of clients, manages logons, or sessions. Business services are being accessed and finally
Updated 01-15-2012 at 07:29 AM by J2EE
The J2EE platform is basically a multi-tiered system. Functionally, a tier is system’s partitioning. In 3-tier system, every tier has its own unique responsibility. Every tier is loosely coupled and logically separated from each other. J2EE Architecture
Updated 01-15-2012 at 07:28 AM by J2EE
The J2EE platform comprises of J2EE services, protocols, components and (API) Application Programming Interfaces. Functionality is being provided by J2EE to develop distributed and multi-tiered Web based applications. A J2EE component is considered to be a functional and self contained software unit which has been assembled to J2EE application, along with related files and classes, to do communication with other components. Following components are present in J2EE.
If you writing J2EE applications, you need to deploy your application to J2EE container like JBOSS. I will shed some light on how to write simple deployment descriptors for your web applications.
I am deploying my JSP application on JBOSS. For JBOSS, we need to put our application in WAR format in deploy folder. So deployment descriptor will have following 2 tasks: Archieve the application into WARCopy that WAR to deploy folder of JBOSS