SlideShare a Scribd company logo
Java EE 5 TM Introduction
Goals Become familiar with the Java EE Architecture Understand the purpose of Java SE, Java ME, and Java EE Understand the purpose of each Java EE Container Understand the purpose of each Java EE API Understand the difference between an API and Provider Understand there are significant variations in Java EE architectures
Java Technology Levels Java Platform, Standard Edition Java SE (J2SE) core language Java Platform, Micro Edition Java ME (J2ME) targeted at small devices PDAs cell phones Java Platform, Enterprise Edition Java EE (J2EE) targeted at enterprise deployments persistence distributed systems web-based applications transactions security Note: Java Technology has gone through a recent name change. J2SE 5.0 stayed J2SE 5.0 J2SE 6.0 is called Java SE 6 J2EE 5.0 became Java EE 5 J2ME will become Java ME
Java EE Architecture
Java EE Architecture Does not imply physical partitioning into machines, processes, etc. No “all or nothing” requirement use what you need
Containers Provide Java EE runtime environments with J2SE v5.0 Provide required services to application components example services: JMS, JTA application components: Applets, Java applications, Servlets/JSPs, and EJBs Understand application component deployment formats Interposes between application components to transparently inject services required transactions, security checks, resource pooling Synonymous with application server from the application developer point of view
Application Components Application Client Java programs that execute outside of the EJB, Web, and Applet Containers Typically GUI-based Applets GUI components typically execute in Web browser Web Applications accessed through HTTP primarily generate HTML and XML output Servlets, JSPs, JSF, etc. Enterprise Java Beans (EJB)  execute in managed environment that include transactions typically provide business logic for Java EE application
Resource Adapters System-level software component Extends functionality of Container Provides connectivity with external resource managers or native language components Implement existing (e.g., JDBC, JMS) or alternate APIs Plugin into Java EE environment to provide system-level support for Resource Pooling Transactions Security
Standard Services Communications Services HTTP J2SE java.net package defines client-side API Java EE defines server-side API defined within servlet, JSP, JSF, and Web service interfaces HTTPS use of HTTP over SSL for transport level security Java Message Service (JMS) API for messaging support for publish-subscribe and point-to-point
CORBA Support Services RMI-IIOP APIs (javax.rmi) to allow RMI-style programming independent of underlying protocol J2SE native RMI Protocol (JRMP) CORBA IIOP protocol Permit Java EE application components to access CORBA services compatible with RMI programming restrictions Permit CORBA clients to access EJB components Using dependency injection versus JNDI lookup eliminates the need for applications to use most of API Java IDL Permit Java EE application components to invoke CORBA services, independent of the RMI API
Coordination Services Java Naming and Directory Interface (JNDI) API for naming and directory access Java Transaction API (JTA) application-level API to demarcate transaction boundaries provider-level API between transaction and resource managers
Persistence Services Java Database Connectivity (JDBC) API API for connectivity with relational databases Java Persistence API API for managing persistence and object/relational mapping Required in Java EE Can be used in J2SE environments (is part of Java SE 6)
XML and Web Service Services Java API for XML Processing (JAXP) integrated API support for separate  SAX, DOM, and StAX (Streaming API for XML) XML parsing APIs XSLT transform engines Java API for XML-based RPC (JAX-RPC) legacy API for Web services Java API for XML Web Services (JAX-WS) follow-on to JAX-RPC primary API for Web services includes SOAP and RESTful Web service bindings uses Java Architecture for XML Binding (JAXB) to define Java to XML bindings uses SOAP w/ Attachments API for Java (SAAJ) to manipulate low level SOAP msgs Web Services Metadata defines Java language annotations for developing Web services Java API for XML Registries (JAXR)  API for client access to XML registry servers
Security Services Java Authentication and Authorization Service (JAAS) enables services to authenticate and enforce access controls Java implementation of standard Plugable Authentication Module (PAM) Java Authorization Service Provider Contract for Containers (JACC) defines contract between Java EE application server and authorization service provider
System Services Java EE Connector Architecture (was J2CA) provider-level interface for Resource Adapters to integrate Enterprise Information Systems into Java EE servers. connection management resource pooling transaction management integrate transactions across multiple resource managers import transaction contexts into server security access thread management allows resource adapter to allocate server threads for work message delivery integrate any messaging provider; not just JMS optional, generic API between application program and resource adapter
Management/Deployment Services Management Defines API for managing Java EE servers Uses Java Management Extensions (JMX) API Deployment Defines API between deployment tools and Java EE products
Other Services JavaMail  API and service provider for sending e-mail notifications JavaBeans Activation Framework (JAF) API for handling MIME types
Java EE 5 APIs and Versions J2SE v5.0 JDBC, JNDI, RMI Java Persistence 1.0 Common Annotations 1.0 EJB3.0 JMS 1.1 JTA 1.1 Servlet 2.5 JSP 2.1 StAX 1.0 Web Services 1.2 Web Services Metadata 2.0 JAX-WS 2.0 JAX-RPC 1.1 SAAJ 1.3 JAXR 1.0 JSTL 1.2 JSF 1.2 JSP Debugging 1.0 Java EE Management 1.1 Java EE Deployment 1.2 JACC 1.1 Connector 1.5 JavaMail 1.4 JAF 1.1
Java EE Product Extensions Java EE products may supply implementations, in any form, for supplied Java EE APIs different QOS, sizing, scaling, performance, cost, etc. Java EE products may provide additional APIs and protocols as extensions Java EE products may not add classes to Java API packages or change any properties of an existing Java API classes. Application use of product extensions is non-portable across Java EE products
Java EE Roles Java EE Product Provider vendor (e.g., Sun, JBoss, BEA, IBM)  Application Component Provider Java, HTML, etc. developer Application Assembler integrates components into an application Deployer integrates application with resources of the runtime System Administrator monitors and tunes application after deployment Tool Provider ex. Maven Cargo plugin System Component Provider ex. external JMS provider
Java EE Release Highlights J2EE 1.3 Connector API EJB (2.x) local interfaces and new CMP model J2EE 1.4 “ Web services” Management, Deployment, JAAS Java EE 5 “ Ease of Development” Annotations Dependency Injection Better defaults Java Persistance API, StAX, JAX-WS Java EE 6 Profiles; making some components optional More “Ease of Development”
Summary
References Java TM  Platform, Enterprise Edition 5 (Java EE 5) Specification (http://jcp.org/en/jsr/detail?id=244)

More Related Content

What's hot (20)

PDF
Java EE7 Demystified
Ankara JUG
 
PPTX
IBM Websphere introduction and installation for beginners
Shubham Gupta
 
PPT
Java J2EE
Sandeep Rawat
 
PPT
ibm websphere admin training | websphere admin course | ibm websphere adminis...
Nancy Thomas
 
PPT
J2ee
Prince Soni
 
ODP
Java Web Programming [1/9] : Introduction to Web Application
IMC Institute
 
DOCX
J2EE and layered architecture
Suman Behara
 
PPT
Webapplication ppt prepared by krishna ballabh gupta
Shivalik college of engineering
 
PDF
Ibm web sphere_job_interview_preparation_guide
Khemnath Chauhan
 
PPTX
Spring
Suman Behara
 
PPT
Java EE Introduction
ejlp12
 
PPTX
WebSphere Application Server Family (Editions Comparison)
ejlp12
 
DOCX
Ibm web sphere application server interview questions
praveen_guda
 
PPTX
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
Lucas Jellema
 
DOC
Websphere interview Questions
gummadi1
 
DOCX
IBM Websphere concepts
Kuldeep Saxena
 
PDF
Web Technologies in Java EE 7
Lukáš Fryč
 
PPT
Lecture 19 dynamic web - java - part 1
Д. Ганаа
 
PPTX
Five Cool Use Cases for the Spring Component of the SOA Suite 11g
Guido Schmutz
 
Java EE7 Demystified
Ankara JUG
 
IBM Websphere introduction and installation for beginners
Shubham Gupta
 
Java J2EE
Sandeep Rawat
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
Nancy Thomas
 
Java Web Programming [1/9] : Introduction to Web Application
IMC Institute
 
J2EE and layered architecture
Suman Behara
 
Webapplication ppt prepared by krishna ballabh gupta
Shivalik college of engineering
 
Ibm web sphere_job_interview_preparation_guide
Khemnath Chauhan
 
Spring
Suman Behara
 
Java EE Introduction
ejlp12
 
WebSphere Application Server Family (Editions Comparison)
ejlp12
 
Ibm web sphere application server interview questions
praveen_guda
 
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
Lucas Jellema
 
Websphere interview Questions
gummadi1
 
IBM Websphere concepts
Kuldeep Saxena
 
Web Technologies in Java EE 7
Lukáš Fryč
 
Lecture 19 dynamic web - java - part 1
Д. Ганаа
 
Five Cool Use Cases for the Spring Component of the SOA Suite 11g
Guido Schmutz
 

Similar to Javaee intro (20)

PPT
Introduction to java_ee
Yogesh Bindwal
 
PDF
Enterprise java unit-1_chapter-1
sandeep54552
 
PPT
J2 EEE SIDES
bputhal
 
PDF
J2EE day 1
Biswabrata Banerjee
 
PDF
Technologies Skills
S LMS
 
PDF
Technologies Skills
Deepak Raj
 
PDF
Summer training java
Arshit Rai
 
PPTX
Web programming and development - Introduction
Joel Briza
 
PPTX
J2ee seminar
Sahil Kukreja
 
PPTX
Java EE - Finest basics
Edward Ndukui
 
PPTX
Java programming(unit 1)
Dr. SURBHI SAROHA
 
PDF
JEE 8, A Big Overview
Jasmine Conseil
 
PPTX
Enterprice java
GowriLatha1
 
PDF
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
SSA KPI
 
PPT
Summer training java
Arshit Rai
 
PPT
J2ee 2000
eaiti
 
PDF
Java Interview Questions Answers Guide Section 2
DaisyWatson5
 
DOC
Websphereinterview 100725022705-phpapp02
kishore2526
 
PDF
Enterprise Java, Servlet, JDBC and JSP.pdf
PokemonSpyk
 
PPTX
Developing Enterprise Applications Using Java Technology
Simon Ritter
 
Introduction to java_ee
Yogesh Bindwal
 
Enterprise java unit-1_chapter-1
sandeep54552
 
J2 EEE SIDES
bputhal
 
Technologies Skills
S LMS
 
Technologies Skills
Deepak Raj
 
Summer training java
Arshit Rai
 
Web programming and development - Introduction
Joel Briza
 
J2ee seminar
Sahil Kukreja
 
Java EE - Finest basics
Edward Ndukui
 
Java programming(unit 1)
Dr. SURBHI SAROHA
 
JEE 8, A Big Overview
Jasmine Conseil
 
Enterprice java
GowriLatha1
 
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
SSA KPI
 
Summer training java
Arshit Rai
 
J2ee 2000
eaiti
 
Java Interview Questions Answers Guide Section 2
DaisyWatson5
 
Websphereinterview 100725022705-phpapp02
kishore2526
 
Enterprise Java, Servlet, JDBC and JSP.pdf
PokemonSpyk
 
Developing Enterprise Applications Using Java Technology
Simon Ritter
 
Ad

Recently uploaded (20)

PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PDF
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Dimensions of Societal Planning in Commonism
StefanMz
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Ad

Javaee intro

  • 1. Java EE 5 TM Introduction
  • 2. Goals Become familiar with the Java EE Architecture Understand the purpose of Java SE, Java ME, and Java EE Understand the purpose of each Java EE Container Understand the purpose of each Java EE API Understand the difference between an API and Provider Understand there are significant variations in Java EE architectures
  • 3. Java Technology Levels Java Platform, Standard Edition Java SE (J2SE) core language Java Platform, Micro Edition Java ME (J2ME) targeted at small devices PDAs cell phones Java Platform, Enterprise Edition Java EE (J2EE) targeted at enterprise deployments persistence distributed systems web-based applications transactions security Note: Java Technology has gone through a recent name change. J2SE 5.0 stayed J2SE 5.0 J2SE 6.0 is called Java SE 6 J2EE 5.0 became Java EE 5 J2ME will become Java ME
  • 5. Java EE Architecture Does not imply physical partitioning into machines, processes, etc. No “all or nothing” requirement use what you need
  • 6. Containers Provide Java EE runtime environments with J2SE v5.0 Provide required services to application components example services: JMS, JTA application components: Applets, Java applications, Servlets/JSPs, and EJBs Understand application component deployment formats Interposes between application components to transparently inject services required transactions, security checks, resource pooling Synonymous with application server from the application developer point of view
  • 7. Application Components Application Client Java programs that execute outside of the EJB, Web, and Applet Containers Typically GUI-based Applets GUI components typically execute in Web browser Web Applications accessed through HTTP primarily generate HTML and XML output Servlets, JSPs, JSF, etc. Enterprise Java Beans (EJB) execute in managed environment that include transactions typically provide business logic for Java EE application
  • 8. Resource Adapters System-level software component Extends functionality of Container Provides connectivity with external resource managers or native language components Implement existing (e.g., JDBC, JMS) or alternate APIs Plugin into Java EE environment to provide system-level support for Resource Pooling Transactions Security
  • 9. Standard Services Communications Services HTTP J2SE java.net package defines client-side API Java EE defines server-side API defined within servlet, JSP, JSF, and Web service interfaces HTTPS use of HTTP over SSL for transport level security Java Message Service (JMS) API for messaging support for publish-subscribe and point-to-point
  • 10. CORBA Support Services RMI-IIOP APIs (javax.rmi) to allow RMI-style programming independent of underlying protocol J2SE native RMI Protocol (JRMP) CORBA IIOP protocol Permit Java EE application components to access CORBA services compatible with RMI programming restrictions Permit CORBA clients to access EJB components Using dependency injection versus JNDI lookup eliminates the need for applications to use most of API Java IDL Permit Java EE application components to invoke CORBA services, independent of the RMI API
  • 11. Coordination Services Java Naming and Directory Interface (JNDI) API for naming and directory access Java Transaction API (JTA) application-level API to demarcate transaction boundaries provider-level API between transaction and resource managers
  • 12. Persistence Services Java Database Connectivity (JDBC) API API for connectivity with relational databases Java Persistence API API for managing persistence and object/relational mapping Required in Java EE Can be used in J2SE environments (is part of Java SE 6)
  • 13. XML and Web Service Services Java API for XML Processing (JAXP) integrated API support for separate SAX, DOM, and StAX (Streaming API for XML) XML parsing APIs XSLT transform engines Java API for XML-based RPC (JAX-RPC) legacy API for Web services Java API for XML Web Services (JAX-WS) follow-on to JAX-RPC primary API for Web services includes SOAP and RESTful Web service bindings uses Java Architecture for XML Binding (JAXB) to define Java to XML bindings uses SOAP w/ Attachments API for Java (SAAJ) to manipulate low level SOAP msgs Web Services Metadata defines Java language annotations for developing Web services Java API for XML Registries (JAXR) API for client access to XML registry servers
  • 14. Security Services Java Authentication and Authorization Service (JAAS) enables services to authenticate and enforce access controls Java implementation of standard Plugable Authentication Module (PAM) Java Authorization Service Provider Contract for Containers (JACC) defines contract between Java EE application server and authorization service provider
  • 15. System Services Java EE Connector Architecture (was J2CA) provider-level interface for Resource Adapters to integrate Enterprise Information Systems into Java EE servers. connection management resource pooling transaction management integrate transactions across multiple resource managers import transaction contexts into server security access thread management allows resource adapter to allocate server threads for work message delivery integrate any messaging provider; not just JMS optional, generic API between application program and resource adapter
  • 16. Management/Deployment Services Management Defines API for managing Java EE servers Uses Java Management Extensions (JMX) API Deployment Defines API between deployment tools and Java EE products
  • 17. Other Services JavaMail API and service provider for sending e-mail notifications JavaBeans Activation Framework (JAF) API for handling MIME types
  • 18. Java EE 5 APIs and Versions J2SE v5.0 JDBC, JNDI, RMI Java Persistence 1.0 Common Annotations 1.0 EJB3.0 JMS 1.1 JTA 1.1 Servlet 2.5 JSP 2.1 StAX 1.0 Web Services 1.2 Web Services Metadata 2.0 JAX-WS 2.0 JAX-RPC 1.1 SAAJ 1.3 JAXR 1.0 JSTL 1.2 JSF 1.2 JSP Debugging 1.0 Java EE Management 1.1 Java EE Deployment 1.2 JACC 1.1 Connector 1.5 JavaMail 1.4 JAF 1.1
  • 19. Java EE Product Extensions Java EE products may supply implementations, in any form, for supplied Java EE APIs different QOS, sizing, scaling, performance, cost, etc. Java EE products may provide additional APIs and protocols as extensions Java EE products may not add classes to Java API packages or change any properties of an existing Java API classes. Application use of product extensions is non-portable across Java EE products
  • 20. Java EE Roles Java EE Product Provider vendor (e.g., Sun, JBoss, BEA, IBM) Application Component Provider Java, HTML, etc. developer Application Assembler integrates components into an application Deployer integrates application with resources of the runtime System Administrator monitors and tunes application after deployment Tool Provider ex. Maven Cargo plugin System Component Provider ex. external JMS provider
  • 21. Java EE Release Highlights J2EE 1.3 Connector API EJB (2.x) local interfaces and new CMP model J2EE 1.4 “ Web services” Management, Deployment, JAAS Java EE 5 “ Ease of Development” Annotations Dependency Injection Better defaults Java Persistance API, StAX, JAX-WS Java EE 6 Profiles; making some components optional More “Ease of Development”
  • 23. References Java TM Platform, Enterprise Edition 5 (Java EE 5) Specification (http://jcp.org/en/jsr/detail?id=244)