Download presentation
Presentation is loading. Please wait.
1
J2EE Java2 Enterprise Edition by Damian Borth
2
Contents Introduction Architectures styles Components Scenarios Roles Processing a HTTP request
3
Java2 Enterprise Edition Java Development Kit (JDK) –Compiler –Debugger –JavaDoc Splitting of the one JDK –J2ME –J2SE –J2EE
4
Java2 Enterprise Edition J2EE –distributed platform –design, development, assembly, deploy –component oriented Enterprise Application Ontop of the J2SE
5
Java2 Enterprise Edition Include –J2EE Platform specification –J2EE Application Model –J2EE Compatibility Test Suite
6
J2EE Architecture N-Tier architecture –Frontend Tier presentation input validation –Middle Tier business logic –EIS Tier RDBMS Directory
7
J2EE Architecture
8
J2EE Component Web Container –JSP for dynamic web pages (document oriented) –Servlets point of entry for processing HTTP request (programming oriented)
9
J2EE Component EJB Container –EJB are components, which provide services via standard interfaces –Benefits Distribution management Persistence management Transaction management Security management
10
J2EE Component EJB Container –Session Beans provides functionality / service –Entity Beans representation of business data –Message driver Beans responsible for receiving messages via JMS
11
Defined scenarios Multitier Web Client Scenario Simple Web Client Scenario EJB Application Client Scenario Business-to-Business Scenario
12
Multitier Web Client Scenario
13
Simple Web Client Scenario
14
EJB Application Client Scen.
15
Business-to-Business Scenario
16
Defined Roles J2EE specification defines roles Six different roles –J2EE Tool provider –Application Component Provider –Application Assembler –Deployer –System Administrator –Tool Provider
17
Defined Roles
18
Processing a HTTP request Using a Model-View-Controller pattern Example: –Read data from database –Form with input boxes –POST method
19
Processing a HTTP request
20
Questions?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.