SlideShare a Scribd company logo
1 of 36
Download to read offline
GlassFish Server
The future of Java EE is here
Artur Alves
Solution Architect
Oracle Portugal

                                1
The following is intended to outline our general
product direction. It is intended for information
purposes only, and may not be incorporated into
any contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied upon in making purchasing decisions.

The development, release, and timing of any
features or functionality described for Oracle's
products remains at the sole discretion of Oracle.
This is no science fiction




  Java EE 6 and GlassFish Server 3
      shipped final releases on
         December 10th 2009
GlassFish Around You
GlassFish Server Chronology
2006     2007       2008       2009       2010                   …


GlassFish v1
Java EE 5, Single Instance


                GlassFish v2
                Java EE 5, High Availability


                                         GlassFish Server 3
                                         Java EE 6, Single Instance


                                                     GlassFish Server 3.1
                                                     Java EE 6, High Availability
GlassFish Community

    Proven by developers
    
        Over 10 million downloads annually
    
        50K active users in 30 days w/GlassFish Server 3
    
        Active user forums
    
        Sub-projects
        −   Jersey (JAX-RS), Metro (JAX-WS), Grizzly (nio),
            Atmosphere, OpenMQ (JMS), and more


    Application Server
    
        Open Source and high-quality runtime
    
        Java EE 5 / 6 Reference Implementation, early
        access to latest standards
    
        Full Commercial Support from Oracle
Future of GlassFish Open Source

    No change to operation of project
    
        Open Source license, governance, participation,
        transparency, ...



    Roadmap GlassFish Server Open Source Edition
    
        GlassFish Server 3.0.1 shipped in June as planned
    
        Two releases in 2011
    
        GlassFish Server 4.0 aligned with Java EE 7
    
        Clustering, centralized admin, Coherence, virtualization
    
        Details at http://glassfish.org/roadmap
General Picture of Distributions
Oracle GlassFish Server
Oracle Application Grid




Efficiency                                                   Simplification
Lowest operational   Competitiveness                         Best foundation for
costs                Outperform with speed and flexibility   entire software stack
GlassFish and WebLogic together
• Best open source application server with    • Best commercial application server for
  support from Oracle                           transactional Java EE applications
• Open source platform of choice for light-   • Platform of choice for standardization
  weight Web applications                     • Focus on lowest operational cost and
• Focus on latest Java EE standards and         mission critical applications
  community driven innovation                 • integration with Oracle Database, Fusion
• Certified interoperability with Fusion        Middleware & Fusion Applications
  Middleware
• Differentiated innovation, scout thread




              Production Java                               Production Java
           Application Deployment                        Application Deployment


           GlassFish Server                              WebLogic Server
Painless Java EE development !
    The save/reload paradigm


    Incremental compile of all Java EE artifacts

    Auto-deploy of all Java EE and static artifacts
Session Retention

    Deployment option to maintain stateful
    sessions across re-deployments

$ asadmin redeploy --properties
   keepSessions=true myapp.war


    Greatly simplifies the
    development paradigm


    Integrated in IDEs
Yes, Eclipse too !




OEPE : http://www.oracle.com/technetwork/developer-tools/eclipse
Introducing GlassFish Server 3
Java EE 6 Themes

                  Flexible                      Embrace open source
Web Profile             &                       frameworks
  Pruning     Lightweight          Extensible
                                                Enables Drag & Drop
                                                framework installation
                         Java EE


                       Developer
                      Productivity


                   More annotations
                  POJO development
                Less XML configuration
GlassFish Server Goals
Java EE 6 Themes           Oracle GlassFish Server

• Flexibility              • Flexibility

• Extensibility            • Extensibility

• Developer Productivity   • Developer Productivity

                           • Modularity / OSGi / Hybrid Apps

                           • Manageability

                           • High availability clustering

                           • 24 x 7 x 365 support
Modular and Dynamic

    Modular : Apache Felix (OSGi)

    Extensible : HK2

    Yet very Fast !
