SlideShare a Scribd company logo
Ranjan Kumar CDAC Mumbai Java EE – An Introduction to Java  Enterprise Edition
Agenda What is Java EE? Why Java EE? Java EE Deliverables (what and why?) ‏ Basic Architecture Components and Containers Roles Lifecycle
Overview A collection of enterprise technologies Provides a component based approach to the design, development, assembly and deployment of enterprise applications Enables solutions for developing, deploying and managing n-tier server-centric enterprise applications An open industry standard (initiative led by Sun Microsystems(now Oracle) ) ‏
To provide a platform-independent, portable, multi-user, secure, and standard enterprise-class platform for server side deployments written in the Java Language Implement a standardized execution environment for distributed enterprise applications Mission
The Java Platform Micro Edition (Java ME) ‏ Enterprise Edition (Java EE)  Standard Edition (Java SE) ‏ Hand-held devices Desktop High-end Servers Workgroup Servers
Java EE Bundle APIs and technology specification A collection / integration of various enterprise APIs Development and Deployment platform A unified platform for server-side development Reference Implementation Implements the Java EE specification & demonstrates its viability  Compatibility tests Certifies a Java EE product, confirms application portability Java EE Blueprints Programming model, patterns, guidelines, best practices
Why Java EE? Platform value for developers Can use any Java EE implementation for development and deployment Vast amount of Java EE community resources Can use off-the-shelf 3 rd  party components
Why Java EE? Platform value to vendors Vendors work together on specifications and then compete in implementations In the areas of Scalability, Performance, Reliability, and so on Freedom to innovate while maintaining the portability of applications
Why Java EE? Platform value to Business customers Application portability Many implementation choices are possible based on various requirements Price (free to high-end), scalability (single CPU to clustered model), reliability, performance, tools & more Best of breed of applications and platforms Large developer pool
Evolution of Distributed Transactional Computing Overview of technologies leading to distributed computing 1 tier, 2 tier, 3 tier, n tier architecture Application Servers Proprietary Open standard
N-tier J2EE Architecture RMI-IIOP HTTP (JSP/Servlets) ‏ EJB Application Server Web Server Container
Java EE Architecture – Tiers and Components View Client Tier  Web Tier  Business Tier  Data Tier
Java EE Server and Containers Client Database Application  Client  Container EJB Container Web Container Application  Client Web Browser Enterprise  Bean Enterprise  Bean Servlet JSP Page Java EE Server
Java EE Components The Java EE platform uses a multi-tiered distributed application model The Java EE application components parts comprise: Client-tier components (run on the client machine).  Web-tier components (run on the Java EE server).  Business-tier components (run on the Java EE server).  Enterprise information system (EIS)-tier software (runs on the EIS server).   Essentially considered to be  three-tiered application , because of being distributed over client, J2EE server and the database.
Java EE Components: Client Tier Client Web clients (web-browser, web pages, applets) ‏ Application client (application user interface built using Swing or AWT, or a command line  interface) ‏ CORBA IIOP complaint clients
Java EE Components: Web-tier Web components Servlets or JSP pages Java Beans (optional) ‏
Java EE Components: Business tier Business Components Enterprise Beans handle the application logic Separates business process (session beans) and data component (entity beans) ‏ Applications requiring messaging facility use JMS
Java EE Components: Data tier Application Database Server Any relational database (eg Oracle, MS SQL, etc) ‏ Enterprise Information System (EIS) ‏ Includes enterprise systems like ERP, mainframe transaction processing, database systems and other legacy information systems J2EE applications often rely on this tier to store the enterprise’s business critical data
Container Services Security Transaction Management Naming and directory  Remote connectivity Lifecycle management Persistence Concurrency Resource Pooling
Container Types The deployment process installs Java EE application components in the Java EE containers EJB container Web container Application client container / Applet container The Java EE server provides EJB and Web containers and is the operating run-time environment
Java EE Technologies  Component Technology Applet, application clients, Enterprise beans, web components (JSP / Servlets) ‏ Service Technology JDBC, JNDI, JTS, Connector Architecture, Web Services etc Communication Technology RMI-IIOP Internet protocols (HTTP, SSL, TCP/IP) ‏ Messaging  (JMS, Java Mail) ‏
Java EE APIs (Bundled) ‏ Java SE Java SDK Java Standard APIs Java EE Enterprise JavaBeans (EJB) ‏ - Aritecture for building server-side components Java Remote Method Invocation (RMI) & RMI-IIOP - Method invocation across Java virtual machines. Can also integrate with other clients comfirming CORBA IIOP specification Java Naming and Directory Interface (JNDI) ‏ - Naming service for locating resources over the network Java Database Connectivity (JDBC) ‏ - Java interface to relational database Java Servlets & Java Server Pages (JSP) ‏ - Technology allowing dymanic web content generation Java Activation Framework (JAF) ‏ J2EE Connector Architecture
Java EE APIs (Bundled) contd … Java Messaging Service (JMS) ‏ Enables asynchronous communication, including point-to-point and publish/subscribe messing Java IDL Java technology based CORBA ORB implementing a subset of CORBA specification Java Mail Mailing APIs Java API for XML Parsing (JAXP) ‏ XML parsing and manipulation. Used to describe EJB components, file scripts Java Transaction API (JTA) and Java Transaction Service (JTS) ‏ Used to manage transactions Java Authentication and Authorization Service (JAAS) ‏ Security services API Others (performance specific, not mandated by the specification) ‏ Load balancing, data caching, transparent fail over, etc
Java EE Application Assembly and Deployment Applications are packaged into one or more standard units for deployment to any Java EE platform-compliant system Each unit contains  - a functional component or components (enterprise bean, JSP page, servlet, applet, etc.), - a standard deployment descriptor that describes its content,  - J2EE declarations which have been specified by the application developer and assembler. Once the unit is produced, is ready for deployment
Deployment  Descriptors (XML Files) ‏ EJB JSP Servlet HTML Deployment  Tool J2EE Server Java EE Unit (war, jar or ear) ‏ Deploy
Java EE Roles Java EE product provider One who designs and makes available the Java EE platform, APIs and other features defined in the Java EE specification Component Provider One who provides web components, enterprise beans, applets or application clients for use in J2EE applications. Application Assembler One who gets the components and assembles it into an application
Java EE Roles (continued…) ‏ Application Deplorer and Administrator One who configures and deploys the J2EE application, administers and monitors the deployment Tool provider One who creates development, assembly and packaging tools used by component providers, assemblers and deplorers
Java EE Lifecycle
Java EE Application Anatomies 4-tier Java EE applications HTML client, JSP/Servlets, EJB, JDBC/Connector 3-tier Java EE applications HTML client, JSP/Servlets, JDBC 3-tier Java EE applications EJB standalone applications, EJB, JDBC/Connector B2B Enterprise applications Java EE platform to Java EE platform through the exchange of JMS or XML-based message
References Java EE Tutorial, Sun Microsystems (now Oracle) Simplified guide to the Java EE Platform, Enterprise Edition, Sun Microsystems (now Oracle) Sun TechDays Conference 2000-2001 slides,  Sun Microsystems Mastering Enterprise JavaBeans, 3 rd  Edition By Ed Roman
Ad

