SlideShare una empresa de Scribd logo
1 de 35
Descargar para leer sin conexión
Java EE 6 - Update

Harpreet Singh –
GlassFish Portfolio Product Manager



  Sun Microsystems

                                      1
The Elephant
     In The Room




                   2
Here's what I can ...



Show             Say
                        3
Business As Usual




                    4
Business As Usual
       =
Participate in an active community
                 +
      Create a Great Product
                 +
       Kick Competitive Butt
                                     5
Any Questions?




                 6
Business @ Hand
Java EE 6 Update

                  7
Java EE: Past & Present
                                                                               Right Sizing
                                                               Ease of
                                                             Development       Java EE 6
                                                                               EJB Lite
                                              Web            Java EE 5         Restful WS
                                             Services        Ease of
                                                                               Web Beans
                                                             Development
                                                                               Extensibility
                                              J2EE 1.4       Annotations
                            Robustness       Web Services,   EJB 3.0
          Enterprise Java                    Management,     Persistence API
             Platform        J2EE 1.3        Deployment,     New and
                                 CMP,
                                             Async.          Updated
                               Connector
                                             Connector       Web Services      Java EE 6
            J2EE 1.2          Architecture

            Servlet, JSP,                                                      Web Profile
 JPE         EJB, JMS
Project      RMI/IIOP

                                                                                               8
Java EE Adoption
Over 18M Downloads since FY'06



    Active Users
                                             Y/Y Download Growth


                                 12000000




                                 10000000




                                  8000000


                                                                             Add.
                                  6000000                                    Forcast
                                                                             YTD

                                  4000000




                                  2000000




                                       0
                                            FY 06   FY 07    FY 08   FY 09

                                                                                       9
Compatible Java EE 5 Implementations




                                       10
Goals for the Java EE 6 Platform
• “Right Sizing”
     ●
         Flexible, lighter weight
• Extensible
     ●   Embrace Open Source Frameworks
• Easier to use, develop on
     ●
         Continue on path set by Java EE 5




                                             11
Right Sizing the Platform: Profiles
• Make platform flexible
   > Decouple specifications to allow more
     combinations
   > Expands potential licensee ecosystem
   > Profiles
      ● Targeted technology bundles

      ● Defined through the JCP

      ● First profile: Web Profile

         – Defined   by the Java EE 6 Expert Group


                                                     12
Web Profile
• Fully functional mid-sized profile
   > Actively discussed in Java EE Expert Group and
      outside it
    > Technologies*
       ● Servlet 3.0, EJB Lite 3.1, JPA 2.0, JSP 2.2, EL 1.2, JSTL 1.2,

         JSF 2.0, JTA 1.1, JSR-45, JSR-250




*Final set of technologies will be determined by the platform EG



                                                                          13
Right Sizing the Platform: Pruning
• Make platform lighter
   > Makes some technologies optional
   > Pruned today, means
      ● Optional in the next release

      ● Deleted in the subsequent release


   > Pruned Technologies will be marked in the javadocs
   > Current pruning list
      ● JAX-RPC, EJB 2.X Entity Beans, JAXR, JSR-88




                                                          14
Extensibility
• Embrace open source libraries and frameworks
• Zero-configuration, drag-and-drop for web
frameworks
  > Servlets, servlet filters, context listeners for a framework
  get discovered and registered automatically
• Plugin library jars using web fragments




                                                                   15
Ease of Development
• Continue advancements of Java EE 5
• Primary focus: Web Tier
• Multiple Areas easier to use: EJB 3.1
• General principles
  > Annotation-based programming model
  > Reduce or eliminate need for deployment descriptors
  > Traditional API for advanced users




                                                          16
Ease of Development: Adding an EJB
to a Web Application
        Java EE 5                  Java EE 6
                 ShoppingCart
