SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Java EE 6 Overview

Roberto Chinnici
Senior Staff Engineer
Sun Microsystems, Inc.

                         1
Agenda
•   Goals
•   Features
•   Component JSRs
•   Schedule
•   Q&A




                     2
Goals for the Java EE 6 Platform
•   Easier to use
•   More flexible
•   Easier to learn
•   Easier to evolve going forward




                                     3
Profiles

Timeline                                                                         Java EE 6
                                                                                 EJB Lite
                                                                 Ease of
                                                                                 Restful WS
                                                               Development       Web Beans
                                                               Java EE 5         Extensibility
                                                  Web          Ease of
                                                 Services
                                                               Development
                                                J2EE 1.4       Annotations
                            `                  Web Services,   EJB 3.0
                                Robustness
                                               Management,     Persistence API
                                J2EE 1.3       Deployment,     New and
          Enterprise Java
             Platform              CMP,        Async.          Updated
                                 Connector     Connector       Web Services
            J2EE 1.2            Architecture
                                                                                 Java EE 6
           Servlet, JSP,                                                         Web Profile
 JPE        EJB, JMS
Project     RMI/IIOP


                                                                                                 4
Major New Features in Java EE 6
•   Profiles
•   Pruning
•   Extensibility
•   More ease of development




                                  5
Profiles
•   A profile is a targeted bundle of technologies
•   Rules set by the Java EE Platform spec
•   Profiles can be subsets, supersets, overlapping
•   Define immediately a Web Profile
•   JCP process for future profiles
•   Spec decoupling ongoing



                                                      6
Pruning
• Make some technologies optional
• Same rules as proposed by Java SE
  > “pruned now, optional in the next release”
• Pruned status will be marked out in the javadocs
• Current pruning list:
  > JAX-RPC, EJB Entity Beans, JAXR, JSR-88




                                                     7
Extensibility
• Level playing field
• Embrace open source libraries, frameworks
• No configuration needed for web frameworks
  > Discover servlet, servlet filters, listeners for a framework
• Useful to support scripting languages too




                                                                   8
Proposed Components (1)
Full JSRs
•   EJB 3.1 (JSR 318) PUBLIC REVIEW DONE
                       PUBLIC REVIEW ONGOING
•   JPA 2.0 (JSR 317)
                            PUBLIC REVIEW SOON
•   Servlet 3.0 (JSR 315)
•   JSF 2.0 (JSR 314) PUBLIC REVIEW ONGOING
•   JAX-RS 1.0 (JSR 311) COMPLETED
•   Connector Architecture 1.6 (JSR 322) PUBLIC REVIEW ONGOING
                                 PUBLIC REVIEW ONGOING
•   Web Beans 1.0 (JSR 299)
•   Bean Validation 1.0 (JSR 303) PUBLIC REVIEW SOON
                                                             9
Proposed Components (2)
Maintenance Releases
•   JAXB 2.2
•   JAX-WS 2.2
•   JAX-RS 1.1
•   EL 1.2
•   JSP 1.2
Others
• Authentication SPI (JSR 196)
• Concurrency Utilities for Java EE (JSR 236)
                                                10
Servlet 3.0 Highlights
• Annotations to define web components
  > @WebServlet @ServletFilter
• Greatly reduced editing of web.xml
• Modular web.xml using fragments
  > WEB-INF/lib/mylib.jar → META-INF/web-fragment.xml
• Merging of annotations, fragments and web.xml
• Programmatic API for dynamic registration of servlets



                                                          11
Servlet 3.0 Async Processing
• Use cases: Comet, chat rooms, long waits
• Opt-in system for servlets, filters
  > @WebServlet(asyncSupported=true)
• ServletRequest.startAsync(...) to enter async mode
• AsyncContext API to control async behavior
  > forward(String path)
  > start(Runnable action)
  > complete()



                                                       12
EJB 3.1 Highlights
• Singleton beans (@Singleton)
• No interface view (one source file per bean type)
• Calendar timers
  > @Schedule(dayOfWeek=“Mon”, hour=”3”, minute=”30”)
• Non-persistent timers
• Async business methods (@Asynchronous)
• Global JNDI name for a bean
  > java:global/(app)/(module)/(bean)#(interface)


                                                        13
EJB 3.1 Lite
• Simple, modern subset of EJB for use outside of the
  full platform
• Contents:
  >   Session beans (stateful, stateless, singletons)
  >   Transaction and security attributes
  >   Interceptors
  >   ejb-jar.xml
• Embeddable container API
• Bootstraps on Java SE
• Beans looked up by global name
                                                        14
Packaging
• EJB components can be packaged directly inside a
  web application archive (war file)
         Java EE 5                  Java EE 6
                  ShoppingCart      ShoppingCart
 BuyBooks.war
                  EJB Class          EJB Class


                 ShoppingCart.jar
                                    BuyBooks.war


          BuyBooks.ear
                                                     15
Removing Barriers
• Easy to use EJB components in web applications
• Web Beans 1.0
  > Bridges JSF and EJB component models
  > Unified EL resolver to look EJBs up from pages
  > “#{foo}” → @Stateless @Named(“foo”)
• Web Beans injection unified with @Resource
• Apply javax.interceptor to all components
• Uniform validation API across JSF, JPA, ...


                                                     16
Web Profile
• Much discussion inside the EG and outside
• Latest proposal: a fully functional mid-sized profile
• Accepted:
  > Servlet 3.0, JSP 2.1, JSR-45, EL 1.2, JSTL 1.2, JSF 2.0
  > EJB Lite 3.1, JTA 1.1, JPA 2.0, JSR-250
• Controversial:
  > JAX-RS 1.1, Web Beans 1.0




                                                              17
Schedule
•   Public review of all specs done by January
•   Proposed final draft in February
•   Final release May 2009
•   Implementation: GlassFish V3
    > Prelude available now
    > Modules updated continuously
    > Should be feature complete in March




                                                 18
Q&A




      19
Java EE 6 Overview

roberto.chinnici@sun.com



                           20

Weitere ähnliche Inhalte

Was ist angesagt?

GlassFish Server 3.1: Deploying your Java EE 6 Applications
GlassFish Server 3.1: Deploying your Java EE 6 ApplicationsGlassFish Server 3.1: Deploying your Java EE 6 Applications
GlassFish Server 3.1: Deploying your Java EE 6 Applications
Arun Gupta
 

Was ist angesagt? (20)

GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09
 
Glassfish An Introduction
Glassfish An IntroductionGlassfish An Introduction
Glassfish An Introduction
 
Karaf ee-apachecon eu-2012
Karaf ee-apachecon eu-2012Karaf ee-apachecon eu-2012
Karaf ee-apachecon eu-2012
 
OSGi & Java EE in GlassFish
OSGi & Java EE in GlassFishOSGi & Java EE in GlassFish
OSGi & Java EE in GlassFish
 
Ausoug glassfish perth
Ausoug glassfish perthAusoug glassfish perth
Ausoug glassfish perth
 
Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010
Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010
Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010
 
GlassFish v3, OSGi Equinox Felix
GlassFish v3, OSGi Equinox FelixGlassFish v3, OSGi Equinox Felix
GlassFish v3, OSGi Equinox Felix
 
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
 
Java 9 Modularity in Action
Java 9 Modularity in ActionJava 9 Modularity in Action
Java 9 Modularity in Action
 
Getting Started with Rails on GlassFish (Hands-on Lab) - Spark IT 2010
Getting Started with Rails on GlassFish (Hands-on Lab) - Spark IT 2010Getting Started with Rails on GlassFish (Hands-on Lab) - Spark IT 2010
Getting Started with Rails on GlassFish (Hands-on Lab) - Spark IT 2010
 
Running your Java EE applications in the Cloud
Running your Java EE applications in the CloudRunning your Java EE applications in the Cloud
Running your Java EE applications in the Cloud
 
Getting Started with Java EE 7
Getting Started with Java EE 7Getting Started with Java EE 7
Getting Started with Java EE 7
 
GlassFish Server 3.1: Deploying your Java EE 6 Applications
GlassFish Server 3.1: Deploying your Java EE 6 ApplicationsGlassFish Server 3.1: Deploying your Java EE 6 Applications
GlassFish Server 3.1: Deploying your Java EE 6 Applications
 
GlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and FutureGlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and Future
 
OSGi Presentation
OSGi PresentationOSGi Presentation
OSGi Presentation
 
Java 9 modularity
Java 9 modularityJava 9 modularity
Java 9 modularity
 
Polygot Java EE on the GraalVM
Polygot Java EE on the GraalVMPolygot Java EE on the GraalVM
Polygot Java EE on the GraalVM
 
Discuss about java 9 with latest features
Discuss about java 9 with latest featuresDiscuss about java 9 with latest features
Discuss about java 9 with latest features
 
OSGi-enabled Java EE Applications using GlassFish at JCertif 2011
OSGi-enabled Java EE Applications using GlassFish at JCertif 2011OSGi-enabled Java EE Applications using GlassFish at JCertif 2011
OSGi-enabled Java EE Applications using GlassFish at JCertif 2011
 
Glass Fishv3 March2010
Glass Fishv3 March2010Glass Fishv3 March2010
Glass Fishv3 March2010
 

Andere mochten auch

UNFPA End of project report -FINAL
UNFPA End of project report -FINALUNFPA End of project report -FINAL
UNFPA End of project report -FINAL
John Spangler
 
MPC Capability Brochure_V6_2016_Digital
MPC Capability Brochure_V6_2016_DigitalMPC Capability Brochure_V6_2016_Digital
MPC Capability Brochure_V6_2016_Digital
Dave Machin
 

Andere mochten auch (19)

JavaFX 1.0 SDK Aquarium Paris
JavaFX 1.0 SDK Aquarium ParisJavaFX 1.0 SDK Aquarium Paris
JavaFX 1.0 SDK Aquarium Paris
 
UNFPA End of project report -FINAL
UNFPA End of project report -FINALUNFPA End of project report -FINAL
UNFPA End of project report -FINAL
 
Aprendizaje autónomo rafael vargas tinoco
Aprendizaje  autónomo rafael vargas tinocoAprendizaje  autónomo rafael vargas tinoco
Aprendizaje autónomo rafael vargas tinoco
 
Yeni maryam
Yeni maryamYeni maryam
Yeni maryam
 
ISFET Plots
ISFET PlotsISFET Plots
ISFET Plots
 
Zakelijk Bloggen en Instagram marketing B2B
Zakelijk Bloggen en Instagram marketing B2BZakelijk Bloggen en Instagram marketing B2B
Zakelijk Bloggen en Instagram marketing B2B
 
писатели кузбасса участники вов
писатели кузбасса   участники вовписатели кузбасса   участники вов
писатели кузбасса участники вов
 
Security in the Age of Open Source
Security in the Age of Open SourceSecurity in the Age of Open Source
Security in the Age of Open Source
 
Social goes visual
Social goes visual Social goes visual
Social goes visual
 
Myths and Misperceptions of Open Source Security
Myths and Misperceptions of Open Source Security Myths and Misperceptions of Open Source Security
Myths and Misperceptions of Open Source Security
 
Performing an audit - Open source compliance seminar
Performing an audit - Open source compliance seminar Performing an audit - Open source compliance seminar
Performing an audit - Open source compliance seminar
 
Facebook vs instagram - Fellipe Guimarães - Instaby
Facebook vs instagram - Fellipe Guimarães - InstabyFacebook vs instagram - Fellipe Guimarães - Instaby
Facebook vs instagram - Fellipe Guimarães - Instaby
 
MPC Capability Brochure_V6_2016_Digital
MPC Capability Brochure_V6_2016_DigitalMPC Capability Brochure_V6_2016_Digital
MPC Capability Brochure_V6_2016_Digital
 
Pay Pal
Pay PalPay Pal
Pay Pal
 
Amazon by alex
Amazon by alexAmazon by alex
Amazon by alex
 
Nvidia
NvidiaNvidia
Nvidia
 
SpaceX
SpaceX  SpaceX
SpaceX
 
Disney Karl Marco
Disney Karl MarcoDisney Karl Marco
Disney Karl Marco
 
Snapchat Company Presentation
Snapchat Company PresentationSnapchat Company Presentation
Snapchat Company Presentation
 

Ähnlich wie Java EE 6 Aquarium Paris

Understanding the nuts & bolts of Java EE 6
Understanding the nuts & bolts of Java EE 6Understanding the nuts & bolts of Java EE 6
Understanding the nuts & bolts of Java EE 6
Arun Gupta
 
Java EE 6 Component Model Explained
Java EE 6 Component Model Explained Java EE 6 Component Model Explained
Java EE 6 Component Model Explained
Shreedhar Ganapathy
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011
Agora Group
 

Ähnlich wie Java EE 6 Aquarium Paris (20)

Java EE6 Overview
Java EE6 OverviewJava EE6 Overview
Java EE6 Overview
 
New Features of Java7 SE
New Features of Java7 SENew Features of Java7 SE
New Features of Java7 SE
 
Java E
Java EJava E
Java E
 
Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010
Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010
Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010
 
GlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for EclipseGlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for Eclipse
 
JavaEE 6 and GlassFish v3 at SFJUG
JavaEE 6 and GlassFish v3 at SFJUGJavaEE 6 and GlassFish v3 at SFJUG
JavaEE 6 and GlassFish v3 at SFJUG
 
Understanding the nuts & bolts of Java EE 6
Understanding the nuts & bolts of Java EE 6Understanding the nuts & bolts of Java EE 6
Understanding the nuts & bolts of Java EE 6
 
Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3
 
Java EE 6 Component Model Explained
Java EE 6 Component Model Explained Java EE 6 Component Model Explained
Java EE 6 Component Model Explained
 
Java EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolioJava EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolio
 
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
 
Java EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusJava EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexus
 
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 IndiaJava EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
 
Spark IT 2011 - Java EE 6 Workshop
Spark IT 2011 - Java EE 6 WorkshopSpark IT 2011 - Java EE 6 Workshop
Spark IT 2011 - Java EE 6 Workshop
 
Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overview
 
The Java Ee 6 Platform Normandy Jug
The Java Ee 6 Platform Normandy JugThe Java Ee 6 Platform Normandy Jug
The Java Ee 6 Platform Normandy Jug
 
Java EE 6 : Paving The Path For The Future
Java EE 6 : Paving The Path For The FutureJava EE 6 : Paving The Path For The Future
Java EE 6 : Paving The Path For The Future
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011
 
Java EE 6 & GlassFish v3 at Vancouver JUG, Jan 26, 2010
Java EE 6 & GlassFish v3 at Vancouver JUG, Jan 26, 2010Java EE 6 & GlassFish v3 at Vancouver JUG, Jan 26, 2010
Java EE 6 & GlassFish v3 at Vancouver JUG, Jan 26, 2010
 
Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011
 

Mehr von Alexis Moussine-Pouchkine

Mehr von Alexis Moussine-Pouchkine (20)

GlassFish Article September 07
GlassFish Article September 07GlassFish Article September 07
GlassFish Article September 07
 
GlassFish OSGi - Java2days 2010
GlassFish OSGi - Java2days 2010GlassFish OSGi - Java2days 2010
GlassFish OSGi - Java2days 2010
 
GlassFish Community and future larochelle
GlassFish Community and future larochelleGlassFish Community and future larochelle
GlassFish Community and future larochelle
 
Javaee glassfish jcertif2010
Javaee glassfish jcertif2010Javaee glassfish jcertif2010
Javaee glassfish jcertif2010
 
GlassFish Community - FISL 2010
GlassFish Community - FISL 2010GlassFish Community - FISL 2010
GlassFish Community - FISL 2010
 
GlassFish OSGi - From modular runtime to hybrid applications
GlassFish OSGi - From modular runtime to hybrid applicationsGlassFish OSGi - From modular runtime to hybrid applications
GlassFish OSGi - From modular runtime to hybrid applications
 
Feuille de route (roadmap) GlassFish
Feuille de route (roadmap) GlassFishFeuille de route (roadmap) GlassFish
Feuille de route (roadmap) GlassFish
 
Java EE 6 Solutions Linux 2010
Java EE 6 Solutions Linux 2010Java EE 6 Solutions Linux 2010
Java EE 6 Solutions Linux 2010
 
L'association GUSES
L'association GUSESL'association GUSES
L'association GUSES
 
Open Solaris 2009.06
Open Solaris 2009.06Open Solaris 2009.06
Open Solaris 2009.06
 
Metro Web Services
Metro Web ServicesMetro Web Services
Metro Web Services
 
Retour JavaOne 2009
Retour JavaOne 2009Retour JavaOne 2009
Retour JavaOne 2009
 
Zembly
ZemblyZembly
Zembly
 
Behind The Clouds
Behind The CloudsBehind The Clouds
Behind The Clouds
 
Retour d'expérience Cap Gemini GlassFish
Retour d'expérience Cap Gemini GlassFishRetour d'expérience Cap Gemini GlassFish
Retour d'expérience Cap Gemini GlassFish
 
OpenDS - Open Source Java LDAP server
OpenDS - Open Source Java LDAP serverOpenDS - Open Source Java LDAP server
OpenDS - Open Source Java LDAP server
 
Open MQ Jerome Moliere
Open MQ Jerome MoliereOpen MQ Jerome Moliere
Open MQ Jerome Moliere
 
OpenMQ François Ostyn
OpenMQ François OstynOpenMQ François Ostyn
OpenMQ François Ostyn
 
OpenSSO Microsoft Interop
OpenSSO Microsoft InteropOpenSSO Microsoft Interop
OpenSSO Microsoft Interop
 
MySQL HA Solutions
MySQL HA SolutionsMySQL HA Solutions
MySQL HA Solutions
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Java EE 6 Aquarium Paris

  • 1. Java EE 6 Overview Roberto Chinnici Senior Staff Engineer Sun Microsystems, Inc. 1
  • 2. Agenda • Goals • Features • Component JSRs • Schedule • Q&A 2
  • 3. Goals for the Java EE 6 Platform • Easier to use • More flexible • Easier to learn • Easier to evolve going forward 3
  • 4. Profiles Timeline Java EE 6 EJB Lite Ease of Restful WS Development Web Beans Java EE 5 Extensibility Web Ease of Services Development J2EE 1.4 Annotations ` Web Services, EJB 3.0 Robustness Management, Persistence API J2EE 1.3 Deployment, New and Enterprise Java Platform CMP, Async. Updated Connector Connector Web Services J2EE 1.2 Architecture Java EE 6 Servlet, JSP, Web Profile JPE EJB, JMS Project RMI/IIOP 4
  • 5. Major New Features in Java EE 6 • Profiles • Pruning • Extensibility • More ease of development 5
  • 6. Profiles • A profile is a targeted bundle of technologies • Rules set by the Java EE Platform spec • Profiles can be subsets, supersets, overlapping • Define immediately a Web Profile • JCP process for future profiles • Spec decoupling ongoing 6
  • 7. Pruning • Make some technologies optional • Same rules as proposed by Java SE > “pruned now, optional in the next release” • Pruned status will be marked out in the javadocs • Current pruning list: > JAX-RPC, EJB Entity Beans, JAXR, JSR-88 7
  • 8. Extensibility • Level playing field • Embrace open source libraries, frameworks • No configuration needed for web frameworks > Discover servlet, servlet filters, listeners for a framework • Useful to support scripting languages too 8
  • 9. Proposed Components (1) Full JSRs • EJB 3.1 (JSR 318) PUBLIC REVIEW DONE PUBLIC REVIEW ONGOING • JPA 2.0 (JSR 317) PUBLIC REVIEW SOON • Servlet 3.0 (JSR 315) • JSF 2.0 (JSR 314) PUBLIC REVIEW ONGOING • JAX-RS 1.0 (JSR 311) COMPLETED • Connector Architecture 1.6 (JSR 322) PUBLIC REVIEW ONGOING PUBLIC REVIEW ONGOING • Web Beans 1.0 (JSR 299) • Bean Validation 1.0 (JSR 303) PUBLIC REVIEW SOON 9
  • 10. Proposed Components (2) Maintenance Releases • JAXB 2.2 • JAX-WS 2.2 • JAX-RS 1.1 • EL 1.2 • JSP 1.2 Others • Authentication SPI (JSR 196) • Concurrency Utilities for Java EE (JSR 236) 10
  • 11. Servlet 3.0 Highlights • Annotations to define web components > @WebServlet @ServletFilter • Greatly reduced editing of web.xml • Modular web.xml using fragments > WEB-INF/lib/mylib.jar → META-INF/web-fragment.xml • Merging of annotations, fragments and web.xml • Programmatic API for dynamic registration of servlets 11
  • 12. Servlet 3.0 Async Processing • Use cases: Comet, chat rooms, long waits • Opt-in system for servlets, filters > @WebServlet(asyncSupported=true) • ServletRequest.startAsync(...) to enter async mode • AsyncContext API to control async behavior > forward(String path) > start(Runnable action) > complete() 12
  • 13. EJB 3.1 Highlights • Singleton beans (@Singleton) • No interface view (one source file per bean type) • Calendar timers > @Schedule(dayOfWeek=“Mon”, hour=”3”, minute=”30”) • Non-persistent timers • Async business methods (@Asynchronous) • Global JNDI name for a bean > java:global/(app)/(module)/(bean)#(interface) 13
  • 14. EJB 3.1 Lite • Simple, modern subset of EJB for use outside of the full platform • Contents: > Session beans (stateful, stateless, singletons) > Transaction and security attributes > Interceptors > ejb-jar.xml • Embeddable container API • Bootstraps on Java SE • Beans looked up by global name 14
  • 15. Packaging • EJB components can be packaged directly inside a web application archive (war file) Java EE 5 Java EE 6 ShoppingCart ShoppingCart BuyBooks.war EJB Class EJB Class ShoppingCart.jar BuyBooks.war BuyBooks.ear 15
  • 16. Removing Barriers • Easy to use EJB components in web applications • Web Beans 1.0 > Bridges JSF and EJB component models > Unified EL resolver to look EJBs up from pages > “#{foo}” → @Stateless @Named(“foo”) • Web Beans injection unified with @Resource • Apply javax.interceptor to all components • Uniform validation API across JSF, JPA, ... 16
  • 17. Web Profile • Much discussion inside the EG and outside • Latest proposal: a fully functional mid-sized profile • Accepted: > Servlet 3.0, JSP 2.1, JSR-45, EL 1.2, JSTL 1.2, JSF 2.0 > EJB Lite 3.1, JTA 1.1, JPA 2.0, JSR-250 • Controversial: > JAX-RS 1.1, Web Beans 1.0 17
  • 18. Schedule • Public review of all specs done by January • Proposed final draft in February • Final release May 2009 • Implementation: GlassFish V3 > Prelude available now > Modules updated continuously > Should be feature complete in March 18
  • 19. Q&A 19
  • 20. Java EE 6 Overview roberto.chinnici@sun.com 20