Introduction To J2EE
Introduction To J2EE
Introduction To J2EE
Enterprise Computing
Challenges Portability Diverse Environments Time-to-market Core Competence Assembly Integration Key Technologies J2SE J2EE JMS Servlet JSP Connector XML Data Binding XSLT Products App Servers Web Servers Components Databases Object to DB tools
Workgroup Server
High-End Server
THE
Optional Packages
TM JAVA
PLATFORM
Optional Packages
Personal Profile
JVM
J2EE TECHNOLOGIES
Java EE 5
JAX-WS 2.0 & JSR 181 Java Persistence EJB 3.0 JAXB 2.0 JavaSever Faces 1.2 new to Platform JSP 2.1 Unification w/ JSF 1.2 StAX Pull Parser new to Platform
What is a Servlet?
Java objects which extend the functionality of a HTTP
server Dynamic contents generation Better alternative to CGI, NSAPI, ISAPI, etc.
Efficient Platform and server independent Session management Java-based
presentation
Presentation is in the form of HTML or XML/XSLT Business logic is implemented as Java Beans or custom tags Better maintainability, reusability
EJB
Enterprise Java Beans
Leverages the benefits of component-model on the server side Separates business logic from system code
!
Leverages the benefits of component-model on the server side Separates business logic from system code
!
Container provides system services Over different J2EE-compliant servers Over different operational environments
Leverages the benefits of component-model on the server side Separates business logic from system code
!
Container provides system services Over different J2EE-compliant servers Over different operational environments Deployment descriptor
EJB Architecture
Enterprise JavaBeans
Enterprise JavaBeans
Stateless
Stateful
JDBC
JAF J2SE
JAF
RMI
RMI/IIOP
J2SE
JDBC
JNDI
JMS
J2SE
Database
JDBC
JNDI
JMS
JNDI
JTA
JMS
JTA
JavaMail
JavaMail
Containers Handle
! ! ! ! ! ! !
Components Handle
! !
Browser
Web Server
EJB Server
Stand-alone