SlideShare ist ein Scribd-Unternehmen logo
1 von 49
Downloaden Sie, um offline zu lesen
GlassFish
Technical Overview

May 2009
                     1
What Is GlassFish?
• A Java EE 5-compliant Application Server
    > Can run J2EE applications too

• Open Source
    > CDDL (like OpenSolaris, NetBeans)
    > GPLv2 (like Java and NetBeans)

• Enterprise Quality
    > GlassFish Enterprise Application Server
    > Adds support, indemnification, and 99.999%
        availability
What Is GlassFish? (Cont.)

• Community at http://glassfish.org
    > Sources, bug DBs, discussions
    > Roadmaps
    > Architecture Documents


• Governance Board
    > 2 Sun members: Simon Phipps, Eduardo Pelegri-
        Llopart
    > 3 Non-Sun individual members from Google,
        Wotif.Com, Amex
What is Application Server?

• An application server is a server that hosts APIs to
     expose business logic and business processes
     for use by third-party applications.
• It provides an n-tier architecture
• Often referred to as an J2EE application Server
Application Server flavors?

• WebSphere Application Server and WebSphere
  Application Server Community Edition (IBM),
  Sybase Enterprise Application Server (Sybase Inc),
  WebLogic Server (BEA), JBoss (Red Hat), JRun
  (Adobe Systems), Apache Geronimo (Apache
  Software Foundation), Oracle OC4J (Oracle
  Corporation), Sun Java System Application Server
  (based on GlassFish Application Server)(Sun
  Microsystems), SAP Netweaver AS (ABAP/Java)
  (SAP), and Glassfish Application Server.
Application Server & Open Source
Sun's Open Stack
Flexible and Heterogeneous with Zero Barrier to Exit

Database Platform

Application
Infrastructure

Virtualization           Sun xVM                       VirtualBox

Operating System

Partners

Architecture
GlassFish around You




     Get your own local snapshot from: http://beta.glassfish.java.net:81/maps/
GlassFish Adoption
• Millions of downloads




• Dozens of external committers
• Over 8,000 members
• Excellent analyst reviews
     > Gartner, Forrester, etc...
GlassFish
Best of class App Server               http://glassfish.org

 • GlassFish v2 released Sept. 2007
     > 4 millions downloads
     > From x3 to x10 usage over 12 months

 • Out of the box :
     >   Web Services interop with Microsoft
     >   Full Clustering
     >   Administration tools
     >   Performance (SPEC record)
     >   Tooling (NetBeans, Eclipse, ...)
Timeline of Project GlassFish



Tomcat
Jasper
Catalina
                         v1            v2                 v3       v3
 JSTL      GlassFish                               v2.1 prelude   beta/ea
 Struts                       v1 UR1           UR1UR2
Crimson     Launch                                          v2.1p1
XSLTC
 Xalan
Xerces

  JAXB       J1'05      J1'06          Sept.             Nov
JAX-RPC                                2007              2008
   JSF
           June 2005   May 2006
                                                        (you are here)
GlassFish v2 for the Enterprise
• Web Tier
    > Grizzly nio framework (HTTP, IIOP, SIP)
    > Dynamic Web Container
    > Ultra-fast JSP compilation

• Metro Web Services Stack
    > One-stop shop for Web Services starting with JAX-WS
    > Performance, Advanced WS & Microsoft interoperability

• Clustering, Load-Balancing, HA
    > Dynamic group management system (Shoal)
    > In-memory replication
    > Unified Management
GlassFish Application Server v2

• Concepts:
    >   Administrative Domain
    >   Cluster
    >   Server Instance
    >   Configuration
    >   Application and Resources
    >   Node Agent
    >   Domain Administration Server (DAS)
Clustering in GlassFish v2




            JMX = Java Management Extensions
Out of the Box


●Full Clustering?
●Let's create one

 ● 1 Install GlassFish with cluster profile

 ● Create a Domain Admin Server

 ● Create a NodeAgent 1

 ● Create Instance 1 & Instance 2

 ● Deploy a sample app with session state

 ● Test Cluster
