j2ee part-1
TRANSCRIPT
-
8/9/2019 J2EE part-1
1/12
J2EE Tutorial( Day-1 )
authored by
Biswabrata Banerjee
-
8/9/2019 J2EE part-1
2/12
Introduction to
-
8/9/2019 J2EE part-1
3/12
-
8/9/2019 J2EE part-1
4/12
area of Interest J2EE
What we are going to learn in this session(1) ?
- The J2EE technology components
- J2EE architecture overview
- J2EE containers
-
8/9/2019 J2EE part-1
5/12
About J2EE Technology
J2EE is essentially a specification that stipulates how the various
J2EE technologies work together . According to use, The collection of J2EE
technologies can be divided into the following three :
The component technologies:Used to hold business logic. There are three type ofcomponents: Servlets, JSP pages and EJBs.
The service technologies:
Used to provide the application components withsupported services to function efficiently.
The communication technologies:
Used to communicate among the different parts ofthe application ,whether they are local or remote.
-
8/9/2019 J2EE part-1
6/12
With any application, the most important element is modeling thenecessary business logic through components or application level reusable units.The J2EE platform provides the following technologies for developingcomponents:
WEB Components:
Servlets :-server-side programs that allow application logic tobe embedded in HTTP request-response process.
-enable dynamic content in HTML,XML.
Java Server Pages (JSP Pages):
-Text-based documents that separates the application
logic from presentation logic.
Enterprise Java Bean Components(EJBs):
Used for developing distributed components.
COMPONENT TECHNOLOGIES
-
8/9/2019 J2EE part-1
7/12
SERVICE TECHNOLOGIES
J2EE is essentially a specification that stipulates how the various
J2EE technologies work together. J2EE service technologies include:
Java Naming and Directory Interface (JNDI):
Used for naming and directoryJava Message Service (JMS):
Used for asynchronous messaging
Java Transaction API (JTA):
Used for distributed transactions
Java Database Connectivity (JDBC) :
Used for enterprise-level database access
Java API for XML Parsing (JAXP):
Used for parsing XML documents
-
8/9/2019 J2EE part-1
8/12
Java Connector Architecture (JCA):Using for a variety of legacy application
Java Authentication and Authorization Services (JAAS):Used for providing a means to grant permissionsbased on who is executing the code.
Java Mail:Used for sending and receiving electronic mail
-
8/9/2019 J2EE part-1
9/12
COMMUNICATION TECHNOLOGIES
This group holds those technologies that glue together the
application and let the various components and services to communicate
with each-other .It includes : Internet Protocols ( HTTP,TCP/IP, SSL) ,Remote Object protocols (RMI, RMI-IIOP).
-
8/9/2019 J2EE part-1
10/12
J2EE architecture
database
BrowserApplet container
app. clientcontainer
Client Machine
Web container
EJB container
servletJSP page
Enterprise Bean
J2EE server
J2EE Server and Containers
app. client
Continue
-
8/9/2019 J2EE part-1
11/12
Q. What is a container anyway ?!
A: A J2EE container is a runtime to manage application components developedaccording to the API specification and to provide access to the J2EE APIs.
The container architecture shown in the previous slide has four containers:
A web container for hosting Java servlets and JSP pages.
A EJB container for hosting Enterprise Java Bean Components.
An applet container for hosting java applets.
An Application client container for hosting standard Java application
-
8/9/2019 J2EE part-1
12/12
Next classJSP and MVC