More Painless Development

    Fast auto-deploy of all Java EE and static
    artifacts

    Application runner
    
        java -jar glassfish.jar toto.war

    Maven integration
    
        mvn gf:run, gf:start, gf:deploy, ...

    Containers added dynamically and transparently

    Excellent Tools support
Embedded uses

    Testing
    
        EJBContainer API (EJB 3.1)
    
        Simple testing using Java SE (JUnit, Maven, ...)
        using EJB container


    Packaging / Bundling
    
        Beyond the specification: control all of GlassFish
        Server with an API = GlassFish Embedded
    
        Integration testing & ship the server inside the app
What's the deal with OSGi?

    GlassFish Server runs on top of OSGi (Felix)
    
        Also runs unmodified on Equinox (and Knopflerfish)
    
        GlassFish ships as 200+ bundles
    
        Can run without OSGi (Static mode)
    
        Can use OSGi management tools (CLI or Web)
    
        Can be installed on top of existing OSGi runtime


    Any OSGi bundle will run in GlassFish Server
    
        Drop it in glassfish/modules{/autostart}
    
        Can also asadmin deploy it using --type osgi
    
        GlassFish OSGi admin console
Extending GlassFish
       OSGi-style – an example, a demo and a picture


                                                                OSGi declarative service
                                                                Service-Component
                                                                 entry in the JAR Manifest
                                                                Invoke the service from a
                                                                 servlet using standard
                                                                 @Resource injection
                                                                Never use a GlassFish
                                                                 API !
                                                                No need to chose
                                                                 between OSGi and
                                                                 Java EE

Step by step: http://blogs.sun.com/dochez/entry/glassfish_v3_extensions_part_4
OSGi + Java EE = Hybrid Apps

    GlassFish Server as the modular runtime
    
        Assembled spontaneously
    
        Admin tools (Web & CLI)

    Implementation of Java EE related OSGi
    services & standards
    
        OSGi RFC's

    Support for Java EE 6 platform
    
        e.g. JPA, EJB, JDBC, JTA, ... as OSGi services

    Web Application Bundle (WAB)
    
        WAR + OSGi metadata + Web-ContextPath header
Update Center
Monitoring and Management
    Beyond web console and asadmin

    Dynamic and non-intrusive monitoring
    
        BTrace integration
        −   Portable, dynamic and safe tracing tool for Java
        −   Btrace annotations and API to write scripts
    
        Java-defined Probe Providers
    
        RESTful interface
    
        DTrace for end-to-end

    JavaScript Monitoring tool (add-on)


    Still exposed via JMX
    
        jconsole and visualvm as natural clients
RESTful admin

    Jersey + Grizzly to provide REST interfaces to :
    
        Configure runtime (via GET, POST, DELETE)
    
        Invoke commands (restart, stop, deploy, etc..)
    
        Monitoring (GET only)

    Available from :
    
        http://localhost:4848/management/domain
    
        http://localhost:4848/monitoring/domain

    Use REST clients as Admin GUI substitute
    
        Use you favorite glue/scripting language or tool

    Data offered as either XML, HTML or JSON

    Extensible
More GlassFish Server 3.x

    Developer performance

    Embedded API

    RESTful API

    Update Center

    Metro 2.0

    OpenMQ 4.x

    Admin console

    Btrace monitoring

    ...
GlassFish Server Users
GlassFish Server OSE 3.1

    Combine benefits from versions 2.1.1 and 3.0
    
        Clustering, replication and centralized admin (2.1.1)
    
        OSGi modularity and Java EE 6 from (3.x)


    Milestone-driven development
    
        Transparent development
    
        Five milestones
    
        Now feature-complete!
    
        Looking for community feedback
GlassFish Server 3.1
Developer Highlights

    Developer Productivity
    
        Improved embedded API support
    
        Updated NetBeans and Eclipse plugin


    Updated Technologies
    
        Grizzly WebSocket support
    
        Improved CDI, JSON, hypermedia support in Jersey
    
        Technology refresh – JSF, CDI, Grizzly, OSGi, JPA,
        Jersey, Bean Validation, Metro, UC, etc.
    
        Implementation of various Enterprise OSGi Specs