Node 1
HADB

 Node 1

 Node 2




HADB
GlassFish v2 for the Enterprise
Integration
 • Open MQ
     >   High performing JMS implementation
     >   HA for brokers and messages
     >   Available as standalone product
     >   Integration with GlassFish
              > In memory, Out of process, or Remote
 • JBI support
     > OpenESB 2.0 as the integration back-bone
     > Install, admin, and monitoring integrated in GlassFish v2
     > Basis for Java CAPS Release 6
 • Oracle TopLink as default JPA persistence engine
     > Hibernate also easily usable
GlassFish v2 for Enterprises
Management & Monitoring

• Graphical, command-line, tools, ANT ...
      > JMX and Centralized
•   Call Flow
•   Self-management
•   Diagnostic reports
•   VisualVM
      > Now in Java 6u7
      > GlassFish plugin
Call Flow demo
Web Admin Console
Enterprise Management Tools

Demonstration
• Performance Advisor
• Performance Monitor



Other demos
• SNMP
Enterprise Management Tools
Performance
GlassFish Performance                                                                                                             1000
                                                                                                                                             SPECjAppServer 2004 Results


    SPECjAppServer                                                                                                                     900
                                                                                                                                       800
                                                                                                                                       700




                                                                                                                                                                           ?
                                                                                                                                       600


       > July 2007: #1 score on T2000                                                                                                  500
                                                                                                                                       400
                                                                                                                                       300


                        > 883.66 JOPS@Standard for GlassFish v2                                                                        200
                                                                                                                                       100
                                                                                                                                         0

                        > + 10% vs. WebLogic, +30% vs. WebSphere 6.1                                                                           Sun       BEA       IBM
                                                                                                                                                                         JBoss
                                                                                                                                                                             JBoss




       > July 2007: Best $/perf. on full Open Source
                        > GlassFish v2, OpenSolaris, Java 6, PostgreSQL
                        > 3x the price/perf vs. Oracle on HP score

       > November 2007: Massive Scalability Result
                        > 8,439.36 JOPS@Standard (6 nodes, 18 instances)
                        > Sun T5120 & E6900

         You no longer need to chose between Open Source and Performance
Disclaimers: SPEC and the benchmark name SPECjAppServer 2004 are registered trademarks of the Standard Performance Evaluation Corporation. Competitive benchmark results stated
 above reflect results published on www.spec.org as of 11/21/07. The comparison presented is based on GlassFish v2 UR1 run on 6 Sun SPARC Enterprise T5120 (1 chip, 8 cores/chip, 8
                 threads/core) 1.4GHz 8,439.36 SPECjAppServer2004 JOPS@Standard. For the latest SPECjAppServer 2004 benchmark results, visit http://www.spec.org/.
GlassFish v2 for the Developer

• Single, smaller, download • Cool Technologies
    > Around 60 MB total                   > Grizzly's Comet, jRuby
    >                                      > on Rails, jMaki, …
• Multiple User Profiles                   >
    > Developer, Cluster, Enterprise   • Update Center
    > Upgrade from one to another          > Provision and install new
                                           > features, frameworks, …
    >
                                           >
• Better startup time                  • Tools support
    > Almost matches Tomcat
                                           > NetBeans, (My)Eclipse,
    > (see also GlassFish v3)              > IntelliJ, etc...
Java EE 5 = (J2EE 1.4).next

• Java EE 5 Theme: Ease of Development
• POJO-based programming
    > More freedom, fewer requirements
• Extensive use of annotations
    > Reduced need for deployment descriptors
    > Annotations are the default
• Resource Injection
• New APIs and frameworks
GlassFish

Developement Made Easy
Out-of-the-Box Support
• Latest Java EE specification
• Integrated with NetBeans (and Eclipse bundle)
    > More freedom, fewer requirements
• Key technologies, including:
    > Java RMI over internet inter-ORB protocol (RMI-IIOP)
    > J2EE Connector Architecture and Java Messaging Service (JMS)
    > Enterprise JavaBeans (EJB) 3.0 specification
• Implements Java Management Extensions (JMX) &
  application server Management Extensions (AMX) API
