SlideShare une entreprise Scribd logo
1  sur  38
Télécharger pour lire hors ligne
What's New with
  Java EE 6?


John Clingan
GlassFish Group Product Manager
Harpreet Singh
GlassFish Product Marketing Manager
                                      1
Java EE: Past & Present
                                                                         Rightsizing
                                                           Ease of
                                                         Development
                                                                        Java EE 6
                                               Web
                                              Services                   Pruning
                                                         Java EE 5      Extensibility
                             Robustness                                  Profiles
           Enterprise Java                                 Ease of
              Platform
                                            J2EE 1.4     Development     Ease of
                                                                        Development
                                                         Annotations
                             J2EE 1.3          Web                       EJB Lite
            J2EE 1.2                         Services      EJB 3.0
                                                                         RESTful
                                            Management
                                CMP                      Persistence     Services
               Servlet                      Deployment
  JPE                         Connector                   New and       Dependency
 Project        JSP          Architecture     Async.      Updated        Ejection
                                             Connector
                EJB                                      Web Services
                JMS                                                     Web Profile
              RMI/IIOP

                                                                                        2
Java EE Adoption
                                         Y / Y D o w n lo a d G r o w t h
  Over 18M Downloads        12,000,000
      since FY'06
                08/.../08   10,000,000

                             8,000,000

   Active Users             6,000,000
                                                                            Downloads


                            4,000,000

                            2,000,000

                                    0
                                         FY 06    FY 07    FY 08   FY 09




                                                                                        3
Compatible Java EE 5 Implementations




                                       4
Java EE 6 Platform
Goals

• Rightsizing
  > Flexible
  > Lighter weight
• Extensible
  > Embrace Open Source
    Frameworks
• Productive
  > Improve on Java EE 5

                           5
Rightsizing the Platform: Profiles
Platform Flexibility

• Decouple specifications to
  allow more combinations
• Expand potential licensee
  ecosystem
• Profiles
  > Targeted technology bundles
  > Web Profile


                                     6
Rightsizing the Platform
Web Profile

• Fully functional mid-sized
  profile
• Actively discussed
  > Expert Group
  > Industry
• 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, Common Annotations
                                               7
Rightsizing the Platform
Pruning (Deprecation)

• Some technologies optional
  > Optional in next release
  > Deleted in subsequent release
  > Marked in Javadocs
• Pruning list
  >   JAX-RPC
  >   EJB 2.x Entity Beans
  >   JAXR
  >   JSR-85 (Rules based Auth & Audit)
                                          8
Rightsizing the Platform
Extensibility

• Embrace open source
  libraries and frameworks
• Zero-configuration, drag-n-
  drop web frameworks
  > Servlets, servlet filters
  > Framework context listeners
    are discovered & registered
• Plugin library jars using Web
  Fragments
                                  9
Ease of Development
Extensibility

•   Continue Java EE 5 advancements
•   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


                                            10
Ease of Development
Adding an EJB to a Web Application

                 ShoppingCart
  BuyBooks.war    EJB Class          BuyBooks.war



                 ShoppingCart.jar
                                     ShoppingCart
                                      EJB Class

  BuyBooks.ear

                                                    11
Ease of Development - Annotations
Servlet in Java EE 5: Create two source files
/* Code in Java Class */         <!--Deployment descriptor web.xml
                                    -->
