SlideShare uma empresa Scribd logo
1 de 36
Baixar para ler offline
1
GlassFish Server
The future of Java EE is here
Arun Gupta
Java EE & GlassFish Guy
blogs.sun.com/arungupta, @arungupta
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
GlassFish v1
Java EE 5, Single Instance
2006 2007 2008 2009 2010 …
GlassFish v2
Java EE 5, High Availability
GlassFish Server 3.1
Java EE 6, High Availability
GlassFish Server 3
Java EE 6, Single Instance
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
Efficiency
Lowest operational
costs
Competitiveness
Outperform with speed and flexibility
Simplification
Best foundation for
entire software stack
Oracle Application Grid
WebLogic Server
Production Java
Application Deployment
GlassFish Server
Production Java
Application Deployment
•
Best open source application server with
support from Oracle
•
Open source platform of choice for light-
weight Web applications
•
Focus on latest Java EE standards and
community driven innovation
•
Certified interoperability with Fusion
Middleware
•
Differentiated innovation, scout thread
•
Best commercial application server for
transactional Java EE applications
•
Platform of choice for standardization
•
Focus on lowest operational cost and
mission critical applications
•
integration with Oracle Database, Fusion
Middleware & Fusion Applications
GlassFish and WebLogic together
● Incremental compile of all Java EE artifacts
● Auto-deploy of all Java EE and static artifacts
Painless Java EE development !
The save/reload paradigm
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
Developer
Productivity
Flexible
&
Lightweight Extensible
Web Profile
Pruning
Embrace open source
frameworks
Enables Drag & Drop
framework installation
More annotations
POJO development
Less XML configuration
Java EE
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

Mais conteúdo relacionado

Mais procurados

OSGi & Java EE in GlassFish
OSGi & Java EE in GlassFishOSGi & Java EE in GlassFish
OSGi & Java EE in GlassFishSanjeeb Sahoo
 
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
 
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...OpenBlend society
 
JEE Conf 2015: Less JS!
JEE Conf 2015: Less JS!JEE Conf 2015: Less JS!
JEE Conf 2015: Less JS!_Dewy_
 
Use Case: Building OSGi Enterprise Applications (QCon 14)
Use Case: Building OSGi Enterprise Applications (QCon 14)Use Case: Building OSGi Enterprise Applications (QCon 14)
Use Case: Building OSGi Enterprise Applications (QCon 14)Carsten Ziegeler
 
Eclipse Apricot
Eclipse ApricotEclipse Apricot
Eclipse ApricotNuxeo
 
JavaFX on Mobile (by Johan Vos)
JavaFX on Mobile (by Johan Vos)JavaFX on Mobile (by Johan Vos)
JavaFX on Mobile (by Johan Vos)Stephen Chin
 
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier VMworld
 
O que é esse tal de OWIN?
O que é esse tal de OWIN?O que é esse tal de OWIN?
O que é esse tal de OWIN?Andre Carlucci
 
WordPress development checklist
WordPress development checklistWordPress development checklist
WordPress development checklistBinh Quan Duc
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Abhishek Gupta
 
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...Jesse Gallagher
 
JSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfacesJSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfacesStrannik_2013
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Abhishek Gupta
 

Mais procurados (20)

GlassFish OSGi - Java2days 2010
GlassFish OSGi - Java2days 2010GlassFish OSGi - Java2days 2010
GlassFish OSGi - Java2days 2010
 
GlassFish Article September 07
GlassFish Article September 07GlassFish Article September 07
GlassFish Article September 07
 
Web Space10 Overview
Web Space10 OverviewWeb Space10 Overview
Web Space10 Overview
 
OSGi & Java EE in GlassFish
OSGi & Java EE in GlassFishOSGi & Java EE in GlassFish
OSGi & Java EE in GlassFish
 
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
 
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
OSGi & Java EE: A hybrid approach to Enterprise Java Application Development,...
 