• Custom managed beans (Mbeans)
• Representation State Transfer (REST) web services
Enhanced Developer Productivity
• SOA features and web services, including web services
  management
• Annotation for rapid development and deployment of enterprise
  applications
• Simplified deployment and execution of enterprise applications
  by integrating with Java Web Start
• The incorporation of run-time performance improvements and
  new technologies
• Database connectivity to Oracle, Sybase, IBM, Microsoft SQL,
  MySQL and Derby
• Enhanced and easy web-based administration, as well as full
  administration from a command-line interface
Easy of use
• Update Center
JBI support

Enterprise Integration
JBI – A Universal Plug 'n Play Layer
●   A standard way to add new
    functionality to an existing
    platform
●   Standard Installation and life
    cycle for components
●   Standard WSDL based
    communication across
    components
●   Standard deployment model for
    all components
●   Result of the experience we
    had with our own Products:
    Integration Server EAI,
    SeeBeyond ICAN
Open ESB: An Extensible Platform
JBI in a Nutshell
ESB Container Foundation
                                                                            Service Engines
                                                                            (SEs) as logic
 Orchestration          Transformation                                      containers
                                                J2EE Platform
    (BPEL)                 (XSLT)




                                                                                           Management
                                                                                             System
         Normalized Message Router
                                                                        JBI
                                                                      Core
                                                          •   The “JBI Bus”: a fast, reliable, in-memory
                                                                    Services
                                                                        messaging bus
                                                        • Mediates all message exchanges between
   WS-I Basic           AS2             JMS                       consumers and providers
   SOAP                                              • Message payloads are opaque data sent along to
        Binding Components                                    the receiver (no canonicalization)
        (BCs)                         J2EE™   PlatformNormalization not performed when consumer and
                                                     •

        as proxies to outside world                             provider in same JBI container
Request
          starts here!

        Calculate
         interest
Providerate based
values on type
from UI
           Monthly
          Payment!



          Copy
        Record to
Provide Database
values
 to UI    Drop
        Quote on
        Message
         Queue
JBI & BPEL Demo
GlassFish Next
Java EE 6 – JSR 316
                                                      •   New and updated:
   •   Extensibility                                  •   JSF 2.0 (JSR 314)
   •   Profiles                                       •   JSP 2.2
   •   Pruning                                        •   JAX-RS (JSR 311)
   •   More ease of                                   •   WebBeans 1.0 (JSR 299)
         development                                  •   Servlets 3.0 (JSR 315)
                                                      •   EJB 3.1
            Rightsizing                               •   Java Persistence 2.0
                                                      •   JAX-WS 2.2
Goal is to deliver a final version first half of 2009
                                                      •   Java EE Connectors 1.6
The exact set of technologies to be included will be determined by the expert group
Java EE 6 – Enhancements
• Servlet 3.0
    > No more web.xml editing
    > ARP (Async. Request Processing)
    > File upload
• JPA 2.0
    >   Criteria API
    >   Collections and better Maps support
    >   Validation support (JSR 303)
    >   @OrderBy, specify unfetched state
• JSF 2.0
    > Make custom components much easier to develop
    > Ajax support, less config., align w/Portlet 2.0, Facelets
Java EE 6 – EJB 3.1
• Packaging simplification
     > No more ejb-jar. Easier to share libraries, persistence units
• Singleton Beans
     > @Singleton to share data in EJB container (per JVM)
• Concurrency
     > @ReadOnly as singleton optimization (vs. single-threaded)
     > @BeanManagedConcurrency for explicitly synchronized
• TimerService
     > @Schedule(hour=quot;12quot;,dayOfMonth=quot;2quot;)
     > Automatic creation (on deploy)
• Asynchronous operations
     > @Asynchronous public void init (...) { ... }
     > @Asynchronous Future doWork (...) { ... }
Java EE 6 – New APIs
• Web Beans 1.0
    > Brings together JSF and EJB
    > Inspired by JBoss' Seam
          > JBoss (Gavin King) is spec lead for JSR 299
          > Bob Lee (Guice) heavily involved