package com.foo;                 <web-app>
public class MyServlet extends
HttpServlet {                       <servlet>
public void                             <servlet-name>MyServlet
doGet(HttpServletRequest                </servlet-name>
req,HttpServletResponse res)           <servlet-class>
                                         com.foo.MyServlet
{                                      </servlet-class>
                                    </servlet>
...                                 <servlet-mapping>
                                       <servlet-name>MyServlet
}                                      </servlet-name>
                                       <url-pattern>/myApp/*
                                       </url-pattern>
                                    </servlet-mapping>
...                                 ...
                                 </web-app>
}

                                                                     12
Ease of Development - Annotations
Java EE 6 Servlet: Single Source file (many cases)

package com.foo;
@WebServlet(name=”MyServlet”, urlPattern=”/myApp/*”)
public class MyServlet {
   public void doGet(HttpServletRequest req,
                   HttpServletResponse res)
   {
      ...
   }




                                                       13
Demo
Java EE 6

            14
Java Enterprise Edition 6
Status

• Most public reviews complete
• JSR 330 Recently added
  > Revised schedule
  > Final release in Q4 2009
• GlassFish v3 Preview
  > Reference Implementation



                                 15
Java Enterprise Edition 6
Servlet 3.0

• Annotations for ease of
  development
• Optional web.xml
• Better defaults
• Web Framework pluggability
• Asynchronous Processing


                               16
Java Enterprise Edition 6
Servlet 3.0 Asynchronous API

• Useful for Comet, 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)
• Then paired with complete()
                                                           17
Java Enterprise Edition 6
EJB 3.1

• Ease-of-use improvements
• No-interface view
  > Once source file per bean
• EJB inside web applications
  > No ejb-jar
  > Use WEB-INF/classes
  > Shared component environment
• Portable JNDI
                                   18
Java Enterprise Edition 6
EJB 3.1

• Singleton beans: @Singleton
  > Shared state
  > One instance per bean per JVM
  > Container/Bean managed security
    @ConcurrencyManagement
• Lightweight asynchronicity
  > Async business methods
    @Asynchronous
  > Methods must return
    void or Future <T>
                                      19
Java Enterprise Edition 6
EJB 3.1

• Enhanced EJB Timer Service
  > Cron-like scheduling
  > Initialization-time timer creation
    @Schedule(dayOfWeek=”Mon/Wed”)
• Embeddable EJB Container
  > Use in JavaSE environments
  > Bootstrapping API
    EJBContainer


                                         20
Java Enterprise Edition 6
 Enterprise Java Beans 3.1 Features

                                    EJB 3.1 Lite   EJB 3.1
  Local Session Beans                   P            P
  Declarative Security                  P            P
  Transactions (CMT/BMT)                P            P
  Interceptors                          P            P
  Security                              P            P
  Message Driven Beans                               P
  RMI/IIOP Interop. & Remote View                    P
  EJB 2.x Backwards Compatability                    P
  Timer Service                                      P
  Asynchronous                                       P
                                                             21
Java Enterprise Edition 6
Additional Features

• Java Persistence Architecture 2.0
  > Improve object/relational mapping
• Java Contexts & Dependency
  Injection (AKA - “Web Beans”)
• Java Server Faces 2.0
  > AJAX
  > Simplified component creation
• JAX-RS 1.1 – RESTful services

                                        22
GlassFish v3


               23
GlassFish v3
Top Features

•   Java EE 6 support
•   Developer Productivity
•   Modular
•   Extensible
•   Embeddable
•   Observable

                             24
GlassFish v3
 Java EE 6 Support

• Java EE 6 Reference
  Implementation
• Downloadable bundles*
   > Web Profile
   > Java EE 6
* https://glassfish.dev.java.net/public/downloadsindex.html



                                                              25
GlassFish v3 Features
Developer Productivity
• Getting Started
  > Small download
  > Fast startup time
  > Intuitive user interface
• Using GlassFish
  > Low resource utilization
  > Command Line Interface
  > Maven support
  > Included in Netbeans and GlassFish Tools
    Bundle for Eclipse
  > Rapid iterative development
                                               26
GlassFish v3 Features
Wait, there's more ...

•   Modularity/OSGi
•   Extensible
•   RESTful administration API
•   Fine-grained monitoring




                                 27
GlassFish v3 Screen Snapshots
  Flexible Administration




                                28
GlassFish Enterprise Server v3
Alternative Languages

• Can deploy as web application
• New to GlassFish v3
  > Jruby/Jython modules
  > No web container
  > Dynamic pooling of JRuby
    containers


                                  29
Demo
Update Center

                30
GlassFish Enterprise Server v3
Roadmap

• GlassFish Enterprise Server
  v2.1 – Feb 2009
• GlassFish Enterprise Server v3
  Prelude – Oct 2009
• GlassFish v3 – Nov 24, 2009*

* http://wiki.glassfish.java.net/Wiki.jsp?page=GlassFishV3Schedule

                                                                     31
Summary
   Java EE 6               GlassFish v3

 • Right-Sizing      •   Java EE 6
 • Extensible        •   Modular
 • Ease of           •   Extensible
   use/development   •   Developer
                         productivity



                                          32
Sun GlassFish Enterprise Server
 Enterprise Subscriptions

• 24x7x365 Support, Patches
• Enterprise Manager
• Supported releases
  > GlassFish Enterprise Server v2.x
  > GlassFish Enterprise Server v3
    Prelude
• Contact glassfish@sun.com to learn
  more
                                       33
Sun Software Subscriptions -
Paying at the point of value
    Open Source           Supported Software
 Source Code               Subscription Agreements
 • Binary Product          • Global Phone and Web Support
 • Simple Training         • Issue Escalation Process
                           • Subscription-only Product
 • Security Help             Features
 • Developer/Tools/Tips    • Traditional Contractual
                             Coverages
                           • Services & Training
GlassFish Enterprise Server
Sun software - a simple approach to support

 You may use phone or web to contact our experts 24 hours a day,
 worldwide. Get the experience and issue resolution necessary help to keep
 your business running!
  Ability to escalate bugs to an out of cycle patch or engineering attention;
        you have visibility into the issue resolution process.
  Access to Sun Knowledge Base.
  Technical support assistance backed by the engineers who wrote &/or
        solidified the code.
  Proactive Sun Alerts and Notifications.
  Low risk, tested fixes and features for mission critical deployments
  Access to aggregated content like bugs fixed, docs, latest news,
        promotions and tech tips



                                                                                35
GlassFish Enterprise Server
Why Else should I subscribe?

 Subscription-Exclusive Features:
 GlassFish Enterprise Manager -
 •    SNMP Monitoring
 •    Application Server Tuning
 •    Alerts (CPU Usage Trends, Memory Alerts, etc.)
 GlassFish Update Center -
 •    Delivers GlassFish add-on components, updates & provides mechanism to
      enable community contributions.
 •    Use Update Center to get latest and greatest technology binaries.
 •    Provides the service, access and installation of updates patches available.
 Contractual Coverage: Optional indemnification & Limitation of Liability

                                                                                    36
Who's Using GlassFish In Production?

  Questions?
  GlassFish@Sun.COM
Q&A

      38

Contenu connexe

Tendances

Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
Arun Gupta: London Java Community: Java EE 6 and GlassFish 3 Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
Arun Gupta: London Java Community: Java EE 6 and GlassFish 3 Skills Matter
 
Java EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusJava EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusArun Gupta
 
Tools Coverage for the Java EE Platform @ Silicon Valley Code Camp 2010
Tools Coverage for the Java EE Platform @ Silicon Valley Code Camp 2010Tools Coverage for the Java EE Platform @ Silicon Valley Code Camp 2010
Tools Coverage for the Java EE Platform @ Silicon Valley Code Camp 2010Arun Gupta
 
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 2010Arun Gupta
 
The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011Arun Gupta
 
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 6Arun Gupta
 
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 & 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
 
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 EE7 Demystified
Java EE7 DemystifiedJava EE7 Demystified
Java EE7 DemystifiedAnkara JUG
 
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
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Agora Group
 
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
 
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
 
Java EE7 in action
Java EE7 in actionJava EE7 in action
Java EE7 in actionAnkara JUG
 
Understanding
Understanding Understanding
Understanding Arun Gupta
 
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
 
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
 

Tendances (20)

Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
Arun Gupta: London Java Community: Java EE 6 and GlassFish 3 Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
 
Java EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusJava EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexus
 
Tools Coverage for the Java EE Platform @ Silicon Valley Code Camp 2010
Tools Coverage for the Java EE Platform @ Silicon Valley Code Camp 2010Tools Coverage for the Java EE Platform @ Silicon Valley Code Camp 2010
Tools Coverage for the Java EE Platform @ Silicon Valley Code Camp 2010
 
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
 
The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011
 
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
 
Glass Fishv3 March2010
Glass Fishv3 March2010Glass Fishv3 March2010
Glass Fishv3 March2010
 
Java EE6 Overview
Java EE6 OverviewJava EE6 Overview
Java EE6 Overview
 
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 & 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 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 EE7 Demystified
Java EE7 DemystifiedJava EE7 Demystified
Java EE7 Demystified
 
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...
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011
 
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
 
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
 
Java EE7 in action
Java EE7 in actionJava EE7 in action
Java EE7 in action
 
Understanding
Understanding Understanding
Understanding
 
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
 
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
 

Similaire à Sun Java EE 6 Overview

Java Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewJava Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewEugene Bogaart
 
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: 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 IndiaArun Gupta
 
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 SFJUGMarakana Inc.
 
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 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
 
Boston 2011 OTN Developer Days - Java EE 6
Boston 2011 OTN Developer Days - Java EE 6Boston 2011 OTN Developer Days - Java EE 6
Boston 2011 OTN Developer Days - Java EE 6Arun 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
 
GlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for EclipseGlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for EclipseLudovic Champenois
 
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...Arun Gupta
 
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...Arun Gupta
 
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
 

Similaire à Sun Java EE 6 Overview (20)

Java EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolioJava EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolio
 
Java Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewJava Enterprise Edition 6 Overview
Java Enterprise Edition 6 Overview
 
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: 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
 
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
 
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 E
Java EJava E
Java E
 
Java EE 6
Java EE 6Java EE 6
Java EE 6
 
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
 
Boston 2011 OTN Developer Days - Java EE 6
Boston 2011 OTN Developer Days - Java EE 6Boston 2011 OTN Developer Days - Java EE 6
Boston 2011 OTN Developer Days - Java EE 6
 
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
 
GlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for EclipseGlassFish Tool Bundle for Eclipse
GlassFish Tool Bundle for Eclipse
 
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
 
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...
Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful @ JAX London ...
 
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
 
Java EE 7 - Overview and Status
Java EE 7  - Overview and StatusJava EE 7  - Overview and Status
Java EE 7 - Overview and Status
 
Java EE 6 Aquarium Paris
Java EE 6 Aquarium ParisJava EE 6 Aquarium Paris
Java EE 6 Aquarium Paris
 

Dernier

[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.pdfhans926745
 
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
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
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 WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
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
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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
 

Dernier (20)

[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
 
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
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
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
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 

Sun Java EE 6 Overview

  • 1. What's New with Java EE 6? John Clingan GlassFish Group Product Manager Harpreet Singh GlassFish Product Marketing Manager 1
  • 2. Java EE: Past & Present Rightsizing Ease of Development Java EE 6 Web Services Pruning Java EE 5 Extensibility Robustness Profiles Enterprise Java Ease of Platform J2EE 1.4 Development Ease of Development Annotations J2EE 1.3 Web EJB Lite J2EE 1.2 Services EJB 3.0 RESTful Management CMP Persistence Services Servlet Deployment JPE Connector New and Dependency Project JSP Architecture Async. Updated Ejection Connector EJB Web Services JMS Web Profile RMI/IIOP 2
  • 3. Java EE Adoption Y / Y D o w n lo a d G r o w t h Over 18M Downloads 12,000,000 since FY'06 08/.../08 10,000,000 8,000,000 Active Users 6,000,000 Downloads 4,000,000 2,000,000 0 FY 06 FY 07 FY 08 FY 09 3
  • 4. Compatible Java EE 5 Implementations 4
  • 5. Java EE 6 Platform Goals • Rightsizing > Flexible > Lighter weight • Extensible > Embrace Open Source Frameworks • Productive > Improve on Java EE 5 5
  • 6. Rightsizing the Platform: Profiles Platform Flexibility • Decouple specifications to allow more combinations • Expand potential licensee ecosystem • Profiles > Targeted technology bundles > Web Profile 6
  • 7. Rightsizing the Platform Web Profile • Fully functional mid-sized profile • Actively discussed > Expert Group > Industry • 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, Common Annotations 7
  • 8. Rightsizing the Platform Pruning (Deprecation) • Some technologies optional > Optional in next release > Deleted in subsequent release > Marked in Javadocs • Pruning list > JAX-RPC > EJB 2.x Entity Beans > JAXR > JSR-85 (Rules based Auth & Audit) 8
  • 9. Rightsizing the Platform Extensibility • Embrace open source libraries and frameworks • Zero-configuration, drag-n- drop web frameworks > Servlets, servlet filters > Framework context listeners are discovered & registered • Plugin library jars using Web Fragments 9
  • 10. Ease of Development Extensibility • Continue Java EE 5 advancements • 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 10
  • 11. Ease of Development Adding an EJB to a Web Application ShoppingCart BuyBooks.war EJB Class BuyBooks.war ShoppingCart.jar ShoppingCart EJB Class BuyBooks.ear 11
  • 12. Ease of Development - Annotations Servlet in Java EE 5: Create two source files /* Code in Java Class */ <!--Deployment descriptor web.xml --> package com.foo; <web-app> public class MyServlet extends HttpServlet { <servlet> public void <servlet-name>MyServlet doGet(HttpServletRequest </servlet-name> req,HttpServletResponse res) <servlet-class> com.foo.MyServlet { </servlet-class> </servlet> ... <servlet-mapping> <servlet-name>MyServlet } </servlet-name> <url-pattern>/myApp/* </url-pattern> </servlet-mapping> ... ... </web-app> } 12
  • 13. Ease of Development - Annotations Java EE 6 Servlet: Single Source file (many cases) package com.foo; @WebServlet(name=”MyServlet”, urlPattern=”/myApp/*”) public class MyServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) { ... } 13
  • 15. Java Enterprise Edition 6 Status • Most public reviews complete • JSR 330 Recently added > Revised schedule > Final release in Q4 2009 • GlassFish v3 Preview > Reference Implementation 15
  • 16. Java Enterprise Edition 6 Servlet 3.0 • Annotations for ease of development • Optional web.xml • Better defaults • Web Framework pluggability • Asynchronous Processing 16
  • 17. Java Enterprise Edition 6 Servlet 3.0 Asynchronous API • Useful for Comet, 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) • Then paired with complete() 17
  • 18. Java Enterprise Edition 6 EJB 3.1 • Ease-of-use improvements • No-interface view > Once source file per bean • EJB inside web applications > No ejb-jar > Use WEB-INF/classes > Shared component environment • Portable JNDI 18
  • 19. Java Enterprise Edition 6 EJB 3.1 • Singleton beans: @Singleton > Shared state > One instance per bean per JVM > Container/Bean managed security @ConcurrencyManagement • Lightweight asynchronicity > Async business methods @Asynchronous > Methods must return void or Future <T> 19
  • 20. Java Enterprise Edition 6 EJB 3.1 • Enhanced EJB Timer Service > Cron-like scheduling > Initialization-time timer creation @Schedule(dayOfWeek=”Mon/Wed”) • Embeddable EJB Container > Use in JavaSE environments > Bootstrapping API EJBContainer 20
  • 21. Java Enterprise Edition 6 Enterprise Java Beans 3.1 Features EJB 3.1 Lite EJB 3.1 Local Session Beans P P Declarative Security P P Transactions (CMT/BMT) P P Interceptors P P Security P P Message Driven Beans P RMI/IIOP Interop. & Remote View P EJB 2.x Backwards Compatability P Timer Service P Asynchronous P 21
  • 22. Java Enterprise Edition 6 Additional Features • Java Persistence Architecture 2.0 > Improve object/relational mapping • Java Contexts & Dependency Injection (AKA - “Web Beans”) • Java Server Faces 2.0 > AJAX > Simplified component creation • JAX-RS 1.1 – RESTful services 22
  • 24. GlassFish v3 Top Features • Java EE 6 support • Developer Productivity • Modular • Extensible • Embeddable • Observable 24
  • 25. GlassFish v3 Java EE 6 Support • Java EE 6 Reference Implementation • Downloadable bundles* > Web Profile > Java EE 6 * https://glassfish.dev.java.net/public/downloadsindex.html 25
  • 26. GlassFish v3 Features Developer Productivity • Getting Started > Small download > Fast startup time > Intuitive user interface • Using GlassFish > Low resource utilization > Command Line Interface > Maven support > Included in Netbeans and GlassFish Tools Bundle for Eclipse > Rapid iterative development 26
  • 27. GlassFish v3 Features Wait, there's more ... • Modularity/OSGi • Extensible • RESTful administration API • Fine-grained monitoring 27
  • 28. GlassFish v3 Screen Snapshots Flexible Administration 28
  • 29. GlassFish Enterprise Server v3 Alternative Languages • Can deploy as web application • New to GlassFish v3 > Jruby/Jython modules > No web container > Dynamic pooling of JRuby containers 29
  • 31. GlassFish Enterprise Server v3 Roadmap • GlassFish Enterprise Server v2.1 – Feb 2009 • GlassFish Enterprise Server v3 Prelude – Oct 2009 • GlassFish v3 – Nov 24, 2009* * http://wiki.glassfish.java.net/Wiki.jsp?page=GlassFishV3Schedule 31
  • 32. Summary Java EE 6 GlassFish v3 • Right-Sizing • Java EE 6 • Extensible • Modular • Ease of • Extensible use/development • Developer productivity 32
  • 33. Sun GlassFish Enterprise Server Enterprise Subscriptions • 24x7x365 Support, Patches • Enterprise Manager • Supported releases > GlassFish Enterprise Server v2.x > GlassFish Enterprise Server v3 Prelude • Contact glassfish@sun.com to learn more 33
  • 34. Sun Software Subscriptions - Paying at the point of value Open Source Supported Software Source Code Subscription Agreements • Binary Product • Global Phone and Web Support • Simple Training • Issue Escalation Process • Subscription-only Product • Security Help Features • Developer/Tools/Tips • Traditional Contractual Coverages • Services & Training
  • 35. GlassFish Enterprise Server Sun software - a simple approach to support You may use phone or web to contact our experts 24 hours a day, worldwide. Get the experience and issue resolution necessary help to keep your business running! Ability to escalate bugs to an out of cycle patch or engineering attention; you have visibility into the issue resolution process. Access to Sun Knowledge Base. Technical support assistance backed by the engineers who wrote &/or solidified the code. Proactive Sun Alerts and Notifications. Low risk, tested fixes and features for mission critical deployments Access to aggregated content like bugs fixed, docs, latest news, promotions and tech tips 35
  • 36. GlassFish Enterprise Server Why Else should I subscribe? Subscription-Exclusive Features: GlassFish Enterprise Manager - • SNMP Monitoring • Application Server Tuning • Alerts (CPU Usage Trends, Memory Alerts, etc.) GlassFish Update Center - • Delivers GlassFish add-on components, updates & provides mechanism to enable community contributions. • Use Update Center to get latest and greatest technology binaries. • Provides the service, access and installation of updates patches available. Contractual Coverage: Optional indemnification & Limitation of Liability 36
  • 37. Who's Using GlassFish In Production? Questions? GlassFish@Sun.COM
  • 38. Q&A 38