JEE Conf 2015: Less JS!
JEE Conf 2015: Less JS!JEE Conf 2015: Less JS!
JEE Conf 2015: Less JS!
 
Use Case: Building OSGi Enterprise Applications (QCon 14)
Use Case: Building OSGi Enterprise Applications (QCon 14)Use Case: Building OSGi Enterprise Applications (QCon 14)
Use Case: Building OSGi Enterprise Applications (QCon 14)
 
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško VukmanovićJavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
 
Eclipse Apricot
Eclipse ApricotEclipse Apricot
Eclipse Apricot
 
JavaFX on Mobile (by Johan Vos)
JavaFX on Mobile (by Johan Vos)JavaFX on Mobile (by Johan Vos)
JavaFX on Mobile (by Johan Vos)
 
Technology Radar Talks - NuGet
Technology Radar Talks - NuGetTechnology Radar Talks - NuGet
Technology Radar Talks - NuGet
 
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
 
O que é esse tal de OWIN?
O que é esse tal de OWIN?O que é esse tal de OWIN?
O que é esse tal de OWIN?
 
WordPress development checklist
WordPress development checklistWordPress development checklist
WordPress development checklist
 
Oracle 12c Launch Event 02 ADF 12c and Maven in Jdeveloper / By Aino Andriessen
Oracle 12c Launch Event 02 ADF 12c and Maven in Jdeveloper / By Aino Andriessen Oracle 12c Launch Event 02 ADF 12c and Maven in Jdeveloper / By Aino Andriessen
Oracle 12c Launch Event 02 ADF 12c and Maven in Jdeveloper / By Aino Andriessen
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2
 
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
 
JSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfacesJSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfaces
 
Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2Glass Fish Slides Fy2009 2
Glass Fish Slides Fy2009 2
 

Destaque

OTN Developer Days - Java EE 6
OTN Developer Days - Java EE 6OTN Developer Days - Java EE 6
OTN Developer Days - Java EE 6glassfish
 
GlassFish Story by Jaromir Hamala/C2B2 Consulting
GlassFish Story by Jaromir Hamala/C2B2 ConsultingGlassFish Story by Jaromir Hamala/C2B2 Consulting
GlassFish Story by Jaromir Hamala/C2B2 Consultingglassfish
 
GlassFish Story by David Heffelfinger/Ensode Technology
GlassFish Story by David Heffelfinger/Ensode TechnologyGlassFish Story by David Heffelfinger/Ensode Technology
GlassFish Story by David Heffelfinger/Ensode Technologyglassfish
 
GlassFish Roadmap
GlassFish RoadmapGlassFish Roadmap
GlassFish Roadmapglassfish
 
GlassFish BOF
GlassFish BOFGlassFish BOF
GlassFish BOFglassfish
 
GlassFish Story by Kerry Wilson/Vanderbilt University Medical Center
GlassFish Story by Kerry Wilson/Vanderbilt University Medical CenterGlassFish Story by Kerry Wilson/Vanderbilt University Medical Center
GlassFish Story by Kerry Wilson/Vanderbilt University Medical Centerglassfish
 
Fifty Features of Java EE 7 in 50 Minutes
Fifty Features of Java EE 7 in 50 MinutesFifty Features of Java EE 7 in 50 Minutes
Fifty Features of Java EE 7 in 50 Minutesglassfish
 

Destaque (7)

OTN Developer Days - Java EE 6
OTN Developer Days - Java EE 6OTN Developer Days - Java EE 6
OTN Developer Days - Java EE 6
 
GlassFish Story by Jaromir Hamala/C2B2 Consulting
GlassFish Story by Jaromir Hamala/C2B2 ConsultingGlassFish Story by Jaromir Hamala/C2B2 Consulting
GlassFish Story by Jaromir Hamala/C2B2 Consulting
 