More Related Content

What's hot (20)

New Features in JDK 8
New Features in JDK 8New Features in JDK 8
New Features in JDK 8
Martin Toshev
 
Java Server Faces (JSF) - Basics
Java Server Faces (JSF) - BasicsJava Server Faces (JSF) - Basics
Java Server Faces (JSF) - Basics
BG Java EE Course
 
Tibco business works
Tibco business worksTibco business works
Tibco business works
Cblsolutions.com
 
Spring Core
Spring CoreSpring Core
Spring Core
Pushan Bhattacharya
 
Tomcat server
 Tomcat server Tomcat server
Tomcat server
Utkarsh Agarwal
 
Spring Boot
Spring BootSpring Boot
Spring Boot
Pei-Tang Huang
 
Documenting your REST API with Swagger - JOIN 2014
Documenting your REST API with Swagger - JOIN 2014Documenting your REST API with Swagger - JOIN 2014
Documenting your REST API with Swagger - JOIN 2014
JWORKS powered by Ordina
 
Hibernate presentation
Hibernate presentationHibernate presentation
Hibernate presentation
Manav Prasad
 
Document your rest api using swagger - Devoxx 2015
Document your rest api using swagger - Devoxx 2015Document your rest api using swagger - Devoxx 2015
Document your rest api using swagger - Devoxx 2015
johannes_fiala
 