BuyBooks.war                         BuyBooks.war
                  EJB Class


                ShoppingCart.jar
                                     ShoppingCart
                                       EJB Class

         BuyBooks.ear


                                                    17
EoD Example - Annotations
Servlet in Java EE 5: Create two source files
<!--Deployment descriptor
  web.xml -->                    /* Code in Java Class */
 <web-app>
    <servlet>                    package com.foo;
       <servlet-                 public class MyServlet
          name>MyServlet         extends HttpServlet {
        </servlet-name>          public void
         <servlet-class>         doGet(HttpServletRequest
           com.foo.MyServlet     req,HttpServletResponse res)
         </servlet-class>
     </servlet>                  {
     <servlet-mapping>
         <servlet-               ...
name>MyServlet                   }
         </servlet-name>
         <url-pattern>/myApp/*
         </url-pattern>
     </servlet-mapping>          ...
     ...
 </web-app>                      }
                                                                18
EoD Example - Annotations
Servlet in Java EE 6: In many cases a single source file
package com.foo;
@WebServlet(name=”MyServlet”, urlPattern=”/myApp/*”)
public class MyServlet {
   public void doGet(HttpServletRequest req,
             HttpServletResponse res)
   {
      ...
   }




                                                           19
Java EE 6 Status
•Public reviews completed
•Majority of the specs are in Proposed Final Draft
•Preview release available for JavaOne
   > Reference Implementation is GlassFish V3
   > Regular RI source drops started
•Final release in Q3
   > Targeted for September
• Making the process more open

                                                     20
Java EE JSR Status
•   EJB 3.1 PFD           • Connectors 1.6PFD
•   JPA 2.0PFD            • JCDI 1.0PFD June
•   Servlet 3.0 PFD
                          • Bean ValidationPFD
•   JSF 2.0FD Submitted
•   Java EE 6.0PFD June
    > Platform
    > Managed Beans
    > Web Profile


                                                 21
Java EE JSR Status Continued
  •   JACC 1.3 MR Final
  •   JASPIC 1.1 MR Final
  •   JSR 250 1.1 MR Soon
                 MR Final
  •   JAXB 2.2
                      MR Final
  •   JAX-RS 1.1
  •   JAX-WS 2.2 MR Final
  •   EL 2.2 MR Final
                MR Final
  •   JSP 2.2

                                 22
Servlet 3.0
•   Use of annotations for greater ease of development
•   Optional web.xml
•   Better defaults
•   Enable web framework pluggability
•   Support for asynchronous processing
•   Alignments with JSF 2.0 and JAX-RS 1.0




                                                         23
Servlet 3.0
• Annotation-based programming model
  > @WebServlet @WebFilter etc.
• Modular web.xml descriptor:
  > WEB-INF/lib/mylibrary.jar ->
                          Meta_INF/web-fragment.xml
• Annotations and web fragments are merged
• Programmatic API for dynamic registration of servlets




                                                          24
Servlet 3.0 Async API
• Useful for Comet, chat rooms, long waits
• Must declare @WebServlet(asyncSupported=true)
• Then call
     AsyncContext ctx = ServletRequest.startAsync(req,res);
• AsyncContext can then either:
     dispatch(String path)
     start(Runnable action)
• AsyncContext.start(Runnable) must be paired with:
     complete()

                                                              25
EJB 3.1
Ease-of-use improvements
• No-interface view
  > One source file per bean
• Allow EJB component classes inside a web app
  > No ejb-jar
  > Use WEB-INF/classes
  > Shared component environment




                                                 26
EJB 3.1
• Singleton beans: @Singleton
  > Shared state
  > One instance per bean per server JVM
  > Support for container-managed concurrency and
    bean-managed concurrency
     @ConcurrencyManagement
• Light-weight asynchronicity
  > Async business methods @Asynchronous
  > Methods must return void or Future<T>



                                                    27
EJB 3.1
• EJB Timer Service enhancements
  > Cron-like scheduling
  > Initialization-time timer creation
          @Schedule(dayOfWeek=”Mon,Wed”)
• Embeddable EJB container
  > Provides use in Java SE environments
  > Bootstrapping API
          EJBContainer




                                           28
EJB 3.1 Lite
Proper, portable subset of EJB 3.1
• Session beans (stateless, stateful, singletons)
    > Local, no-interface views
•   Transactions
•   Security
•   Interceptors
•   ejb-jar.xml or annotations
•   Embeddable container API: EJBContainer
•   OK to bootstrap on Java SE
                                                    29
Web Beans 1.0
• Adds contextual services to the platform
• Unifies JSF managed beans and EJB components
• Dependency injection framework
  > @LoggedIn User user;
• Binding type to select among alternatives
• Built-in scope management (request, session,
  conversation, application scopes)
• Deployment types to select families of beans (e.g.
  mock)
• Programmatic API: Manager, Bean, Context
                                                       30
Removing Barriers
• EJB components can be placed in web applications
  > No need to wrap them in an EJB jar archive
• Web Beans has a unified EL resolver
  > Place @Named(“foo”) on a bean to give it a name
  > Use “#{foo}” to refer to it from JSR
• Unify @Resource-style injection with Web Beans
• Apply javax.interceptor more widely



                                                      31
Java Persistence API 2.0
•   Expanded object/relational mapping functionality
•   Additions to the Java Persistence query language
•   Metamodel API
•   Type-safe Criteria API
•   Pessimistic locking
•   Standardized caching configuration
•   Support for automatic validation


                                                       32
JSF 2.0
•   Easier to develop components
•   Better leverage annotations
•   Declarative renderers
•   View description language (similar to Facelets,
    JSFTemplating, Tiles)
•   Intuitive Ajax for JSF
•   Additions to the render kit: calendar, tree, tab view,
    etc.
•   Streamlined rendering process via caching
•   Scripting                                                33
Summary
•Right Sizing           •More Information
                          > Java EE Hub
   > Profiles                  ●
                                   http://java.sun.com/javaee
   > Pruning              > Java EE SDK Downloads
                                   http://java.sun.com/javaee/downloads
•Extensible
                               ●




                          > JCP
•Ease of use and          > http://jcp.org/en/jsr/detail?id=316

development
 • RI and source code
   available today


                                                                          34
GLASSFISH
Q&A

            35

Más contenido relacionado

La actualidad más candente

Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overviewsbobde
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011Arun Gupta
 
Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3Arun Gupta
 
Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010Codecamp Romania
 
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010Arun Gupta
 
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010Arun Gupta
 
Overview of Java EE 6 by Roberto Chinnici at SFJUG
Overview of Java EE 6 by Roberto Chinnici at SFJUGOverview of Java EE 6 by Roberto Chinnici at SFJUG
Overview of Java EE 6 by Roberto Chinnici at SFJUGMarakana Inc.
 
TDC 2011: The Java EE 7 Platform: Developing for the Cloud
TDC 2011: The Java EE 7 Platform: Developing for the CloudTDC 2011: The Java EE 7 Platform: Developing for the Cloud
TDC 2011: The Java EE 7 Platform: Developing for the CloudArun Gupta
 
Java EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureJava EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureArun Gupta
 
Java EE 7 at JAX London 2011 and JFall 2011
Java EE 7 at JAX London 2011 and JFall 2011Java EE 7 at JAX London 2011 and JFall 2011
Java EE 7 at JAX London 2011 and JFall 2011Arun Gupta
 
Java EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureJava EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureArun Gupta
 
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ Silicon Val...
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ Silicon Val...Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ Silicon Val...
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ Silicon Val...Arun Gupta
 
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, 2010Arun Gupta
 
Glassfish Overview Fontys 20090520
Glassfish Overview Fontys 20090520Glassfish Overview Fontys 20090520
Glassfish Overview Fontys 20090520Eugene Bogaart
 
GIDS 2012: Java Message Service 2.0
GIDS 2012: Java Message Service 2.0GIDS 2012: Java Message Service 2.0
GIDS 2012: Java Message Service 2.0Arun Gupta
 
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 JugSaagie
 
GIDS 2012: PaaSing a Java EE Application
GIDS 2012: PaaSing a Java EE ApplicationGIDS 2012: PaaSing a Java EE Application
GIDS 2012: PaaSing a Java EE ApplicationArun Gupta
 
GlassFish Community Update @ JavaOne 2011
GlassFish Community Update @ JavaOne 2011GlassFish Community Update @ JavaOne 2011
GlassFish Community Update @ JavaOne 2011Arun Gupta
 
Java EE 7: the Voyage of the Cloud Treader
Java EE 7: the Voyage of the Cloud TreaderJava EE 7: the Voyage of the Cloud Treader
Java EE 7: the Voyage of the Cloud TreaderSaltmarch Media
 

La actualidad más candente (20)

Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overview
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011
 
Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3
 
Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010
 
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
 
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
 
Overview of Java EE 6 by Roberto Chinnici at SFJUG
Overview of Java EE 6 by Roberto Chinnici at SFJUGOverview of Java EE 6 by Roberto Chinnici at SFJUG
Overview of Java EE 6 by Roberto Chinnici at SFJUG
 
TDC 2011: The Java EE 7 Platform: Developing for the Cloud
TDC 2011: The Java EE 7 Platform: Developing for the CloudTDC 2011: The Java EE 7 Platform: Developing for the Cloud
TDC 2011: The Java EE 7 Platform: Developing for the Cloud
 
Java EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureJava EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for future
 
Java EE 7 at JAX London 2011 and JFall 2011
Java EE 7 at JAX London 2011 and JFall 2011Java EE 7 at JAX London 2011 and JFall 2011
Java EE 7 at JAX London 2011 and JFall 2011
 
Java 7 workshop
Java 7 workshopJava 7 workshop
Java 7 workshop
 
Java EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureJava EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for future
 
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ Silicon Val...
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ Silicon Val...Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ Silicon Val...
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ Silicon Val...
 
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
 
Glassfish Overview Fontys 20090520
Glassfish Overview Fontys 20090520Glassfish Overview Fontys 20090520
Glassfish Overview Fontys 20090520
 
GIDS 2012: Java Message Service 2.0
GIDS 2012: Java Message Service 2.0GIDS 2012: Java Message Service 2.0
GIDS 2012: Java Message Service 2.0
 
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
 
GIDS 2012: PaaSing a Java EE Application
GIDS 2012: PaaSing a Java EE ApplicationGIDS 2012: PaaSing a Java EE Application
GIDS 2012: PaaSing a Java EE Application
 
GlassFish Community Update @ JavaOne 2011
GlassFish Community Update @ JavaOne 2011GlassFish Community Update @ JavaOne 2011
GlassFish Community Update @ JavaOne 2011
 
Java EE 7: the Voyage of the Cloud Treader
Java EE 7: the Voyage of the Cloud TreaderJava EE 7: the Voyage of the Cloud Treader
Java EE 7: the Voyage of the Cloud Treader
 

Destacado

Applicatie Architectuur, Java Frameworks en ADF
Applicatie Architectuur, Java Frameworks en ADFApplicatie Architectuur, Java Frameworks en ADF
Applicatie Architectuur, Java Frameworks en ADFLucas Jellema
 
Improove: Utveckling - avdelning och tjänster
Improove: Utveckling - avdelning och tjänsterImproove: Utveckling - avdelning och tjänster
Improove: Utveckling - avdelning och tjänsterPer Åström
 
10 things the cloud has taught us
10 things the cloud has taught us10 things the cloud has taught us
10 things the cloud has taught usPer Åström
 
O que os nossos olhos vêem!
O que os nossos olhos vêem!O que os nossos olhos vêem!
O que os nossos olhos vêem!Vera Lisa Barroso
 
Report From JavaOne 2009 - part 3
Report From JavaOne 2009 - part 3Report From JavaOne 2009 - part 3
Report From JavaOne 2009 - part 3Lucas Jellema
 
Corporate Lessons To Survive Change
Corporate Lessons To Survive ChangeCorporate Lessons To Survive Change
Corporate Lessons To Survive ChangeSreenath S
 
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 applicationsAlexis Moussine-Pouchkine
 

Destacado (9)

Applicatie Architectuur, Java Frameworks en ADF
Applicatie Architectuur, Java Frameworks en ADFApplicatie Architectuur, Java Frameworks en ADF
Applicatie Architectuur, Java Frameworks en ADF
 
Improove: Utveckling - avdelning och tjänster
Improove: Utveckling - avdelning och tjänsterImproove: Utveckling - avdelning och tjänster
Improove: Utveckling - avdelning och tjänster
 
Retour JavaOne 2009
Retour JavaOne 2009Retour JavaOne 2009
Retour JavaOne 2009
 
10 things the cloud has taught us
10 things the cloud has taught us10 things the cloud has taught us
10 things the cloud has taught us
 
O que os nossos olhos vêem!
O que os nossos olhos vêem!O que os nossos olhos vêem!
O que os nossos olhos vêem!
 
Report From JavaOne 2009 - part 3
Report From JavaOne 2009 - part 3Report From JavaOne 2009 - part 3
Report From JavaOne 2009 - part 3
 
MySQL HA Solutions
MySQL HA SolutionsMySQL HA Solutions
MySQL HA Solutions
 
Corporate Lessons To Survive Change
Corporate Lessons To Survive ChangeCorporate Lessons To Survive Change
Corporate Lessons To Survive Change
 
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
 

Similar a Java EE 6 and GlassFish portfolio

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 FutureIndicThreads
 
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 2010Arun Gupta
 
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 WorkshopArun Gupta
 
Java EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusJava EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusArun Gupta
 
Java Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewJava Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewEugene Bogaart
 
GlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for EclipseGlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for EclipseLudovic Champenois
 
Java EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureJava EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureArun Gupta
 
New Features of Java7 SE
New Features of Java7 SENew Features of Java7 SE
New Features of Java7 SEdogangoko
 
Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011
Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011
Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011Arun Gupta
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Agora Group
 
Powering the Next Generation Services with Java Platform - Spark IT 2010
Powering the Next Generation Services with Java Platform - Spark IT 2010Powering the Next Generation Services with Java Platform - Spark IT 2010
Powering the Next Generation Services with Java Platform - Spark IT 2010Arun Gupta
 
Java EE 6 & GlassFish = Less Code + More Power @ DevIgnition
Java EE 6 & GlassFish = Less Code + More Power @ DevIgnitionJava EE 6 & GlassFish = Less Code + More Power @ DevIgnition
Java EE 6 & GlassFish = Less Code + More Power @ DevIgnitionArun Gupta
 
Java EE 6 = Less Code + More Power
Java EE 6 = Less Code + More PowerJava EE 6 = Less Code + More Power
Java EE 6 = Less Code + More PowerArun Gupta
 
Java EE 6 & GlassFish = Less Code + More Power at CEJUG
Java EE 6 & GlassFish = Less Code + More Power at CEJUGJava EE 6 & GlassFish = Less Code + More Power at CEJUG
Java EE 6 & GlassFish = Less Code + More Power at CEJUGArun Gupta
 

Similar a Java EE 6 and GlassFish portfolio (20)

Java E
Java EJava E
Java E
 
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
 
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
 
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
 
Java EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusJava EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexus
 
Java EE6 Overview
Java EE6 OverviewJava EE6 Overview
Java EE6 Overview
 
Java Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewJava Enterprise Edition 6 Overview
Java Enterprise Edition 6 Overview
 
Java EE 6 Aquarium Paris
Java EE 6 Aquarium ParisJava EE 6 Aquarium Paris
Java EE 6 Aquarium Paris
 
GlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for EclipseGlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for Eclipse
 
Java EE 6
Java EE 6Java EE 6
Java EE 6
 
Glass Fishv3 March2010
Glass Fishv3 March2010Glass Fishv3 March2010
Glass Fishv3 March2010
 
Java EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureJava EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for future
 
Java EE 7 - Overview and Status
Java EE 7  - Overview and StatusJava EE 7  - Overview and Status
Java EE 7 - Overview and Status
 
New Features of Java7 SE
New Features of Java7 SENew Features of Java7 SE
New Features of Java7 SE
 
Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011
Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011
Java EE / GlassFish Strategy & Roadmap @ JavaOne 2011
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011
 
Powering the Next Generation Services with Java Platform - Spark IT 2010
Powering the Next Generation Services with Java Platform - Spark IT 2010Powering the Next Generation Services with Java Platform - Spark IT 2010
Powering the Next Generation Services with Java Platform - Spark IT 2010
 
Java EE 6 & GlassFish = Less Code + More Power @ DevIgnition
Java EE 6 & GlassFish = Less Code + More Power @ DevIgnitionJava EE 6 & GlassFish = Less Code + More Power @ DevIgnition
Java EE 6 & GlassFish = Less Code + More Power @ DevIgnition
 
Java EE 6 = Less Code + More Power
Java EE 6 = Less Code + More PowerJava EE 6 = Less Code + More Power
Java EE 6 = Less Code + More Power
 
Java EE 6 & GlassFish = Less Code + More Power at CEJUG
Java EE 6 & GlassFish = Less Code + More Power at CEJUGJava EE 6 & GlassFish = Less Code + More Power at CEJUG
Java EE 6 & GlassFish = Less Code + More Power at CEJUG
 

Más de Alexis Moussine-Pouchkine

Más de 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
 
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
 
GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09
 
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
 
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
 
GlassFish v2.1
GlassFish v2.1GlassFish v2.1
GlassFish v2.1
 
Open MQ Jerome Moliere
Open MQ Jerome MoliereOpen MQ Jerome Moliere
Open MQ Jerome Moliere
 
GlassFish v3 : En Route Java EE 6
GlassFish v3 : En Route Java EE 6GlassFish v3 : En Route Java EE 6
GlassFish v3 : En Route Java EE 6
 
OpenMQ François Ostyn
OpenMQ François OstynOpenMQ François Ostyn
OpenMQ François Ostyn
 
Web Space10 Overview
Web Space10 OverviewWeb Space10 Overview
Web Space10 Overview
 

Último

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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 textsMaria Levchenko
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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 slidevu2urc
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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 AutomationSafe Software
 
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?Antenna Manufacturer Coco
 
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.pptxHampshireHUG
 
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 RobisonAnna Loughnan Colquhoun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Último (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
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?
 
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
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Java EE 6 and GlassFish portfolio

  • 1. Java EE 6 - Update Harpreet Singh – GlassFish Portfolio Product Manager Sun Microsystems 1
  • 2. The Elephant In The Room 2
  • 3. Here's what I can ... Show Say 3
  • 5. Business As Usual = Participate in an active community + Create a Great Product + Kick Competitive Butt 5
  • 7. Business @ Hand Java EE 6 Update 7
  • 8. Java EE: Past & Present Right Sizing Ease of Development Java EE 6 EJB Lite Web Java EE 5 Restful WS Services Ease of Web Beans Development Extensibility J2EE 1.4 Annotations Robustness Web Services, EJB 3.0 Enterprise Java Management, Persistence API Platform J2EE 1.3 Deployment, New and CMP, Async. Updated Connector Connector Web Services Java EE 6 J2EE 1.2 Architecture Servlet, JSP, Web Profile JPE EJB, JMS Project RMI/IIOP 8
  • 9. Java EE Adoption Over 18M Downloads since FY'06 Active Users Y/Y Download Growth 12000000 10000000 8000000 Add. 6000000 Forcast YTD 4000000 2000000 0 FY 06 FY 07 FY 08 FY 09 9
  • 10. Compatible Java EE 5 Implementations 10
  • 11. Goals for the Java EE 6 Platform • “Right Sizing” ● Flexible, lighter weight • Extensible ● Embrace Open Source Frameworks • Easier to use, develop on ● Continue on path set by Java EE 5 11
  • 12. Right Sizing the Platform: Profiles • Make platform flexible > Decouple specifications to allow more combinations > Expands potential licensee ecosystem > Profiles ● Targeted technology bundles ● Defined through the JCP ● First profile: Web Profile – Defined by the Java EE 6 Expert Group 12
  • 13. Web Profile • Fully functional mid-sized profile > Actively discussed in Java EE Expert Group and outside it > Technologies* ● Servlet 3.0, EJB Lite 3.1, JPA 2.0, JSP 2.2, EL 1.2, JSTL 1.2, JSF 2.0, JTA 1.1, JSR-45, JSR-250 *Final set of technologies will be determined by the platform EG 13
  • 14. Right Sizing the Platform: Pruning • Make platform lighter > Makes some technologies optional > Pruned today, means ● Optional in the next release ● Deleted in the subsequent release > Pruned Technologies will be marked in the javadocs > Current pruning list ● JAX-RPC, EJB 2.X Entity Beans, JAXR, JSR-88 14
  • 15. Extensibility • Embrace open source libraries and frameworks • Zero-configuration, drag-and-drop for web frameworks > Servlets, servlet filters, context listeners for a framework get discovered and registered automatically • Plugin library jars using web fragments 15
  • 16. Ease of Development • Continue advancements of Java EE 5 • Primary focus: Web Tier • Multiple Areas easier to use: EJB 3.1 • General principles > Annotation-based programming model > Reduce or eliminate need for deployment descriptors > Traditional API for advanced users 16
  • 17. Ease of Development: Adding an EJB to a Web Application Java EE 5 Java EE 6 ShoppingCart BuyBooks.war BuyBooks.war EJB Class ShoppingCart.jar ShoppingCart EJB Class BuyBooks.ear 17
  • 18. EoD Example - Annotations Servlet in Java EE 5: Create two source files <!--Deployment descriptor web.xml --> /* Code in Java Class */ <web-app> <servlet> package com.foo; <servlet- public class MyServlet name>MyServlet extends HttpServlet { </servlet-name> public void <servlet-class> doGet(HttpServletRequest com.foo.MyServlet req,HttpServletResponse res) </servlet-class> </servlet> { <servlet-mapping> <servlet- ... name>MyServlet } </servlet-name> <url-pattern>/myApp/* </url-pattern> </servlet-mapping> ... ... </web-app> } 18
  • 19. EoD Example - Annotations Servlet in Java EE 6: In many cases a single source file package com.foo; @WebServlet(name=”MyServlet”, urlPattern=”/myApp/*”) public class MyServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) { ... } 19
  • 20. Java EE 6 Status •Public reviews completed •Majority of the specs are in Proposed Final Draft •Preview release available for JavaOne > Reference Implementation is GlassFish V3 > Regular RI source drops started •Final release in Q3 > Targeted for September • Making the process more open 20
  • 21. Java EE JSR Status • EJB 3.1 PFD • Connectors 1.6PFD • JPA 2.0PFD • JCDI 1.0PFD June • Servlet 3.0 PFD • Bean ValidationPFD • JSF 2.0FD Submitted • Java EE 6.0PFD June > Platform > Managed Beans > Web Profile 21
  • 22. Java EE JSR Status Continued • JACC 1.3 MR Final • JASPIC 1.1 MR Final • JSR 250 1.1 MR Soon MR Final • JAXB 2.2 MR Final • JAX-RS 1.1 • JAX-WS 2.2 MR Final • EL 2.2 MR Final MR Final • JSP 2.2 22
  • 23. Servlet 3.0 • Use of annotations for greater ease of development • Optional web.xml • Better defaults • Enable web framework pluggability • Support for asynchronous processing • Alignments with JSF 2.0 and JAX-RS 1.0 23
  • 24. Servlet 3.0 • Annotation-based programming model > @WebServlet @WebFilter etc. • Modular web.xml descriptor: > WEB-INF/lib/mylibrary.jar -> Meta_INF/web-fragment.xml • Annotations and web fragments are merged • Programmatic API for dynamic registration of servlets 24
  • 25. Servlet 3.0 Async API • Useful for Comet, chat rooms, long waits • Must declare @WebServlet(asyncSupported=true) • Then call AsyncContext ctx = ServletRequest.startAsync(req,res); • AsyncContext can then either: dispatch(String path) start(Runnable action) • AsyncContext.start(Runnable) must be paired with: complete() 25
  • 26. EJB 3.1 Ease-of-use improvements • No-interface view > One source file per bean • Allow EJB component classes inside a web app > No ejb-jar > Use WEB-INF/classes > Shared component environment 26
  • 27. EJB 3.1 • Singleton beans: @Singleton > Shared state > One instance per bean per server JVM > Support for container-managed concurrency and bean-managed concurrency @ConcurrencyManagement • Light-weight asynchronicity > Async business methods @Asynchronous > Methods must return void or Future<T> 27
  • 28. EJB 3.1 • EJB Timer Service enhancements > Cron-like scheduling > Initialization-time timer creation @Schedule(dayOfWeek=”Mon,Wed”) • Embeddable EJB container > Provides use in Java SE environments > Bootstrapping API EJBContainer 28
  • 29. EJB 3.1 Lite Proper, portable subset of EJB 3.1 • Session beans (stateless, stateful, singletons) > Local, no-interface views • Transactions • Security • Interceptors • ejb-jar.xml or annotations • Embeddable container API: EJBContainer • OK to bootstrap on Java SE 29
  • 30. Web Beans 1.0 • Adds contextual services to the platform • Unifies JSF managed beans and EJB components • Dependency injection framework > @LoggedIn User user; • Binding type to select among alternatives • Built-in scope management (request, session, conversation, application scopes) • Deployment types to select families of beans (e.g. mock) • Programmatic API: Manager, Bean, Context 30
  • 31. Removing Barriers • EJB components can be placed in web applications > No need to wrap them in an EJB jar archive • Web Beans has a unified EL resolver > Place @Named(“foo”) on a bean to give it a name > Use “#{foo}” to refer to it from JSR • Unify @Resource-style injection with Web Beans • Apply javax.interceptor more widely 31
  • 32. Java Persistence API 2.0 • Expanded object/relational mapping functionality • Additions to the Java Persistence query language • Metamodel API • Type-safe Criteria API • Pessimistic locking • Standardized caching configuration • Support for automatic validation 32
  • 33. JSF 2.0 • Easier to develop components • Better leverage annotations • Declarative renderers • View description language (similar to Facelets, JSFTemplating, Tiles) • Intuitive Ajax for JSF • Additions to the render kit: calendar, tree, tab view, etc. • Streamlined rendering process via caching • Scripting 33
  • 34. Summary •Right Sizing •More Information > Java EE Hub > Profiles ● http://java.sun.com/javaee > Pruning > Java EE SDK Downloads http://java.sun.com/javaee/downloads •Extensible ● > JCP •Ease of use and > http://jcp.org/en/jsr/detail?id=316 development • RI and source code available today 34