GlassFish Server 3.1
Clustering Highlights

    Shoal GMS over Grizzly implementation

    Consistent hash based session replication

    Preferred fail-over by load-balancer plugin

    Metro HA: Reliable messaging sequence
    failover, Secure conversation session failover

    Support for conventional clustering of MQ
    brokers in embedded mode

    Improved automatic delegated transaction
    recovery with shared file system
GlassFish Server 3.1
Manageability Highlights

    SSH based remote management and
    provisioning

    Application versioning support

    Application scoped resources

    Statement leak detection and reclaim

    Improved monitoring

    Console based on RESTful API
Strategy for continued success

    Continue to deliver outstanding performance

    Continue to improve developer productivity

    Continue product execution
    
        Deliver Java EE 7 first
    
        Deliver on product roadmap

    Continue to innovate
    
        Improve manageability
    
        Hybrid OSGi / Java EE applications
GlassFish Server – Practical

    Get it from http://glassfish.org
    
        Graphical Installer, Zip version
    
        Download size starting at 33MB


    Stay informed :
    
        Twitter : @glassfish
    
        http://facebook.com/glassfish
    
        http://blogs.sun.com/theaquarium
    
        http://www.youtube.com/user/GlassFishVideos
Questions

More Related Content

What's hot

OSGi and Java EE in GlassFish - Tech Days 2010 India
OSGi and Java EE in GlassFish - Tech Days 2010 IndiaOSGi and Java EE in GlassFish - Tech Days 2010 India
OSGi and Java EE in GlassFish - Tech Days 2010 IndiaArun Gupta
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011Arun Gupta
 
OTN Developer Days - GlassFish
OTN Developer Days - GlassFishOTN Developer Days - GlassFish
OTN Developer Days - GlassFishglassfish
 
OSGi-enabled Java EE Applications using GlassFish at JCertif 2011
OSGi-enabled Java EE Applications using GlassFish at JCertif 2011OSGi-enabled Java EE Applications using GlassFish at JCertif 2011
OSGi-enabled Java EE Applications using GlassFish at JCertif 2011Arun Gupta
 
Running your Java EE applications in the Cloud
Running your Java EE applications in the CloudRunning your Java EE applications in the Cloud
Running your Java EE applications in the CloudArun Gupta
 
Glassfish Overview 29 Oktober 2009
Glassfish Overview 29 Oktober 2009Glassfish Overview 29 Oktober 2009
Glassfish Overview 29 Oktober 2009Eugene Bogaart
 
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
 
Glassfish An Introduction
Glassfish An IntroductionGlassfish An Introduction
Glassfish An IntroductionJumping Bean
 
GlassFish & Java EE Business Update @ CEJUG
GlassFish & Java EE Business Update @ CEJUGGlassFish & Java EE Business Update @ CEJUG
GlassFish & Java EE Business Update @ CEJUGArun 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
 
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.
 
Building Java Desktop Apps with JavaFX 8 and Java EE 7
Building Java Desktop Apps with JavaFX 8 and Java EE 7Building Java Desktop Apps with JavaFX 8 and Java EE 7
Building Java Desktop Apps with JavaFX 8 and Java EE 7Bruno Borges
 
Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overviewsbobde
 
JEE Course - JEE Overview
JEE Course - JEE  OverviewJEE Course - JEE  Overview
JEE Course - JEE Overviewodedns
 
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
 

What's hot (20)

OSGi and Java EE in GlassFish - Tech Days 2010 India
OSGi and Java EE in GlassFish - Tech Days 2010 IndiaOSGi and Java EE in GlassFish - Tech Days 2010 India
OSGi and Java EE in GlassFish - Tech Days 2010 India
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011
 
OTN Developer Days - GlassFish
OTN Developer Days - GlassFishOTN Developer Days - GlassFish
OTN Developer Days - GlassFish
 
OSGi-enabled Java EE Applications using GlassFish at JCertif 2011
OSGi-enabled Java EE Applications using GlassFish at JCertif 2011OSGi-enabled Java EE Applications using GlassFish at JCertif 2011
OSGi-enabled Java EE Applications using GlassFish at JCertif 2011
 
