Enterprise Java
T.Y.B.SC.IT SEM V
- SHERILYN KEVIN
Introduction To Java
Platform Independent Programming Language
Secure and Robust
Fits perfectly on the web
WORM
Object Oriented
Reliability
Exception Handling
TCP/IP Protocols
Java Architecture
Java programming language
Java Class File- bytecodes(machine independent)
JVM
Java API’s
Java Platform
Java ME
Java SE
Java EE
J2EE
Allowed building middle tier components in a way these application components could run on Web Servers and
Application Servers produced by many leading vendors.
Allowed the developers to concentrate on building the application content while the vendors provided the logic that
provides scalability,reliability,security and so on…
The Web/Application Server automated many of the services such as:
Parsing Web Pages
Handling Security
Persistence
Connection Pooling
Messaging
Name Services
What is an Enterprise
Application?
Business Application
Complex
Scalable
Distributed
Multi-tiered
Component based
Mission Critical
Deployed on a variety of platforms across intranets etc…
Java EE Technologies
WAT
◦Servlets
◦JSP
◦JSTL
◦JSF
◦Facelets
EAT
◦ EJB
◦ JPA
◦ JTA
◦ JMS
Web Service Technologies
◦ SOAP and RESTful,JAXR
Security Technologies
◦ JACC,JASPIC
Java EE
It is a set of coordinated technologies and practices that enable developing, deploying and
managing multi-tier Server centric enterprise applications.
It has a powerful set of API’s that has helped the developers not only reduce the development
time and application complexity but also improve the application performance.
Types of System Architecture
Single Tier Architecture
Multi-Tier Architecture
Java EE architecture is based on multi-tier architecture.
UI Tier
Presentation Tier
Business Tier
Infrastructure Services
Integration Tier/Data Access Tier
Data Tier
Architecture of an Enterprise
Application
Client Tier Services-client machine
Web Tier Services-web server(Java EE Server)
Business Tier Services-application server(Java EE Server)
EIS Tier Software –EIS Server/Database Server
Java EE Servers
A Java EE server is a server application that the implements
the Java EE platform APIs and provides the standard Java EE
services.
Java EE servers are sometimes called application servers,
because they allow you to serve application data to clients,
much like web servers serve web pages to web browsers.
Java EE servers host several application component types
that correspond to the tiers in a multi-tiered application. The
Java EE server provides services to these components in the
form of a container.
Java EE Containers
Java EE containers are the interface between the component and the lower-level functionality provided by the platform to support
that component.
The functionality of the container is defined by the platform, and is different for each component type. Nonetheless, the server
allows the different component types to work together to provide functionality in an enterprise application.
They are:
The Web Container
The web container is the interface between web components and the web server. A web component can be a servlet, a JavaServer
Faces Facelets page, or a JSP page. The container manages the component's lifecycle, dispatches requests to application components,
and provides interfaces to context data, such as information about the current request.
The Application Client Container
The application client container is the interface between Java EE application clients, which are special Java SE applications that use
Java EE server components, and the Java EE server. The application client container runs on the client machine, and is the gateway
between the client application and the Java EE server components that the client uses.
The EJB Container
The EJB container is the interface between enterprise beans, which provide the business logic in a Java EE application, and the Java
EE server. The EJB container runs on the Java EE server and manages the execution of an application's enterprise beans.