Enterprise GlassFish


Published on

prelegent:Roger Freixa-Oracle

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Main point: protect ourselves legally This is our standard disclaimer--we will touch on some visionary things in this talk that should not be used for contractual purposes.
  • Can we have a positive slide about downloads/community activity. Speak about value of the community
  • This slide shows how modularity works with GlassFish v3. When a web application is deployed, the web module starts and the web application is available. When an enterprise application (web pages + EJBs), the EJB container starts and the EJB is deployed, and the servlets are deployed to the servlet container that is already running. In the case of JRuby, the JRuby container does not ship out-of-the-box with GlassFish v3. However, it can be quickly installed by downloading it from the update center with a few point and clicks. After it is installed, the JRuby application can be deployed using the native JRuby container. When the EJB application is undeployed, the servlet is undeployed from the servlet container, and the EJB is removed from the EJB container. Because it was the only deployed EJB, there is no need for the EJB container, so it is stopped. The net benefit is that the application server starts faster and consumes less resources because only the required modules are started to serve the running applications. There is no configuration required, just deploy the application and GlassFish will address the required dependencies. GlassFish modularity and flexibility creates opportunity. We see organizations that already have a closed-source application server, an open source application server, and a lightweight web container for web applications, not to mention the increasing interest in running non-Java applications. With GlassFIsh v3, organizations can use with the Web Profile as a manageable, lightweight container for web applications and dynamic languages, and the full distribution for Java EE Enteprise Applications.
  • GlassFish flexibility (and extensibility) include administration features. GlassFish momentum is in large part due to its developer and administrative productivity. On the left-hand side is the web administration console that we get “rave” reviews on. Common tasks are readily available, such as deploying applications. Documentation, which are thorough and written by professional technical writers, is also readily available. The CLI, in the lower-left-hand pane, is optimal for administrations writing shell scripts to customize or automate deployments. It is also the primary means of integrating with 3 rd party provisioning tools. New to GlassFish v3 is the RESTful administration API, which supports HTML, JSON and XML formats. Shown to the upper-right is the HTML output. The RESTful API is useful for those wanting programmatic access to GlassFish administration and monitoring features. ISVs and OEMs have the ability to write custom administration commands and expose them through any of these administration channels. Another benefit is that there is feature parity between the administration console, CLI and RESTful API, with a few exceptions such as 'start appserver'.
  • Enterprise GlassFish

    1. 1. Enterprise GlassFish and Java directions Roger Freixa, Principal Product Manager EMEA FMW PM Application Grid
    2. 2. <ul><li>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. </li></ul><ul><li>The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. </li></ul>
    3. 3. Java is Critical for Oracle The Foundation for Middleware and Applications
    4. 4. Java and Oracle A shared history of innovation and success <ul><li>Participating in over 80 Java Specification Requests (JSRs) – leading nearly 20 </li></ul><ul><li>Enthusiastic participant from the beginning </li></ul><ul><li>Executive Committee member of the Java Community Process </li></ul>1995 2000 2005 2010 EJB 1.0 Servlet 2.1 Java J2EE 1.2 J2EE 1.3 J2EE 1.4 Java EE 5 Java EE 6 Oracle JDeveloper Java in Oracle Database Oracle Fusion Middleware Oracle WebLogic Server: #1 Java EE Application Server TopLink to Open Source and GlassFish
    5. 5. Java Platform Investment Continues at Oracle in All Major Dimensions Java Mobile Java Standard Edition Java Enterprise Edition Java Card Java TV Embedded Java
    6. 6. Evolution of Java in the Java Community Community Development of Java Technology Specifications
    7. 7. Java SE <ul><li>Drive rapid delivery of Java SE 7 </li></ul><ul><ul><li>Modularization </li></ul></ul><ul><ul><li>Developer productivity </li></ul></ul><ul><ul><li>Multiple languages </li></ul></ul><ul><ul><li>Higher performance </li></ul></ul><ul><ul><li>Support for multi-core processors </li></ul></ul><ul><li>HotSpot joins JRockit as strategic JVM </li></ul><ul><ul><li>Converge best features of HotSpot and JRockit: </li></ul></ul><ul><ul><ul><li>World-leading performance </li></ul></ul></ul><ul><ul><ul><li>Fine-grained monitoring and management </li></ul></ul></ul><ul><ul><ul><li>Automated and manual performance tuning </li></ul></ul></ul><ul><ul><ul><li>Run on virtualized servers with no OS </li></ul></ul></ul><ul><ul><ul><li>Leverage multi-core with NUMA optimization </li></ul></ul></ul><ul><ul><ul><li>Extremely efficient garbage collection </li></ul></ul></ul><ul><ul><ul><li>Deterministic, real time behavior </li></ul></ul></ul><ul><li>Continue support for all leading OS platforms </li></ul>
    8. 8. Java for Business <ul><li>Customized versions of Java SE with dedicated support for enterprises with special needs </li></ul><ul><li>Best of platform standardization AND customized capabilities </li></ul><ul><li>Future-proof your investment </li></ul><ul><li>Oracle to continue and expand program </li></ul><ul><li>Built into WebLogic support lifetimes </li></ul>
    9. 9. Java EE <ul><li>Java EE continues to evolve in important areas </li></ul><ul><ul><li>Modularity with open standards </li></ul></ul><ul><ul><li>New, footprint-optimizing server “Profiles” </li></ul></ul><ul><ul><li>Richer UI and Web applications </li></ul></ul><ul><ul><li>Support for dynamic/scripting languages </li></ul></ul><ul><ul><li>Optimized Web services stack </li></ul></ul><ul><ul><li>Areas of investment-- management, security, modularization dynamic languages and virtualization </li></ul></ul><ul><li>GlassFish joins WebLogic Server </li></ul><ul><ul><li>GlassFish remains Java EE reference implementation and for tactical applications </li></ul></ul><ul><ul><li>WebLogic remains strategic enterprise application server </li></ul></ul>Java EE Community
    10. 10. GlassFish Server and WebLogic Server <ul><li>Open source and commercial distributions of GlassFish </li></ul><ul><ul><li>Commercial: Oracle GlassFish Server </li></ul></ul><ul><ul><li>OSS: GlassFish Open Source Edition </li></ul></ul><ul><li>GlassFish popular with developers </li></ul><ul><ul><li>Over 10 million downloads annually </li></ul></ul><ul><ul><li>Innovation areas – Web Services, scripting, OSGi/modularity </li></ul></ul><ul><li>Java EE reference implementation </li></ul><ul><ul><li>Java EE 6 and OSGi today </li></ul></ul><ul><ul><li>Java EE 7 and later – industry obligation </li></ul></ul><ul><ul><li>Shares components with WebLogic </li></ul></ul><ul><ul><ul><li>JAX-WS, EclipseLink/JPA, JAX-RS, CDI, JSF today and more in future </li></ul></ul></ul>Quarterly GlassFish Download Statistics FYQ1-4 2009
    11. 11. Java Developer Tools
    12. 12. Java Community <ul><li>java.net, netbeans.org, OpenJDK, and GlassFish/NetBeans open source projects thrive </li></ul><ul><ul><li>Ongoing commitment by Oracle to other open source projects </li></ul></ul><ul><li>Continued collaboration </li></ul><ul><ul><li>Blogs – The Aquarium </li></ul></ul><ul><ul><li>Enhancements – java.net </li></ul></ul><ul><li>No licensing changes to open source distributions </li></ul>
    13. 13. Next Steps for GlassFish and WebLogic Server Increase Common GlassFish/WebLogic RI Usage Enable Shared GlassFish/WebLogic Infrastructure Deliver GlassFish Server/Grow Community Enable Upsizing to Fusion Middleware GlassFish Investments Aligned Products Complementary Products JPA JAX-RS JAX-WS CDI JSF JAXB JAXP JSTL Application Migration Shared Web Tier and Plug Ins Shared Lifecycle Management OSGi Modularity Implement Java EE and Web ServicesStandards for Java Platform WebLogic Server GlassFish Server Fusion Middleware Fusion Applications Java EE 6 Java EE 5/6 WebLogic Server GlassFish Server Fusion Middleware Fusion Applications Java EE 6/7 Core GlassFish Availability/QoS Core Glassfish Admin/Operations Fusion Middleware Interoperability Fusion Middleware Java Integration
    14. 14. GlassFish Community Still Growing! Oracle Wants it to Grow! ©2010 Oracle Corporation Community Mail Traffic: Users+WebTier
    15. 15. Roadmap Announcements <ul><li>100 day Releases </li></ul><ul><ul><li>First level Oracle integration of acquired software products </li></ul></ul><ul><ul><li>For GlassFish v3 and GlassFish v2 </li></ul></ul><ul><li>Feature Releases </li></ul><ul><ul><li>Preserve GlassFish Value to Users and Customers </li></ul></ul><ul><ul><li>Build and Extend GlassFish Technology </li></ul></ul><ul><ul><li>Integrate with Oracle Fusion Middleware and Products </li></ul></ul><ul><ul><li>Roadmap Includes v3 and v4 Releases </li></ul></ul>©2010 Oracle Corporation
    16. 16. General Picture of Distributions <ul><li>GlassFish.Org </li></ul><ul><ul><li>Community Site </li></ul></ul><ul><ul><li>Mailing Lists, Forums, Wikis, Know-How. </li></ul></ul><ul><ul><li>OSS Sources </li></ul></ul><ul><ul><li>OSS Binary Distribution </li></ul></ul><ul><li>Oracle.com </li></ul><ul><ul><li>Commercial Site </li></ul></ul><ul><ul><li>Formal Documentation and Support </li></ul></ul><ul><ul><li>Oracle Distribution with standard Oracle Licenses </li></ul></ul><ul><ul><ul><li>Evaluation – OTN evaluation license </li></ul></ul></ul><ul><ul><ul><li>Production – Deployment license </li></ul></ul></ul>©2010 Oracle Corporation
    17. 17. Key Changes Under Oracle <ul><li>Not Changed: </li></ul><ul><ul><li>Open Source (mostly GPL/CDDL) </li></ul></ul><ul><ul><li>Non-Oracle Committers </li></ul></ul><ul><ul><li>Transparent Development (Development + Architecture) </li></ul></ul><ul><ul><li>OSS Binaries at GlassFish.org ( glassfish.dev.java.net et al. ) </li></ul></ul><ul><li>Not Changed: </li></ul><ul><ul><li>Add Ons remain Closed Source </li></ul></ul><ul><li>Changed : </li></ul><ul><ul><li>New Licenses at Oracle.com for Trial and Deployment </li></ul></ul><ul><ul><li>Add Ons easier to try and bundled in Oracle Distribution </li></ul></ul>©2010 Oracle Corporation
    18. 18. Distributions and Names <ul><li>Commercial Distribution </li></ul><ul><ul><li>Oracle GlassFish Server </li></ul></ul><ul><ul><li>Distribution Supported by Oracle </li></ul></ul><ul><ul><li>Includes GlassFish Server OSE binaries + AddOns </li></ul></ul><ul><ul><li>Evaluation and Production Licenses </li></ul></ul><ul><li>Open Source Distribution </li></ul><ul><ul><li>GlassFish Server Open Source Edition </li></ul></ul><ul><ul><li>OSS License </li></ul></ul><ul><li>Naming Aligns with Oracle Practices </li></ul>©2010 Oracle Corporation
    19. 19. Future GlassFish Releases <ul><li>GlassFish 3.1 – 2010 </li></ul><ul><ul><li>Centralized Administration / Clusters </li></ul></ul><ul><ul><li>High Availability / State Replication </li></ul></ul><ul><ul><li>Value Added Features, like Coherence Support </li></ul></ul><ul><li>GlassFish 3.2 – 2011 </li></ul><ul><ul><li>Improved Cluster/HA administration </li></ul></ul><ul><ul><li>Better Integration w/ Oracle Identity Management </li></ul></ul><ul><ul><li>Virtualization Support </li></ul></ul><ul><ul><li>Some Java EE 6 Specification Updates, some Java EE 7 EA </li></ul></ul><ul><li>GlassFish 4 </li></ul><ul><ul><li>Common Server Platform – Shared Best of Breed with WebLogic Server </li></ul></ul><ul><ul><li>Java EE 7 </li></ul></ul>©2010 Oracle Corporation
    20. 20. Oracle GlassFish Server <ul><li>Java EE 6 Themes </li></ul><ul><li>Flexibility </li></ul><ul><li>Extensibility </li></ul><ul><li>Productivity </li></ul>Oracle GlassFish Server Flexible Extensible Productive …  … Modularity / OSGi Manageability Non-Java Application Support Enterprise Features & Support Enhancing the value of Java EE 6 First to support Java EE 6 !
    21. 21. Oracle GlassFish Server and OSGi <ul><li>Runs on top of OSGi (Felix by default) </li></ul><ul><ul><li>Also runs unmodified on Knopflerfish and Equinox </li></ul></ul><ul><ul><li>GlassFish ships with 100+ bundles </li></ul></ul><ul><ul><li>Can run without OSGi (Static mode, thanks to HK2) </li></ul></ul><ul><ul><li>Can use OSGi management tools (CLI or Web) </li></ul></ul><ul><li>Any OSGi bundle will run in GlassFish Server </li></ul><ul><ul><li>Drop it in glassfish/modules </li></ul></ul><ul><ul><li>Can also asadmin deploy it using --type osgi </li></ul></ul>
    22. 22. Oracle GlassFish Server Modularity in Action Deploy Web Application Deploy Enterprise Application Deploy JRuby Application Un-deploy Enterprise Application Oracle GlassFish HK2 Update Center
    23. 23. Pluggable Console Additional functionality appears when EJB (full) package is installed on top of EJB Lite
    24. 24. Oracle GlassFish Server:Dynamic Language Support <ul><li>GlassFish Extensible Runtime </li></ul><ul><ul><li>Mature </li></ul></ul><ul><ul><li>Performant </li></ul></ul><ul><ul><ul><li>Backed by Real threads </li></ul></ul></ul><ul><ul><li>Ubiquitous </li></ul></ul><ul><li>Several implementations Available </li></ul><ul><ul><li>JRuby, Jython, Groovy, Clojure, Scala, PHP... </li></ul></ul>
    25. 25. Oracle GlassFish Server Flexible Administration
    26. 26. Oracle GlassFish 3.0 Management <ul><li>User friendly, Pluggable and extensible administration </li></ul><ul><li>Feature rich Admin Console (GUI) </li></ul><ul><li>Easy to use Command Line Interface (CLI) </li></ul><ul><li>Cloud friendly RESTful management and monitoring API </li></ul><ul><li>Fully documented AMX API </li></ul>
    27. 27. Oracle GlassFish Administration Console: New Features <ul><li>Frameset removed / Ajax-based pages </li></ul><ul><li>Admin Console deploy on demand </li></ul><ul><li>Scripting Support </li></ul><ul><li>Server Restart </li></ul><ul><li>Enhanced Connection Pool UI </li></ul><ul><li>Grizzly Configuration </li></ul><ul><li>JMS Physical Destination Statistics </li></ul><ul><li>New Monitoring UI </li></ul><ul><li>New Help System </li></ul>Some New Features in v3 Admin Console
    28. 28. Oracle GlassFish Server Monitoring <ul><li>Lightweight Probe based Architecture </li></ul><ul><li>Ad hoc Monitoring </li></ul><ul><li>Client-Scripting (JavaScript) </li></ul><ul><li>DTrace Integration on Solaris </li></ul><ul><li>Extensible/Pluggable </li></ul><ul><li>Multi-Client support </li></ul>Monitoring Overview
    29. 29. Update Center Web Browser Rich Client Command Line
    30. 30. Enterprise GlassFish and Java directions Roger Freixa, Principal Product Manager EMEA FMW PM Application Grid