Running your Java EE applications in the Cloud
Running your Java EE applications in the CloudRunning your Java EE applications in the Cloud
Running your Java EE applications in the Cloud
 
Glassfish Overview 29 Oktober 2009
Glassfish Overview 29 Oktober 2009Glassfish Overview 29 Oktober 2009
Glassfish Overview 29 Oktober 2009
 
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
 
Glassfish An Introduction
Glassfish An IntroductionGlassfish An Introduction
Glassfish An Introduction
 
GlassFish & Java EE Business Update @ CEJUG
GlassFish & Java EE Business Update @ CEJUGGlassFish & Java EE Business Update @ CEJUG
GlassFish & Java EE Business Update @ CEJUG
 
GlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and FutureGlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and Future
 
JEE 8, A Big Overview
JEE 8, A Big OverviewJEE 8, A Big Overview
JEE 8, A Big Overview
 
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
 
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
 
Building Java Desktop Apps with JavaFX 8 and Java EE 7
Building Java Desktop Apps with JavaFX 8 and Java EE 7Building Java Desktop Apps with JavaFX 8 and Java EE 7
Building Java Desktop Apps with JavaFX 8 and Java EE 7
 
Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overview
 
GlassFish Community and future larochelle
GlassFish Community and future larochelleGlassFish Community and future larochelle
GlassFish Community and future larochelle
 
JEE Course - JEE Overview
JEE Course - JEE  OverviewJEE Course - JEE  Overview
JEE Course - JEE Overview
 
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
 
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
 

Viewers also liked

Securing Mobile Device Access
Securing Mobile Device AccessSecuring Mobile Device Access
Securing Mobile Device AccessArtur Alves
 
MySQL June/2009 FDTI - Portuguese Version
MySQL June/2009 FDTI - Portuguese VersionMySQL June/2009 FDTI - Portuguese Version
MySQL June/2009 FDTI - Portuguese VersionArtur Alves
 
Securing Corporate Applications and Data on Personal Devices
Securing Corporate Applications and Data on Personal DevicesSecuring Corporate Applications and Data on Personal Devices
Securing Corporate Applications and Data on Personal DevicesArtur Alves
 
A.Alves Sun GlassFish Portfolio preso - JavaPT '09
A.Alves Sun GlassFish Portfolio preso - JavaPT '09A.Alves Sun GlassFish Portfolio preso - JavaPT '09
A.Alves Sun GlassFish Portfolio preso - JavaPT '09Artur Alves
 
Java keynote preso
Java keynote presoJava keynote preso
Java keynote presoArtur Alves
 
Strategies for Reducing Access Controls Risk
Strategies for Reducing Access Controls RiskStrategies for Reducing Access Controls Risk
Strategies for Reducing Access Controls RiskArtur Alves
 

Viewers also liked (6)

Securing Mobile Device Access
Securing Mobile Device AccessSecuring Mobile Device Access
Securing Mobile Device Access
 
MySQL June/2009 FDTI - Portuguese Version
MySQL June/2009 FDTI - Portuguese VersionMySQL June/2009 FDTI - Portuguese Version
MySQL June/2009 FDTI - Portuguese Version
 
Securing Corporate Applications and Data on Personal Devices
Securing Corporate Applications and Data on Personal DevicesSecuring Corporate Applications and Data on Personal Devices
Securing Corporate Applications and Data on Personal Devices
 
A.Alves Sun GlassFish Portfolio preso - JavaPT '09
A.Alves Sun GlassFish Portfolio preso - JavaPT '09A.Alves Sun GlassFish Portfolio preso - JavaPT '09
A.Alves Sun GlassFish Portfolio preso - JavaPT '09
 
Java keynote preso
Java keynote presoJava keynote preso
Java keynote preso
 
Strategies for Reducing Access Controls Risk
Strategies for Reducing Access Controls RiskStrategies for Reducing Access Controls Risk
Strategies for Reducing Access Controls Risk
 

Similar to GlassFish OSGi Server

Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Abhishek Gupta
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Abhishek Gupta
 
Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010
Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010
Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010JUG Lausanne
 
