Download INTRODUCTION TO J2EE

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
INTRODUCTION TO
J2EE / JEE
www.java9s.com
JAVA IS EVERYWHERE
Mobiles
Bullet trains
Banks
www.java9s.com
JAVA IS EVERYWHERE
www.java9s.com
Mars Rover
Standalone/PC based applications
www.java9s.com
Standalone/PC based applications
Application
DB
www.java9s.com
Enterprise applications spread across the globe
The need for CLIENT
and SERVER Applications
started evolving
www.java9s.com
CLIENT AND SERVER RELATIONSHIP
Request
SERVER
Response
CLIENT
www.java9s.com
Our Dear DEVELOPERS Responsibilities
Networking code to communicate from client to
server
 Security code to ensure the confidentiality of data
Programming the server to give high performance
Pooling capabilities
…and at last is the business logic what client has asked 
www.java9s.com
Identification of the common requirements….
Sun has released the JSR specification in 1999 for the container development
Some of the vendors:
•BEA Systems
•IBM
•Apache
•JBOSS
And many more…
www.java9s.com
Component and Container
Component is the code by the developer
which lives in the Container
Container gives some of the services like networking,
clustering, High availability, connection pooling etc., for
the components
www.java9s.com
Container services for the Component
Networking
Efficient Multithreading
Component
Connection pooling
Clustering
Security
High availability
www.java9s.com
High performance
Container
Container and component relationship goes like a fish and an aquarium
www.java9s.com
Two-Tier architecture
www.java9s.com
THREE –TIER ARCHITECTURE
www.java9s.com
MVC Architecture
CONTROLLER
(servlet)
CLIENT
HTML/JSP
www.java9s.com
MODEL
(JAVA
BEANS/ EJB)
MODEL VIEW CONTROLLER
DB
Web based Server and client service
CLIENT
Web
server
Container
SERVER
Index.html
www.java9s.com
DB
List of API in J2EE
1.SERVLETS
2.JSP
3. JSTL
4. JNDI
5. JDBC
6. JMX
7. RMI-IIOP
8. EJB3
9.JAVA-IDL
www.java9s.com
10. JMS
11. JCA
12. JAX-RPC
13. JAXP
14. STAX
15. JSF
16. JAAS
DEVELOPMENT of makeMyTrip.com
JMS
CLIENT
SERVLET
JSP
EJB/MODEL
JAX-RPC
SOAP
SOAP
J
D
B
C
DB
RMI-IIOP
JAVA-IDL
JCA
CORBA
Ari Deccan s .NET
application
BANK
INDIAN AIRLINES
SPICE JET EJB
CONTAINER
AIR INDIA
ON MAINFRAMES
Two kinds of Containers
SERVLET CONTAINERS
FOR
JSP,
SERVLET
www.java9s.com
APPLICATION CONTAINERS
FOR
Servlets, EJB, JNDI etc
www.java9s.com