J2EE Introduction
J2EE IntroductionJ2EE Introduction
J2EE Introduction
Patroklos Papapetrou (Pat)
 
Java Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By StepJava Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By Step
Guo Albert
 
Tomcat
TomcatTomcat
Tomcat
Venkat Pinagadi
 
Jsf presentation
Jsf presentationJsf presentation
Jsf presentation
Ashish Gupta
 
Profiling distributed Java applications
Profiling distributed Java applicationsProfiling distributed Java applications
Profiling distributed Java applications
Constantine Slisenka
 
REST APIs with Spring
REST APIs with SpringREST APIs with Spring
REST APIs with Spring
Joshua Long
 
Spring Framework - Core
Spring Framework - CoreSpring Framework - Core
Spring Framework - Core
Dzmitry Naskou
 
JPA and Hibernate
JPA and HibernateJPA and Hibernate
JPA and Hibernate
elliando dias
 
WebLogic FAQs
WebLogic FAQsWebLogic FAQs
WebLogic FAQs
Amit Sharma
 
Apache tomcat
Apache tomcatApache tomcat
Apache tomcat
Shashwat Shriparv
 
J2ee
J2eeJ2ee
J2ee
Prince Soni
 

Viewers also liked (8)

J2ee (java ee) tutorial for beginners
J2ee (java ee) tutorial for beginnersJ2ee (java ee) tutorial for beginners
J2ee (java ee) tutorial for beginners
inTwentyEight Minutes
 
10 Cache Implementation
10  Cache Implementation10  Cache Implementation
10 Cache Implementation
Ranjan Kumar
 
Developing Microservices with Apache Camel, by Claus Ibsen
Developing Microservices with Apache Camel, by Claus IbsenDeveloping Microservices with Apache Camel, by Claus Ibsen
Developing Microservices with Apache Camel, by Claus Ibsen
Judy Breedlove
 
Keeping Infinispan In Shape: Highly-Precise, Scalable Data Eviction
Keeping Infinispan In Shape: Highly-Precise, Scalable Data EvictionKeeping Infinispan In Shape: Highly-Precise, Scalable Data Eviction
Keeping Infinispan In Shape: Highly-Precise, Scalable Data Eviction
Galder Zamarreño
 
Have You Seen Java EE Lately?
Have You Seen Java EE Lately?Have You Seen Java EE Lately?
Have You Seen Java EE Lately?
Reza Rahman
 
J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architecture
Suman Behara
 
Java EE 8: On the Horizon
Java EE 8:  On the HorizonJava EE 8:  On the Horizon
Java EE 8: On the Horizon
Josh Juneau
 
JavaScript Frameworks and Java EE – A Great Match
JavaScript Frameworks and Java EE – A Great MatchJavaScript Frameworks and Java EE – A Great Match
JavaScript Frameworks and Java EE – A Great Match
Reza Rahman
 
J2ee (java ee) tutorial for beginners
J2ee (java ee) tutorial for beginnersJ2ee (java ee) tutorial for beginners
J2ee (java ee) tutorial for beginners
inTwentyEight Minutes
 
10 Cache Implementation
10  Cache Implementation10  Cache Implementation
10 Cache Implementation
Ranjan Kumar
 
Developing Microservices with Apache Camel, by Claus Ibsen
Developing Microservices with Apache Camel, by Claus IbsenDeveloping Microservices with Apache Camel, by Claus Ibsen
Developing Microservices with Apache Camel, by Claus Ibsen
Judy Breedlove
 
Keeping Infinispan In Shape: Highly-Precise, Scalable Data Eviction
Keeping Infinispan In Shape: Highly-Precise, Scalable Data EvictionKeeping Infinispan In Shape: Highly-Precise, Scalable Data Eviction
Keeping Infinispan In Shape: Highly-Precise, Scalable Data Eviction
Galder Zamarreño
 
Have You Seen Java EE Lately?
Have You Seen Java EE Lately?Have You Seen Java EE Lately?
Have You Seen Java EE Lately?
Reza Rahman
 