Gf University 27may09 Amersfoort
Gf University 27may09 AmersfoortGf University 27may09 Amersfoort
Gf University 27may09 AmersfoortEugene Bogaart
 
WebLogic Developer Experience and Java EE 6
WebLogic Developer Experience and Java EE 6WebLogic Developer Experience and Java EE 6
WebLogic Developer Experience and Java EE 6Jeffrey West
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1sandeep54552
 
Comparing glassfish-jboss
Comparing glassfish-jbossComparing glassfish-jboss
Comparing glassfish-jbosshung170872
 
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...Peter Pilgrim
 
Part 3 JasForge the collaborative and agile project v1.0
Part 3   JasForge the collaborative and agile project v1.0Part 3   JasForge the collaborative and agile project v1.0
Part 3 JasForge the collaborative and agile project v1.0Jasmine Conseil
 
Glassfish - FISL10 - Arun Gupta
Glassfish - FISL10 - Arun GuptaGlassfish - FISL10 - Arun Gupta
Glassfish - FISL10 - Arun Guptadudulima
 
Playframework + Twitter Bootstrap
Playframework + Twitter BootstrapPlayframework + Twitter Bootstrap
Playframework + Twitter BootstrapKevingo Tsai
 
ICEfaces EE - Enterprise-ready JSF Ajax Framework
ICEfaces EE - Enterprise-ready JSF Ajax FrameworkICEfaces EE - Enterprise-ready JSF Ajax Framework
ICEfaces EE - Enterprise-ready JSF Ajax FrameworkICEsoftTech
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year projectsuneel singh
 
Survey of restful web services frameworks
Survey of restful web services frameworksSurvey of restful web services frameworks
Survey of restful web services frameworksVijay Prasad Gupta
 

Similar to GlassFish OSGi Server (20)

Enterprise GlassFish
Enterprise GlassFishEnterprise GlassFish
Enterprise GlassFish
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2
 
Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010
Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010
Java EE 6 & GlassFish V3 - Alexis Moussine-Pouchkine - May 2010
 
Glass Fishv3 March2010
Glass Fishv3 March2010Glass Fishv3 March2010
Glass Fishv3 March2010
 
EmbbededGF@JavaOneHyd
EmbbededGF@JavaOneHydEmbbededGF@JavaOneHyd
EmbbededGF@JavaOneHyd
 
Gf University 27may09 Amersfoort
Gf University 27may09 AmersfoortGf University 27may09 Amersfoort
Gf University 27may09 Amersfoort
 
WebLogic Developer Experience and Java EE 6
WebLogic Developer Experience and Java EE 6WebLogic Developer Experience and Java EE 6
WebLogic Developer Experience and Java EE 6
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
 
Comparing glassfish-jboss
Comparing glassfish-jbossComparing glassfish-jboss
Comparing glassfish-jboss
 
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
 
Part 3 JasForge the collaborative and agile project v1.0
Part 3   JasForge the collaborative and agile project v1.0Part 3   JasForge the collaborative and agile project v1.0
Part 3 JasForge the collaborative and agile project v1.0
 
Glassfish - FISL10 - Arun Gupta
Glassfish - FISL10 - Arun GuptaGlassfish - FISL10 - Arun Gupta
Glassfish - FISL10 - Arun Gupta
 
JBoss AS7 OSDC 2011
JBoss AS7 OSDC 2011JBoss AS7 OSDC 2011
JBoss AS7 OSDC 2011
 
Playframework + Twitter Bootstrap
Playframework + Twitter BootstrapPlayframework + Twitter Bootstrap
Playframework + Twitter Bootstrap
 
Hybrid Applications
Hybrid ApplicationsHybrid Applications
Hybrid Applications
 
ICEfaces EE - Enterprise-ready JSF Ajax Framework
ICEfaces EE - Enterprise-ready JSF Ajax FrameworkICEfaces EE - Enterprise-ready JSF Ajax Framework
ICEfaces EE - Enterprise-ready JSF Ajax Framework
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
 
GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09
 
Survey of restful web services frameworks
Survey of restful web services frameworksSurvey of restful web services frameworks
Survey of restful web services frameworks
 