GlassFish Story by David Heffelfinger/Ensode Technology
GlassFish Story by David Heffelfinger/Ensode TechnologyGlassFish Story by David Heffelfinger/Ensode Technology
GlassFish Story by David Heffelfinger/Ensode Technology
 
GlassFish Roadmap
GlassFish RoadmapGlassFish Roadmap
GlassFish Roadmap
 
GlassFish BOF
GlassFish BOFGlassFish BOF
GlassFish BOF
 
GlassFish Story by Kerry Wilson/Vanderbilt University Medical Center
GlassFish Story by Kerry Wilson/Vanderbilt University Medical CenterGlassFish Story by Kerry Wilson/Vanderbilt University Medical Center
GlassFish Story by Kerry Wilson/Vanderbilt University Medical Center
 
Fifty Features of Java EE 7 in 50 Minutes
Fifty Features of Java EE 7 in 50 MinutesFifty Features of Java EE 7 in 50 Minutes
Fifty Features of Java EE 7 in 50 Minutes
 

Semelhante a OTN Developer Days - GlassFish

GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011Arun Gupta
 
GlassFish OSGi Server
GlassFish OSGi ServerGlassFish OSGi Server
GlassFish OSGi ServerArtur Alves
 
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
 
Glassfish An Introduction
Glassfish An IntroductionGlassfish An Introduction
Glassfish An IntroductionJumping Bean
 
Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010Codecamp Romania
 
OSGi enRoute Unveiled - P Kriens
OSGi enRoute Unveiled - P KriensOSGi enRoute Unveiled - P Kriens
OSGi enRoute Unveiled - P Kriensmfrancis
 
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application DevelopmentOSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application DevelopmentSanjeeb Sahoo
 
Java EE 7 Soup to Nuts at JavaOne 2014
Java EE 7 Soup to Nuts at JavaOne 2014Java EE 7 Soup to Nuts at JavaOne 2014
Java EE 7 Soup to Nuts at JavaOne 2014Arun Gupta
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1sandeep54552
 
Modular Java applications with OSGi on Apache Karaf
Modular Java applications with OSGi on Apache KarafModular Java applications with OSGi on Apache Karaf
Modular Java applications with OSGi on Apache KarafIoan Eugen Stan
 
Development with JavaFX 9 in JDK 9.0.1
Development with JavaFX 9 in JDK 9.0.1Development with JavaFX 9 in JDK 9.0.1
Development with JavaFX 9 in JDK 9.0.1Wolfgang Weigend
 
JavaOne 2014 - Scalable JavaScript Applications with Project Nashorn [CON6423]
JavaOne 2014 - Scalable JavaScript Applications with Project Nashorn [CON6423]JavaOne 2014 - Scalable JavaScript Applications with Project Nashorn [CON6423]
JavaOne 2014 - Scalable JavaScript Applications with Project Nashorn [CON6423]Leonardo Zanivan
 
Java EE 6, Eclipse @ EclipseCon
Java EE 6, Eclipse @ EclipseConJava EE 6, Eclipse @ EclipseCon
Java EE 6, Eclipse @ EclipseConLudovic Champenois
 
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
 
001. Introduction about React
001. Introduction about React001. Introduction about React
001. Introduction about ReactBinh Quan Duc
 
Case Study: Plus Retail - Moving from the Old World to the New World
Case Study: Plus Retail - Moving from the Old World to the New WorldCase Study: Plus Retail - Moving from the Old World to the New World
Case Study: Plus Retail - Moving from the Old World to the New WorldForgeRock
 

Semelhante a OTN Developer Days - GlassFish (20)

GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011
 
GlassFish OSGi Server
GlassFish OSGi ServerGlassFish OSGi Server
GlassFish OSGi Server
 
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
 
Enterprise GlassFish
Enterprise GlassFishEnterprise GlassFish
Enterprise GlassFish
 
Glassfish An Introduction
Glassfish An IntroductionGlassfish An Introduction
Glassfish An Introduction
 
Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010Java EE6 CodeCamp16 oct 2010
Java EE6 CodeCamp16 oct 2010
 
GlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and FutureGlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and Future
 
OSGi enRoute Unveiled - P Kriens
OSGi enRoute Unveiled - P KriensOSGi enRoute Unveiled - P Kriens
OSGi enRoute Unveiled - P Kriens
 
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application DevelopmentOSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
 
Java EE 7 Soup to Nuts at JavaOne 2014
Java EE 7 Soup to Nuts at JavaOne 2014Java EE 7 Soup to Nuts at JavaOne 2014
Java EE 7 Soup to Nuts at JavaOne 2014
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
 
Modular Java applications with OSGi on Apache Karaf
Modular Java applications with OSGi on Apache KarafModular Java applications with OSGi on Apache Karaf
Modular Java applications with OSGi on Apache Karaf
 
Development with JavaFX 9 in JDK 9.0.1
Development with JavaFX 9 in JDK 9.0.1Development with JavaFX 9 in JDK 9.0.1
Development with JavaFX 9 in JDK 9.0.1
 
JavaOne 2014 - Scalable JavaScript Applications with Project Nashorn [CON6423]
JavaOne 2014 - Scalable JavaScript Applications with Project Nashorn [CON6423]JavaOne 2014 - Scalable JavaScript Applications with Project Nashorn [CON6423]
JavaOne 2014 - Scalable JavaScript Applications with Project Nashorn [CON6423]
 
Java EE 6, Eclipse @ EclipseCon
Java EE 6, Eclipse @ EclipseConJava EE 6, Eclipse @ EclipseCon
Java EE 6, Eclipse @ EclipseCon
 
Glass Fishv3 March2010
Glass Fishv3 March2010Glass Fishv3 March2010
Glass Fishv3 March2010
 
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
 
001. Introduction about React
001. Introduction about React001. Introduction about React
001. Introduction about React
 
Retour JavaOne 2009
Retour JavaOne 2009Retour JavaOne 2009
Retour JavaOne 2009
 
Case Study: Plus Retail - Moving from the Old World to the New World
Case Study: Plus Retail - Moving from the Old World to the New WorldCase Study: Plus Retail - Moving from the Old World to the New World
Case Study: Plus Retail - Moving from the Old World to the New World
 

Último

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"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
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
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
 
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
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
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
 

Último (20)

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"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
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
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
 
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
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
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
 

OTN Developer Days - GlassFish

  • 1. 1 GlassFish Server The future of Java EE is here Arun Gupta Java EE & GlassFish Guy blogs.sun.com/arungupta, @arungupta
  • 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 GlassFish v1 Java EE 5, Single Instance 2006 2007 2008 2009 2010 … GlassFish v2 Java EE 5, High Availability GlassFish Server 3.1 Java EE 6, High Availability GlassFish Server 3 Java EE 6, Single Instance
  • 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. Efficiency Lowest operational costs Competitiveness Outperform with speed and flexibility Simplification Best foundation for entire software stack Oracle Application Grid
  • 11. WebLogic Server Production Java Application Deployment GlassFish Server Production Java Application Deployment • Best open source application server with support from Oracle • Open source platform of choice for light- weight Web applications • Focus on latest Java EE standards and community driven innovation • Certified interoperability with Fusion Middleware • Differentiated innovation, scout thread • Best commercial application server for transactional Java EE applications • Platform of choice for standardization • Focus on lowest operational cost and mission critical applications • integration with Oracle Database, Fusion Middleware & Fusion Applications GlassFish and WebLogic together
  • 12. ● Incremental compile of all Java EE artifacts ● Auto-deploy of all Java EE and static artifacts Painless Java EE development ! The save/reload paradigm
  • 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 Developer Productivity Flexible & Lightweight Extensible Web Profile Pruning Embrace open source frameworks Enables Drag & Drop framework installation More annotations POJO development Less XML configuration Java EE
  • 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