J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architecture
Suman Behara
 
Java EE 8: On the Horizon
Java EE 8:  On the HorizonJava EE 8:  On the Horizon
Java EE 8: On the Horizon
Josh Juneau
 
JavaScript Frameworks and Java EE – A Great Match
JavaScript Frameworks and Java EE – A Great MatchJavaScript Frameworks and Java EE – A Great Match
JavaScript Frameworks and Java EE – A Great Match
Reza Rahman
 
Ad

Similar to Introduction to java ee (20)

Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_ee
Yogesh Bindwal
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
Moumie Soulemane
 
Java EE 7 introduction
Java EE 7  introductionJava EE 7  introduction
Java EE 7 introduction
Moumie Soulemane
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
Joel Briza
 
Jboss
JbossJboss
Jboss
Sridhar Rapala
 
IBM Websphere introduction and installation for beginners
IBM Websphere introduction and installation for beginnersIBM Websphere introduction and installation for beginners
IBM Websphere introduction and installation for beginners
Shubham Gupta
 
JEE Course - JEE Overview
JEE Course - JEE  OverviewJEE Course - JEE  Overview
JEE Course - JEE Overview
odedns
 
Javaee intro
Javaee introJavaee intro
Javaee intro
haris147
 
Notes On Software Development, Platform And Modernisation
Notes On Software Development, Platform And ModernisationNotes On Software Development, Platform And Modernisation
Notes On Software Development, Platform And Modernisation
Alan McSweeney
 
Summer training java
Summer training javaSummer training java
Summer training java
Arshit Rai
 
Summer training java
Summer training javaSummer training java
Summer training java
Arshit Rai
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
Archana Jha
 
J2 EEE SIDES
J2 EEE  SIDESJ2 EEE  SIDES
J2 EEE SIDES
bputhal
 
Websphere Application Server v7
Websphere Application Server v7Websphere Application Server v7
Websphere Application Server v7
Chris Sparshott
 
Java J2EE
Java J2EEJava J2EE
Java J2EE
Sandeep Rawat
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
suneel singh
 
J2EE day 1
J2EE day 1J2EE day 1
J2EE day 1
Biswabrata Banerjee
 
Sakeesoft
Sakeesoft Sakeesoft
Sakeesoft
Ravi Thakur
 
Best Advance Java Online Training - Naresh IT
Best Advance Java Online Training - Naresh ITBest Advance Java Online Training - Naresh IT
Best Advance Java Online Training - Naresh IT
Naresh IT
 
J2ee seminar
J2ee seminarJ2ee seminar
J2ee seminar
Sahil Kukreja
 
Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_ee
Yogesh Bindwal
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
Joel Briza
 
IBM Websphere introduction and installation for beginners
IBM Websphere introduction and installation for beginnersIBM Websphere introduction and installation for beginners
IBM Websphere introduction and installation for beginners
Shubham Gupta
 
JEE Course - JEE Overview
JEE Course - JEE  OverviewJEE Course - JEE  Overview
JEE Course - JEE Overview
odedns
 
Javaee intro
Javaee introJavaee intro
Javaee intro
haris147
 
Notes On Software Development, Platform And Modernisation
Notes On Software Development, Platform And ModernisationNotes On Software Development, Platform And Modernisation
Notes On Software Development, Platform And Modernisation
Alan McSweeney
 
Summer training java
Summer training javaSummer training java
Summer training java
Arshit Rai
 
Summer training java
Summer training javaSummer training java
Summer training java
Arshit Rai
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
Archana Jha
 
J2 EEE SIDES
J2 EEE  SIDESJ2 EEE  SIDES
J2 EEE SIDES
bputhal
 
Websphere Application Server v7
Websphere Application Server v7Websphere Application Server v7
Websphere Application Server v7
Chris Sparshott
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
suneel singh
 
Best Advance Java Online Training - Naresh IT
Best Advance Java Online Training - Naresh ITBest Advance Java Online Training - Naresh IT
Best Advance Java Online Training - Naresh IT
Naresh IT
 
Ad

More from Ranjan Kumar (20)

Fantastic life views ons
Fantastic life views  onsFantastic life views  ons
Fantastic life views ons
Ranjan Kumar
 