Recently uploaded

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 

GlassFish OSGi Server

  • 1. GlassFish Server The future of Java EE is here Artur Alves Solution Architect Oracle Portugal 1
  • 2. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle's products remains at the sole discretion of Oracle.
  • 3. This is no science fiction Java EE 6 and GlassFish Server 3 shipped final releases on December 10th 2009
  • 5. GlassFish Server Chronology 2006 2007 2008 2009 2010 … GlassFish v1 Java EE 5, Single Instance GlassFish v2 Java EE 5, High Availability GlassFish Server 3 Java EE 6, Single Instance GlassFish Server 3.1 Java EE 6, High Availability
  • 6. GlassFish Community  Proven by developers  Over 10 million downloads annually  50K active users in 30 days w/GlassFish Server 3  Active user forums  Sub-projects − Jersey (JAX-RS), Metro (JAX-WS), Grizzly (nio), Atmosphere, OpenMQ (JMS), and more  Application Server  Open Source and high-quality runtime  Java EE 5 / 6 Reference Implementation, early access to latest standards  Full Commercial Support from Oracle
  • 7. Future of GlassFish Open Source  No change to operation of project  Open Source license, governance, participation, transparency, ...  Roadmap GlassFish Server Open Source Edition  GlassFish Server 3.0.1 shipped in June as planned  Two releases in 2011  GlassFish Server 4.0 aligned with Java EE 7  Clustering, centralized admin, Coherence, virtualization  Details at http://glassfish.org/roadmap
  • 8. General Picture of Distributions
  • 10. Oracle Application Grid Efficiency Simplification Lowest operational Competitiveness Best foundation for costs Outperform with speed and flexibility entire software stack
  • 11. GlassFish and WebLogic together • Best open source application server with • Best commercial application server for support from Oracle transactional Java EE applications • Open source platform of choice for light- • Platform of choice for standardization weight Web applications • Focus on lowest operational cost and • Focus on latest Java EE standards and mission critical applications community driven innovation • integration with Oracle Database, Fusion • Certified interoperability with Fusion Middleware & Fusion Applications Middleware • Differentiated innovation, scout thread Production Java Production Java Application Deployment Application Deployment GlassFish Server WebLogic Server
  • 12. Painless Java EE development ! The save/reload paradigm  Incremental compile of all Java EE artifacts  Auto-deploy of all Java EE and static artifacts
  • 13. Session Retention  Deployment option to maintain stateful sessions across re-deployments $ asadmin redeploy --properties keepSessions=true myapp.war  Greatly simplifies the development paradigm  Integrated in IDEs
  • 14. Yes, Eclipse too ! OEPE : http://www.oracle.com/technetwork/developer-tools/eclipse
  • 16. Java EE 6 Themes Flexible Embrace open source Web Profile & frameworks Pruning Lightweight Extensible Enables Drag & Drop framework installation Java EE Developer Productivity More annotations POJO development Less XML configuration
  • 17. GlassFish Server Goals Java EE 6 Themes Oracle GlassFish Server • Flexibility • Flexibility • Extensibility • Extensibility • Developer Productivity • Developer Productivity • Modularity / OSGi / Hybrid Apps • Manageability • High availability clustering • 24 x 7 x 365 support
  • 18. Modular and Dynamic  Modular : Apache Felix (OSGi)  Extensible : HK2  Yet very Fast !
  • 19.
  • 20. More Painless Development  Fast auto-deploy of all Java EE and static artifacts  Application runner  java -jar glassfish.jar toto.war  Maven integration  mvn gf:run, gf:start, gf:deploy, ...  Containers added dynamically and transparently  Excellent Tools support
  • 21. Embedded uses  Testing  EJBContainer API (EJB 3.1)  Simple testing using Java SE (JUnit, Maven, ...) using EJB container  Packaging / Bundling  Beyond the specification: control all of GlassFish Server with an API = GlassFish Embedded  Integration testing & ship the server inside the app
  • 22. What's the deal with OSGi?  GlassFish Server runs on top of OSGi (Felix)  Also runs unmodified on Equinox (and Knopflerfish)  GlassFish ships as 200+ bundles  Can run without OSGi (Static mode)  Can use OSGi management tools (CLI or Web)  Can be installed on top of existing OSGi runtime  Any OSGi bundle will run in GlassFish Server  Drop it in glassfish/modules{/autostart}  Can also asadmin deploy it using --type osgi  GlassFish OSGi admin console
  • 23. Extending GlassFish OSGi-style – an example, a demo and a picture  OSGi declarative service  Service-Component entry in the JAR Manifest  Invoke the service from a servlet using standard @Resource injection  Never use a GlassFish API !  No need to chose between OSGi and Java EE Step by step: http://blogs.sun.com/dochez/entry/glassfish_v3_extensions_part_4
  • 24. OSGi + Java EE = Hybrid Apps  GlassFish Server as the modular runtime  Assembled spontaneously  Admin tools (Web & CLI)  Implementation of Java EE related OSGi services & standards  OSGi RFC's  Support for Java EE 6 platform  e.g. JPA, EJB, JDBC, JTA, ... as OSGi services  Web Application Bundle (WAB)  WAR + OSGi metadata + Web-ContextPath header
  • 26. Monitoring and Management Beyond web console and asadmin  Dynamic and non-intrusive monitoring  BTrace integration − Portable, dynamic and safe tracing tool for Java − Btrace annotations and API to write scripts  Java-defined Probe Providers  RESTful interface  DTrace for end-to-end  JavaScript Monitoring tool (add-on)  Still exposed via JMX  jconsole and visualvm as natural clients
  • 27. RESTful admin  Jersey + Grizzly to provide REST interfaces to :  Configure runtime (via GET, POST, DELETE)  Invoke commands (restart, stop, deploy, etc..)  Monitoring (GET only)  Available from :  http://localhost:4848/management/domain  http://localhost:4848/monitoring/domain  Use REST clients as Admin GUI substitute  Use you favorite glue/scripting language or tool  Data offered as either XML, HTML or JSON  Extensible
  • 28. More GlassFish Server 3.x  Developer performance  Embedded API  RESTful API  Update Center  Metro 2.0  OpenMQ 4.x  Admin console  Btrace monitoring  ...
  • 30. GlassFish Server OSE 3.1  Combine benefits from versions 2.1.1 and 3.0  Clustering, replication and centralized admin (2.1.1)  OSGi modularity and Java EE 6 from (3.x)  Milestone-driven development  Transparent development  Five milestones  Now feature-complete!  Looking for community feedback
  • 31. GlassFish Server 3.1 Developer Highlights  Developer Productivity  Improved embedded API support  Updated NetBeans and Eclipse plugin  Updated Technologies  Grizzly WebSocket support  Improved CDI, JSON, hypermedia support in Jersey  Technology refresh – JSF, CDI, Grizzly, OSGi, JPA, Jersey, Bean Validation, Metro, UC, etc.  Implementation of various Enterprise OSGi Specs
  • 32. GlassFish Server 3.1 Clustering Highlights  Shoal GMS over Grizzly implementation  Consistent hash based session replication  Preferred fail-over by load-balancer plugin  Metro HA: Reliable messaging sequence failover, Secure conversation session failover  Support for conventional clustering of MQ brokers in embedded mode  Improved automatic delegated transaction recovery with shared file system
  • 33. GlassFish Server 3.1 Manageability Highlights  SSH based remote management and provisioning  Application versioning support  Application scoped resources  Statement leak detection and reclaim  Improved monitoring  Console based on RESTful API
  • 34. Strategy for continued success  Continue to deliver outstanding performance  Continue to improve developer productivity  Continue product execution  Deliver Java EE 7 first  Deliver on product roadmap  Continue to innovate  Improve manageability  Hybrid OSGi / Java EE applications
  • 35. GlassFish Server – Practical  Get it from http://glassfish.org  Graphical Installer, Zip version  Download size starting at 33MB  Stay informed :  Twitter : @glassfish  http://facebook.com/glassfish  http://blogs.sun.com/theaquarium  http://www.youtube.com/user/GlassFishVideos