introduction to j2ee / jee . java is everywhere mobiles bullet trains banks
TRANSCRIPT
INTRODUCTION TO J2EE / JEE
www.java9s.com
JAVA IS EVERYWHERE
Mobiles Bullet trains
Banks
www.java9s.com
JAVA IS EVERYWHERE Mars Rover
www.java9s.com
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
CLIENT
SERVER
Request
Response
www.java9s.com
Our Dear DEVELOPERS Responsibilities
Networking code to communicate from client toserver
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
Container gives some of the services like networking,clustering, High availability, connection pooling etc., for the components
www.java9s.com
Component is the code by the developer which lives in the Container
Component
Networking
Security
Clustering
High performanceHigh availability
Connection pooling
Efficient Multithreading
Container
Container services for the Component
www.java9s.com
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
CLIENT CONTROLLER(servlet)
HTML/JSPMODEL(JAVA
BEANS/ EJB)DB
MODEL VIEW CONTROLLERwww.java9s.com
CLIENT
SERVER
Web server
Index.html
Container
DB
Web based Server and client service
www.java9s.com
List of API in J2EE
1.SERVLETS 10. JMS2.JSP 11. JCA3. JSTL 12. JAX-RPC4. JNDI 13. JAXP5. JDBC 14. STAX6. JMX 15. JSF7. RMI-IIOP 16. JAAS8. EJB39.JAVA-IDL
www.java9s.com
DEVELOPMENT of makeMyTrip.com
CLIENTSERVLET
JSPEJB/MODEL
JDBC DB
SPICE JET EJB CONTAINER
RMI-IIOP
Ari Deccan s .NET application
SOAP SOAP
JAX-RPC
INDIAN AIRLINES
CORBA
JAVA-IDL
JMS
BANK
AIR INDIA ON MAINFRAMES
JCA
Two kinds of Containers
SERVLET CONTAINERSFOR JSP,
SERVLETAPPLICATION CONTAINERS
FOR Servlets, EJB, JNDI etc
www.java9s.com
www.java9s.com