1 / 12

Multi-tier architectures and application servers

Multi-tier architectures and application servers. Three-layer architecture. An application is divided into 3 main layers User interface Model Including business rules Data. Three-tier architecture. Client-server architecture The 3 main layers are kept on separate platforms

pooky
Download Presentation

Multi-tier architectures and application servers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Multi-tier architectures and application servers Multitier architectures and application servers

  2. Three-layer architecture • An application is divided into 3 main layers • User interface • Model • Including business rules • Data Multitier architectures and application servers

  3. Three-tier architecture • Client-server architecture • The 3 main layers are kept on separate platforms • Access is through the client-server paradigm • Change in platform affects only the layer running on that particular platform • Change of platform could be • Operating system • Windowing system • Database management system (DBMS) Multitier architectures and application servers

  4. Multitier architectures and application servers

  5. Three-tier architecture vs. MVC architecture • Model-View-Controller (MVC) architecture • All 3 “layers” can communicate directly • Three-tier architecture • User interface and data tiers does not communicate directly • Only through the ‘”model” tier • MVC is mainly used in single-platform applications • Though it can be used in web applications Multitier architectures and application servers

  6. N-tier architecture • An application may involve more than 3 tiers • Example • User interface • Web server (middle ware) • Web service enabled model • Data Multitier architectures and application servers

  7. Application server • An application server runs the “model” layer • Provides service to the user interface layer • Requires service form the data layer • Application servers can do • Persistency • Accessing the database automatically • Transaction management • Using a single or multiple databases • Web services • HTTP Multitier architectures and application servers

  8. Java application servers • Java EE (Java Enterprise Edition) applications run on application servers • Sometimes called Java EE servers • Some popular Java EE servers • IBM WebSphere • BEA WebLogic • Oracle OC4j • JBoss • Sun GlassFish Multitier architectures and application servers

  9. Java EE server features • HTTP • Runs Java Servlets and JSP (Java Server Pages) • Web services • Enterprise Java Beans (EJB) • Using container managed or bean managed persistency • Transaction management Multitier architectures and application servers

  10. Java EE servers and containers Multitier architectures and application servers

  11. Java EE 5 Platform API Multitier architectures and application servers

  12. References • Multitier architecture • http://en.wikipedia.org/wiki/3-tier • Application server • http://en.wikipedia.org/wiki/Application_server • The Java EE 5 Tutorial • http://java.sun.com/javaee/5/docs/tutorial/doc/ Multitier architectures and application servers

More Related