• JAX-RS
    > RESTful Web Services
    > RI developed in // with Spec:
          http://jersey.dev.java.net
    >   Expose POJO as RESTful resources
    >   High-level declarative programming model
    >   Flexible typing, runtime does common conversions
    >   Pluggable types, containers, and resolvers
GlassFish v3
•   Fast startup
•   Modular (OSGi), extensible architecture
•   Dynamic resource and runtime loading
•   Build-your-own runtime
•   Not just Java
      > Ruby on Rails, Grails, PHP, Python/Django, Scala
      > Leverage performance, admin, monitoring, clustering
• Preview available now (TP2)
      > Final in 2009, possibly a web tier in 2008
      > Aligned with Java EE 6
GlassFish v3 (cont.)
•   OSGi: Apache Felix as default
•   21 MB download, 1-sec startup
•   Admin and update tool downloaded on demand
•   Add-ons available from update center :
      >   EJB 3.1 (preview)
      >   jRuby On Rails (no WAR packaging required)
      >   Grails (now also for GlassFish v2)
      >   Jersey and Metro (Web Services)
      >   jMaki (Ajax)
• Tools-ready: NetBeans 6.1, Eclipse 3.4
• Embedded GlassFish API
GlassFish ESB
GlassFish Project v3 + Open ESB v3
(Some) Distributions & Contributors
                                 Tools

             Java EE RI & SDK      NetBeans™             Communities
                                      IDE
   Distributions                               Eclipse Plugin
                                                                  OpenSSO
 GlassFish Enterprise                                Derby


                                                    MQ           Hudson
      JBoss 5                    Project
                                GlassFish            GlassFish
  TmaxSoft JEUS 6                                      Portal
     Oracle oc4j
                                               OpenESB       SailFin
     BEA WebLogic 10
                                Maven Rep
                                                                       OpenDS

                                   Users and Other Groups
Glassfish
Where to go next

 • Add-ons
    > Glassfish Enterprise Server
    > Glassfish ESB
    > Glassfish Web Space Server
    > Glassfish Web Stack
Glassfish
Where to go next

 • http://glassfish.org
 • http://wiki.glassfish.java.net
 • http://blogs.sun.com/theaquarium
      > Daily news, broader GlassFish community
 • http://java.sun.com/javaone
      > Presentations and Hands-on-Labs
Questions ?
Eugene.bogaart@sun.com

                         49

Weitere ähnliche Inhalte

Was ist angesagt?

Java EE 6 Component Model Explained
Java EE 6 Component Model Explained Java EE 6 Component Model Explained
Java EE 6 Component Model Explained
Shreedhar Ganapathy
 
Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010
Codecamp Romania
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011
Agora Group
 

Was ist angesagt? (20)

Java EE 6 Component Model Explained
Java EE 6 Component Model Explained Java EE 6 Component Model Explained
Java EE 6 Component Model Explained
 
Java EE 6 & 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
 
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
 
Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overview
 
Java EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolioJava EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolio
 
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 : 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 EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010
 
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 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
 
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
 
Java 7 workshop
Java 7 workshopJava 7 workshop
Java 7 workshop
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011
 
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
 
What's new in Java EE 6
What's new in Java EE 6What's new in Java EE 6
What's new in Java EE 6
 
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
 
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
 
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
 
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
 

Ähnlich wie Glassfish Overview Fontys 20090520

Wicket Deliver Your Webapp On Time
Wicket Deliver Your Webapp On TimeWicket Deliver Your Webapp On Time
Wicket Deliver Your Webapp On Time
Will Hoover
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2
Abhishek Gupta
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2
Abhishek Gupta
 

Ähnlich wie Glassfish Overview Fontys 20090520 (20)

Glassfish Overview for Sogeti 20090225
Glassfish Overview for Sogeti 20090225Glassfish Overview for Sogeti 20090225
Glassfish Overview for Sogeti 20090225
 
Java EE 8 Overview (Japanese)
Java EE 8 Overview (Japanese)Java EE 8 Overview (Japanese)
Java EE 8 Overview (Japanese)
 