Lessons on Life
Lessons on LifeLessons on Life
Lessons on Life
Ranjan Kumar
 
Story does not End here
Story does not End hereStory does not End here
Story does not End here
Ranjan Kumar
 
Whata Split Second Looks Like
Whata Split Second Looks LikeWhata Split Second Looks Like
Whata Split Second Looks Like
Ranjan Kumar
 
Friendship so Sweet
Friendship so SweetFriendship so Sweet
Friendship so Sweet
Ranjan Kumar
 
Dedicate Time
Dedicate TimeDedicate Time
Dedicate Time
Ranjan Kumar
 
Paradise on Earth
Paradise on EarthParadise on Earth
Paradise on Earth
Ranjan Kumar
 
Bolivian Highway
Bolivian HighwayBolivian Highway
Bolivian Highway
Ranjan Kumar
 
Chinese Proverb
Chinese ProverbChinese Proverb
Chinese Proverb
Ranjan Kumar
 
Warren Buffet
Warren BuffetWarren Buffet
Warren Buffet
Ranjan Kumar
 
Dear Son Dear Daughter
Dear Son Dear DaughterDear Son Dear Daughter
Dear Son Dear Daughter
Ranjan Kumar
 
Blue Beauty
Blue BeautyBlue Beauty
Blue Beauty
Ranjan Kumar
 
Alaska Railway Routes
Alaska Railway RoutesAlaska Railway Routes
Alaska Railway Routes
Ranjan Kumar
 
Poison that Kills the Dreams
Poison that Kills the DreamsPoison that Kills the Dreams
Poison that Kills the Dreams
Ranjan Kumar
 
Horrible Jobs
Horrible JobsHorrible Jobs
Horrible Jobs
Ranjan Kumar
 
Best Aviation Photography
Best Aviation PhotographyBest Aviation Photography
Best Aviation Photography
Ranjan Kumar
 
Role of Attitude
Role of AttitudeRole of Attitude
Role of Attitude
Ranjan Kumar
 
45 Lesons in Life
45 Lesons in Life45 Lesons in Life
45 Lesons in Life
Ranjan Kumar
 
Easy Difficult
Easy DifficultEasy Difficult
Easy Difficult
Ranjan Kumar
 
Fantastic life views ons
Fantastic life views  onsFantastic life views  ons
Fantastic life views ons
Ranjan Kumar
 
Story does not End here
Story does not End hereStory does not End here
Story does not End here
Ranjan Kumar
 
Whata Split Second Looks Like
Whata Split Second Looks LikeWhata Split Second Looks Like
Whata Split Second Looks Like
Ranjan Kumar
 
Friendship so Sweet
Friendship so SweetFriendship so Sweet
Friendship so Sweet
Ranjan Kumar
 
Dear Son Dear Daughter
Dear Son Dear DaughterDear Son Dear Daughter
Dear Son Dear Daughter
Ranjan Kumar
 
Alaska Railway Routes
Alaska Railway RoutesAlaska Railway Routes
Alaska Railway Routes
Ranjan Kumar
 
Poison that Kills the Dreams
Poison that Kills the DreamsPoison that Kills the Dreams
Poison that Kills the Dreams
Ranjan Kumar
 
Best Aviation Photography
Best Aviation PhotographyBest Aviation Photography
Best Aviation Photography
Ranjan Kumar
 

Recently uploaded (20)

Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
APGAR SCORE BY sweety Tamanna Mahapatra MSc Pediatric
APGAR SCORE  BY sweety Tamanna Mahapatra MSc PediatricAPGAR SCORE  BY sweety Tamanna Mahapatra MSc Pediatric
APGAR SCORE BY sweety Tamanna Mahapatra MSc Pediatric
SweetytamannaMohapat
 
spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Association for Project Management
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptxTERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
PoojaSen20
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
E-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26ASE-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26AS
Abinash Palangdar
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
Myopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduateMyopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduate
Mohamed Rizk Khodair
 
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and GuestsLDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDM Mia eStudios
 
What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)
jemille6
 
Overview Well-Being and Creative Careers
Overview Well-Being and Creative CareersOverview Well-Being and Creative Careers
Overview Well-Being and Creative Careers
University of Amsterdam
 
