J2EE - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

J2EE

Description:

Java 2 Enterprise Edition now known simply as Java Enterprise Edition ... DHTML. Request received by client. JSP page requests data from web service (servlet) ... – PowerPoint PPT presentation

Number of Views:20
Avg rating:3.0/5.0
Slides: 12
Provided by: CMS1107
Category:
Tags: j2ee | dhtml

less

Transcript and Presenter's Notes

Title: J2EE


1
J2EE
  • Gina Sousan
  • Fall 2007

2
What is J2EE?
  • Java 2 Enterprise Edition now known simply as
    Java Enterprise Edition
  • Developed by Sun Microsystems
  • Unveiled in 1999 at the Sun One Conference
  • A framework for creating enterprise applications

3
What is the scope of J2EE?
  • JSPs
  • Servlets
  • EJB
  • JDBC
  • JTA, JTS
  • JNDI
  • JMS
  • RMI
  • JAXP
  • JAF
  • JCX
  • JAAS
  • JMX
  • Java Server Faces

4
J2EE Tier
Client App Browser
Middle Web EJB
Persistence DB
JDBC/ JTA,JTS
Request
- Web components and EJB containers -
Communication via JMS, RMI, JNDI, XML, etc.
5
Middle layer - Web
  • Presentation Layer
  • Provides dynamic content in response to requests
  • Generates interactive web pages with various
    types of markup languages (XML, HTML)
  • Servlets, JSPs, Java Server Faces

6
Middle Layer - Web
  • Service-oriented
  • Implements endpoint of a web service
  • Normally provides services to presentation-oriente
    d clients
  • JAXP, SOAP, JMS

7
Web Components - example
  • Request received by client
  • JSP page requests data from web service
    (servlet)
  • Service sends data to JSP page
  • JSP page bundles data into dynamic HTML to be
    displayed to client

JSP page
Request
DHTML
Request
Data
Servlet
8
Middle layer - EJB
  • Encapsulates business logic of the application
  • Server-side component
  • Used for scalability, data-integrity and to
    support variety of clients
  • Session, Message-Driven, Entity

9
Persistence Layer
  • Provides object/relational mapping
  • Manage relational data in Java applications
  • Entity class Java object that maps to a
    database table

10
Persistence - illustration
Relational Database
Application
EmployeeEntity.java public class
EmployeeEntity private String name
private int age private String address
Create table employee ( name char(50), age
number, address char(50) )
Defines
11
Putting it all together
  • Demo
Write a Comment
User Comments (0)
About PowerShow.com