Glassfish V2.1 Harpreet Singh
Glassfish V2.1 Harpreet SinghGlassfish V2.1 Harpreet Singh
Glassfish V2.1 Harpreet Singh
 
GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09
 
Gf Overview For Spanish Speakers 16 October2008
Gf Overview For Spanish Speakers 16 October2008Gf Overview For Spanish Speakers 16 October2008
Gf Overview For Spanish Speakers 16 October2008
 
GlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and FutureGlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and Future
 
Glass Fishv3 March2010
Glass Fishv3 March2010Glass Fishv3 March2010
Glass Fishv3 March2010
 
Comparing JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket
Comparing JSF, Spring MVC, Stripes, Struts 2, Tapestry and WicketComparing JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket
Comparing JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket
 
Wicket Deliver Your Webapp On Time
Wicket Deliver Your Webapp On TimeWicket Deliver Your Webapp On Time
Wicket Deliver Your Webapp On Time
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs TomcatWebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
 
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
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2
 
Comparing Flex, Grails, GWT, Seam, Struts 2 and Wicket
Comparing Flex, Grails, GWT, Seam, Struts 2 and WicketComparing Flex, Grails, GWT, Seam, Struts 2 and Wicket
Comparing Flex, Grails, GWT, Seam, Struts 2 and Wicket
 
Java EE 6 & GlassFish v3: Paving path for the future
Java EE 6 & GlassFish v3: Paving path for the futureJava EE 6 & GlassFish v3: Paving path for the future
Java EE 6 & GlassFish v3: Paving path for the future
 
Java EE 7 - Overview and Status
Java EE 7  - Overview and StatusJava EE 7  - Overview and Status
Java EE 7 - Overview and Status
 
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
 
New Features of Java7 SE
New Features of Java7 SENew Features of Java7 SE
New Features of Java7 SE
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2
 
10 reasons why Nuxeo is using GlassFish
10 reasons why Nuxeo is using GlassFish10 reasons why Nuxeo is using GlassFish
10 reasons why Nuxeo is using GlassFish
 
Application Architecture Trends
Application Architecture TrendsApplication Architecture Trends
Application Architecture Trends
 

Mehr von Eugene Bogaart

What is new and cool j2se & java
What is new and cool j2se & javaWhat is new and cool j2se & java
What is new and cool j2se & java
Eugene Bogaart
 
Introduction into JavaFX
Introduction into JavaFXIntroduction into JavaFX
Introduction into JavaFX
Eugene Bogaart
 

Mehr von Eugene Bogaart (7)

What is new and cool j2se & java
What is new and cool j2se & javaWhat is new and cool j2se & java
What is new and cool j2se & java
 
Introduction into JavaFX
Introduction into JavaFXIntroduction into JavaFX
Introduction into JavaFX
 
Java Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewJava Enterprise Edition 6 Overview
Java Enterprise Edition 6 Overview
 
EDA With Glassfish ESB Jfall IEP Intelligent Event Processing
EDA With Glassfish ESB Jfall IEP Intelligent Event ProcessingEDA With Glassfish ESB Jfall IEP Intelligent Event Processing
EDA With Glassfish ESB Jfall IEP Intelligent Event Processing
 
Glassfish Overview 29 Oktober 2009
Glassfish Overview 29 Oktober 2009Glassfish Overview 29 Oktober 2009
Glassfish Overview 29 Oktober 2009
 
Gf University 27may09 Amersfoort
Gf University 27may09 AmersfoortGf University 27may09 Amersfoort
Gf University 27may09 Amersfoort
 
Glass Fish V3 University Amers May2009
Glass Fish V3  University Amers May2009Glass Fish V3  University Amers May2009
Glass Fish V3 University Amers May2009
 

Kürzlich hochgeladen

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

Kürzlich hochgeladen (20)

[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
 
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
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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?
 
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...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Glassfish Overview Fontys 20090520

  • 2. What Is GlassFish? • A Java EE 5-compliant Application Server > Can run J2EE applications too • Open Source > CDDL (like OpenSolaris, NetBeans) > GPLv2 (like Java and NetBeans) • Enterprise Quality > GlassFish Enterprise Application Server > Adds support, indemnification, and 99.999% availability
  • 3. What Is GlassFish? (Cont.) • Community at http://glassfish.org > Sources, bug DBs, discussions > Roadmaps > Architecture Documents • Governance Board > 2 Sun members: Simon Phipps, Eduardo Pelegri- Llopart > 3 Non-Sun individual members from Google, Wotif.Com, Amex
  • 4. What is Application Server? • An application server is a server that hosts APIs to expose business logic and business processes for use by third-party applications. • It provides an n-tier architecture • Often referred to as an J2EE application Server
  • 5. Application Server flavors? • WebSphere Application Server and WebSphere Application Server Community Edition (IBM), Sybase Enterprise Application Server (Sybase Inc), WebLogic Server (BEA), JBoss (Red Hat), JRun (Adobe Systems), Apache Geronimo (Apache Software Foundation), Oracle OC4J (Oracle Corporation), Sun Java System Application Server (based on GlassFish Application Server)(Sun Microsystems), SAP Netweaver AS (ABAP/Java) (SAP), and Glassfish Application Server.
  • 6. Application Server & Open Source
  • 7. Sun's Open Stack Flexible and Heterogeneous with Zero Barrier to Exit Database Platform Application Infrastructure Virtualization Sun xVM VirtualBox Operating System Partners Architecture
  • 8. GlassFish around You Get your own local snapshot from: http://beta.glassfish.java.net:81/maps/
  • 9. GlassFish Adoption • Millions of downloads • Dozens of external committers • Over 8,000 members • Excellent analyst reviews > Gartner, Forrester, etc...
  • 10. GlassFish Best of class App Server http://glassfish.org • GlassFish v2 released Sept. 2007 > 4 millions downloads > From x3 to x10 usage over 12 months • Out of the box : > Web Services interop with Microsoft > Full Clustering > Administration tools > Performance (SPEC record) > Tooling (NetBeans, Eclipse, ...)
  • 11. Timeline of Project GlassFish Tomcat Jasper Catalina v1 v2 v3 v3 JSTL GlassFish v2.1 prelude beta/ea Struts v1 UR1 UR1UR2 Crimson Launch v2.1p1 XSLTC Xalan Xerces JAXB J1'05 J1'06 Sept. Nov JAX-RPC 2007 2008 JSF June 2005 May 2006 (you are here)
  • 12. GlassFish v2 for the Enterprise • Web Tier > Grizzly nio framework (HTTP, IIOP, SIP) > Dynamic Web Container > Ultra-fast JSP compilation • Metro Web Services Stack > One-stop shop for Web Services starting with JAX-WS > Performance, Advanced WS & Microsoft interoperability • Clustering, Load-Balancing, HA > Dynamic group management system (Shoal) > In-memory replication > Unified Management
  • 13. GlassFish Application Server v2 • Concepts: > Administrative Domain > Cluster > Server Instance > Configuration > Application and Resources > Node Agent > Domain Administration Server (DAS)
  • 14. Clustering in GlassFish v2 JMX = Java Management Extensions
  • 15. Out of the Box ●Full Clustering? ●Let's create one ● 1 Install GlassFish with cluster profile ● Create a Domain Admin Server ● Create a NodeAgent 1 ● Create Instance 1 & Instance 2 ● Deploy a sample app with session state ● Test Cluster
  • 17. HADB Node 1 Node 2 HADB
  • 18. GlassFish v2 for the Enterprise Integration • Open MQ > High performing JMS implementation > HA for brokers and messages > Available as standalone product > Integration with GlassFish > In memory, Out of process, or Remote • JBI support > OpenESB 2.0 as the integration back-bone > Install, admin, and monitoring integrated in GlassFish v2 > Basis for Java CAPS Release 6 • Oracle TopLink as default JPA persistence engine > Hibernate also easily usable
  • 19. GlassFish v2 for Enterprises Management & Monitoring • Graphical, command-line, tools, ANT ... > JMX and Centralized • Call Flow • Self-management • Diagnostic reports • VisualVM > Now in Java 6u7 > GlassFish plugin
  • 22. Enterprise Management Tools Demonstration • Performance Advisor • Performance Monitor Other demos • SNMP
  • 24. GlassFish Performance 1000 SPECjAppServer 2004 Results SPECjAppServer 900 800 700 ? 600 > July 2007: #1 score on T2000 500 400 300 > 883.66 JOPS@Standard for GlassFish v2 200 100 0 > + 10% vs. WebLogic, +30% vs. WebSphere 6.1 Sun BEA IBM JBoss JBoss > July 2007: Best $/perf. on full Open Source > GlassFish v2, OpenSolaris, Java 6, PostgreSQL > 3x the price/perf vs. Oracle on HP score > November 2007: Massive Scalability Result > 8,439.36 JOPS@Standard (6 nodes, 18 instances) > Sun T5120 & E6900 You no longer need to chose between Open Source and Performance Disclaimers: SPEC and the benchmark name SPECjAppServer 2004 are registered trademarks of the Standard Performance Evaluation Corporation. Competitive benchmark results stated above reflect results published on www.spec.org as of 11/21/07. The comparison presented is based on GlassFish v2 UR1 run on 6 Sun SPARC Enterprise T5120 (1 chip, 8 cores/chip, 8 threads/core) 1.4GHz 8,439.36 SPECjAppServer2004 JOPS@Standard. For the latest SPECjAppServer 2004 benchmark results, visit http://www.spec.org/.
  • 25. GlassFish v2 for the Developer • Single, smaller, download • Cool Technologies > Around 60 MB total > Grizzly's Comet, jRuby > > on Rails, jMaki, … • Multiple User Profiles > > Developer, Cluster, Enterprise • Update Center > Upgrade from one to another > Provision and install new > features, frameworks, … > > • Better startup time • Tools support > Almost matches Tomcat > NetBeans, (My)Eclipse, > (see also GlassFish v3) > IntelliJ, etc...
  • 26. Java EE 5 = (J2EE 1.4).next • Java EE 5 Theme: Ease of Development • POJO-based programming > More freedom, fewer requirements • Extensive use of annotations > Reduced need for deployment descriptors > Annotations are the default • Resource Injection • New APIs and frameworks
  • 28. Out-of-the-Box Support • Latest Java EE specification • Integrated with NetBeans (and Eclipse bundle) > More freedom, fewer requirements • Key technologies, including: > Java RMI over internet inter-ORB protocol (RMI-IIOP) > J2EE Connector Architecture and Java Messaging Service (JMS) > Enterprise JavaBeans (EJB) 3.0 specification • Implements Java Management Extensions (JMX) & application server Management Extensions (AMX) API • Custom managed beans (Mbeans) • Representation State Transfer (REST) web services
  • 29. Enhanced Developer Productivity • SOA features and web services, including web services management • Annotation for rapid development and deployment of enterprise applications • Simplified deployment and execution of enterprise applications by integrating with Java Web Start • The incorporation of run-time performance improvements and new technologies • Database connectivity to Oracle, Sybase, IBM, Microsoft SQL, MySQL and Derby • Enhanced and easy web-based administration, as well as full administration from a command-line interface
  • 30. Easy of use • Update Center
  • 32. JBI – A Universal Plug 'n Play Layer ● A standard way to add new functionality to an existing platform ● Standard Installation and life cycle for components ● Standard WSDL based communication across components ● Standard deployment model for all components ● Result of the experience we had with our own Products: Integration Server EAI, SeeBeyond ICAN
  • 33. Open ESB: An Extensible Platform
  • 34. JBI in a Nutshell ESB Container Foundation Service Engines (SEs) as logic Orchestration Transformation containers J2EE Platform (BPEL) (XSLT) Management System Normalized Message Router JBI Core • The “JBI Bus”: a fast, reliable, in-memory Services messaging bus • Mediates all message exchanges between WS-I Basic AS2 JMS consumers and providers SOAP • Message payloads are opaque data sent along to Binding Components the receiver (no canonicalization) (BCs) J2EE™ PlatformNormalization not performed when consumer and • as proxies to outside world provider in same JBI container
  • 35.
  • 36. Request starts here! Calculate interest Providerate based values on type from UI Monthly Payment! Copy Record to Provide Database values to UI Drop Quote on Message Queue
  • 37. JBI & BPEL Demo
  • 39. Java EE 6 – JSR 316 • New and updated: • Extensibility • JSF 2.0 (JSR 314) • Profiles • JSP 2.2 • Pruning • JAX-RS (JSR 311) • More ease of • WebBeans 1.0 (JSR 299) development • Servlets 3.0 (JSR 315) • EJB 3.1 Rightsizing • Java Persistence 2.0 • JAX-WS 2.2 Goal is to deliver a final version first half of 2009 • Java EE Connectors 1.6 The exact set of technologies to be included will be determined by the expert group
  • 40. Java EE 6 – Enhancements • Servlet 3.0 > No more web.xml editing > ARP (Async. Request Processing) > File upload • JPA 2.0 > Criteria API > Collections and better Maps support > Validation support (JSR 303) > @OrderBy, specify unfetched state • JSF 2.0 > Make custom components much easier to develop > Ajax support, less config., align w/Portlet 2.0, Facelets
  • 41. Java EE 6 – EJB 3.1 • Packaging simplification > No more ejb-jar. Easier to share libraries, persistence units • Singleton Beans > @Singleton to share data in EJB container (per JVM) • Concurrency > @ReadOnly as singleton optimization (vs. single-threaded) > @BeanManagedConcurrency for explicitly synchronized • TimerService > @Schedule(hour=quot;12quot;,dayOfMonth=quot;2quot;) > Automatic creation (on deploy) • Asynchronous operations > @Asynchronous public void init (...) { ... } > @Asynchronous Future doWork (...) { ... }
  • 42. Java EE 6 – New APIs • Web Beans 1.0 > Brings together JSF and EJB > Inspired by JBoss' Seam > JBoss (Gavin King) is spec lead for JSR 299 > Bob Lee (Guice) heavily involved • JAX-RS > RESTful Web Services > RI developed in // with Spec: http://jersey.dev.java.net > Expose POJO as RESTful resources > High-level declarative programming model > Flexible typing, runtime does common conversions > Pluggable types, containers, and resolvers
  • 43. GlassFish v3 • Fast startup • Modular (OSGi), extensible architecture • Dynamic resource and runtime loading • Build-your-own runtime • Not just Java > Ruby on Rails, Grails, PHP, Python/Django, Scala > Leverage performance, admin, monitoring, clustering • Preview available now (TP2) > Final in 2009, possibly a web tier in 2008 > Aligned with Java EE 6
  • 44. GlassFish v3 (cont.) • OSGi: Apache Felix as default • 21 MB download, 1-sec startup • Admin and update tool downloaded on demand • Add-ons available from update center : > EJB 3.1 (preview) > jRuby On Rails (no WAR packaging required) > Grails (now also for GlassFish v2) > Jersey and Metro (Web Services) > jMaki (Ajax) • Tools-ready: NetBeans 6.1, Eclipse 3.4 • Embedded GlassFish API
  • 46. (Some) Distributions & Contributors Tools Java EE RI & SDK NetBeans™ Communities IDE Distributions Eclipse Plugin OpenSSO GlassFish Enterprise Derby MQ Hudson JBoss 5 Project GlassFish GlassFish TmaxSoft JEUS 6 Portal Oracle oc4j OpenESB SailFin BEA WebLogic 10 Maven Rep OpenDS Users and Other Groups
  • 47. Glassfish Where to go next • Add-ons > Glassfish Enterprise Server > Glassfish ESB > Glassfish Web Space Server > Glassfish Web Stack
  • 48. Glassfish Where to go next • http://glassfish.org • http://wiki.glassfish.java.net • http://blogs.sun.com/theaquarium > Daily news, broader GlassFish community • http://java.sun.com/javaone > Presentations and Hands-on-Labs