All About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdfAll About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdf
TechSoup
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
APGAR SCORE BY sweety Tamanna Mahapatra MSc Pediatric
APGAR SCORE  BY sweety Tamanna Mahapatra MSc PediatricAPGAR SCORE  BY sweety Tamanna Mahapatra MSc Pediatric
APGAR SCORE BY sweety Tamanna Mahapatra MSc Pediatric
SweetytamannaMohapat
 
spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Association for Project Management
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptxTERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
PoojaSen20
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
E-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26ASE-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26AS
Abinash Palangdar
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
Myopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduateMyopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduate
Mohamed Rizk Khodair
 
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and GuestsLDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDM Mia eStudios
 
What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)
jemille6
 
Overview Well-Being and Creative Careers
Overview Well-Being and Creative CareersOverview Well-Being and Creative Careers
Overview Well-Being and Creative Careers
University of Amsterdam
 
All About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdfAll About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdf
TechSoup
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 

Introduction to java ee

  • 1. Ranjan Kumar CDAC Mumbai Java EE – An Introduction to Java Enterprise Edition
  • 2. Agenda What is Java EE? Why Java EE? Java EE Deliverables (what and why?) ‏ Basic Architecture Components and Containers Roles Lifecycle
  • 3. Overview A collection of enterprise technologies Provides a component based approach to the design, development, assembly and deployment of enterprise applications Enables solutions for developing, deploying and managing n-tier server-centric enterprise applications An open industry standard (initiative led by Sun Microsystems(now Oracle) ) ‏
  • 4. To provide a platform-independent, portable, multi-user, secure, and standard enterprise-class platform for server side deployments written in the Java Language Implement a standardized execution environment for distributed enterprise applications Mission
  • 5. The Java Platform Micro Edition (Java ME) ‏ Enterprise Edition (Java EE) Standard Edition (Java SE) ‏ Hand-held devices Desktop High-end Servers Workgroup Servers
  • 6. Java EE Bundle APIs and technology specification A collection / integration of various enterprise APIs Development and Deployment platform A unified platform for server-side development Reference Implementation Implements the Java EE specification & demonstrates its viability Compatibility tests Certifies a Java EE product, confirms application portability Java EE Blueprints Programming model, patterns, guidelines, best practices
  • 7. Why Java EE? Platform value for developers Can use any Java EE implementation for development and deployment Vast amount of Java EE community resources Can use off-the-shelf 3 rd party components
  • 8. Why Java EE? Platform value to vendors Vendors work together on specifications and then compete in implementations In the areas of Scalability, Performance, Reliability, and so on Freedom to innovate while maintaining the portability of applications
  • 9. Why Java EE? Platform value to Business customers Application portability Many implementation choices are possible based on various requirements Price (free to high-end), scalability (single CPU to clustered model), reliability, performance, tools & more Best of breed of applications and platforms Large developer pool
  • 10. Evolution of Distributed Transactional Computing Overview of technologies leading to distributed computing 1 tier, 2 tier, 3 tier, n tier architecture Application Servers Proprietary Open standard
  • 11. N-tier J2EE Architecture RMI-IIOP HTTP (JSP/Servlets) ‏ EJB Application Server Web Server Container
  • 12. Java EE Architecture – Tiers and Components View Client Tier Web Tier Business Tier Data Tier
  • 13. Java EE Server and Containers Client Database Application Client Container EJB Container Web Container Application Client Web Browser Enterprise Bean Enterprise Bean Servlet JSP Page Java EE Server
  • 14. Java EE Components The Java EE platform uses a multi-tiered distributed application model The Java EE application components parts comprise: Client-tier components (run on the client machine). Web-tier components (run on the Java EE server). Business-tier components (run on the Java EE server). Enterprise information system (EIS)-tier software (runs on the EIS server). Essentially considered to be three-tiered application , because of being distributed over client, J2EE server and the database.
  • 15. Java EE Components: Client Tier Client Web clients (web-browser, web pages, applets) ‏ Application client (application user interface built using Swing or AWT, or a command line interface) ‏ CORBA IIOP complaint clients
  • 16. Java EE Components: Web-tier Web components Servlets or JSP pages Java Beans (optional) ‏
  • 17. Java EE Components: Business tier Business Components Enterprise Beans handle the application logic Separates business process (session beans) and data component (entity beans) ‏ Applications requiring messaging facility use JMS
  • 18. Java EE Components: Data tier Application Database Server Any relational database (eg Oracle, MS SQL, etc) ‏ Enterprise Information System (EIS) ‏ Includes enterprise systems like ERP, mainframe transaction processing, database systems and other legacy information systems J2EE applications often rely on this tier to store the enterprise’s business critical data
  • 19. Container Services Security Transaction Management Naming and directory Remote connectivity Lifecycle management Persistence Concurrency Resource Pooling
  • 20. Container Types The deployment process installs Java EE application components in the Java EE containers EJB container Web container Application client container / Applet container The Java EE server provides EJB and Web containers and is the operating run-time environment
  • 21. Java EE Technologies Component Technology Applet, application clients, Enterprise beans, web components (JSP / Servlets) ‏ Service Technology JDBC, JNDI, JTS, Connector Architecture, Web Services etc Communication Technology RMI-IIOP Internet protocols (HTTP, SSL, TCP/IP) ‏ Messaging (JMS, Java Mail) ‏
  • 22. Java EE APIs (Bundled) ‏ Java SE Java SDK Java Standard APIs Java EE Enterprise JavaBeans (EJB) ‏ - Aritecture for building server-side components Java Remote Method Invocation (RMI) & RMI-IIOP - Method invocation across Java virtual machines. Can also integrate with other clients comfirming CORBA IIOP specification Java Naming and Directory Interface (JNDI) ‏ - Naming service for locating resources over the network Java Database Connectivity (JDBC) ‏ - Java interface to relational database Java Servlets & Java Server Pages (JSP) ‏ - Technology allowing dymanic web content generation Java Activation Framework (JAF) ‏ J2EE Connector Architecture
  • 23. Java EE APIs (Bundled) contd … Java Messaging Service (JMS) ‏ Enables asynchronous communication, including point-to-point and publish/subscribe messing Java IDL Java technology based CORBA ORB implementing a subset of CORBA specification Java Mail Mailing APIs Java API for XML Parsing (JAXP) ‏ XML parsing and manipulation. Used to describe EJB components, file scripts Java Transaction API (JTA) and Java Transaction Service (JTS) ‏ Used to manage transactions Java Authentication and Authorization Service (JAAS) ‏ Security services API Others (performance specific, not mandated by the specification) ‏ Load balancing, data caching, transparent fail over, etc
  • 24. Java EE Application Assembly and Deployment Applications are packaged into one or more standard units for deployment to any Java EE platform-compliant system Each unit contains - a functional component or components (enterprise bean, JSP page, servlet, applet, etc.), - a standard deployment descriptor that describes its content, - J2EE declarations which have been specified by the application developer and assembler. Once the unit is produced, is ready for deployment
  • 25. Deployment Descriptors (XML Files) ‏ EJB JSP Servlet HTML Deployment Tool J2EE Server Java EE Unit (war, jar or ear) ‏ Deploy
  • 26. Java EE Roles Java EE product provider One who designs and makes available the Java EE platform, APIs and other features defined in the Java EE specification Component Provider One who provides web components, enterprise beans, applets or application clients for use in J2EE applications. Application Assembler One who gets the components and assembles it into an application
  • 27. Java EE Roles (continued…) ‏ Application Deplorer and Administrator One who configures and deploys the J2EE application, administers and monitors the deployment Tool provider One who creates development, assembly and packaging tools used by component providers, assemblers and deplorers
  • 29. Java EE Application Anatomies 4-tier Java EE applications HTML client, JSP/Servlets, EJB, JDBC/Connector 3-tier Java EE applications HTML client, JSP/Servlets, JDBC 3-tier Java EE applications EJB standalone applications, EJB, JDBC/Connector B2B Enterprise applications Java EE platform to Java EE platform through the exchange of JMS or XML-based message
  • 30. References Java EE Tutorial, Sun Microsystems (now Oracle) Simplified guide to the Java EE Platform, Enterprise Edition, Sun Microsystems (now Oracle) Sun TechDays Conference 2000-2001 slides, Sun Microsystems Mastering Enterprise JavaBeans, 3 rd Edition By Ed Roman
  翻译: