server day 2009: glassfish 3 by alexis moussine-pouchkine
DESCRIPTION
Alessio Soldano presentation at the Application Server Day 2009, discussing the latest innovations in JBoss 5.0TRANSCRIPT
![Page 1: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/1.jpg)
1
GlassFish
Alexis Moussine-PouchkineGlassFish Team
![Page 2: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/2.jpg)
Timeline of Project GlassFish
TomcatJasper
CatalinaJSTLStruts
CrimsonXSLTCXalan
Xerces
JAXBJAX-RPC
JSF
June2005
May2006
GlassFishLaunch v2
v1
(you are here)
v3(Java EE 6)
Sept.2007
Fall-2009
v2.1
v3“Prelude”
Oct/Nov2008
Jan2008
![Page 3: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/3.jpg)
GlassFish Downloads
![Page 4: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/4.jpg)
Actual Usage
![Page 5: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/5.jpg)
GlassFish around you
![Page 6: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/6.jpg)
GlassFish around you (really)
![Page 7: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/7.jpg)
If there was only one reason...
... we care about both
![Page 8: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/8.jpg)
Introducing GlassFish v3
![Page 9: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/9.jpg)
Modular and Dynamic
• Modular : Apache Felix (OSGi)• Extensible : HK2• Yet very Fast !
![Page 10: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/10.jpg)
Admin Console
![Page 11: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/11.jpg)
• Java EE development doesn't have to be painful :)• Incremental compile of all Java EE artifacts• Auto-deploy of all Java EE and static artifacts
Painless Java EE development !
![Page 12: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/12.jpg)
Session Retention
• Deployment option to maintain stateful sessions across re-deployments
$ asadmin redeploy --propertieskeepSessions=true myapp.war
• Greatly simplifies thedevelopment paradigm.
• Integrated in NetBeans 6.5 :
![Page 13: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/13.jpg)
Yes, Eclipse too !
GlassFish (v2/v3) + Eclipse 3.4 Tools Bundle: http://download.java.net/glassfish/eclipse/
![Page 14: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/14.jpg)
Update Center
![Page 15: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/15.jpg)
Java EE 6 (JSR 316)
• EJB 3.1• JPA 2.0• Servlet 3.0• JSF 2.0• JAX-RS 1.0• Connector Architecture 1.6• Bean Validation 1.0• JCDI 1.0 (née Web Beans)
• JAXB 2.2• JAX-WS 2.2• JSR-109 1.3• JAX-RS 1.1• EL 1.2 • JSP 1.2 • Authentication SPI 1.1• Common Annotations
1.1
![Page 16: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/16.jpg)
Java EE 6 (JSR 316)via GlassFish v3 Prelude Update Center
• EJB 3.1• JPA 2.0• Servlet 3.0• JSF 2.0• JAX-RS 1.0• Connector Architecture 1.6• Bean Validation 1.0• JCDI 1.0 (née Web Beans)
• JAXB 2.2• JAX-WS 2.2• JSR-109 1.3• JAX-RS 1.1• EL 1.2 • JSP 1.2 • Authentication SPI 1.1• Common Annotations
1.1
![Page 17: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/17.jpg)
Extending GlassFish v3An example
• Extend GlassFish with a Spring container> using unmodified Spring dm (OSGi)> simple Spring beans implementing the service
• Invoke the service from a servlet> using standard @Resource injection
• Never use a GlassFish API !• No need to chose between Spring and Java EE• Of course you don't have to use Spring ;)
> Grizzly extensions, plain HK2, ...Step by step: http://blogs.sun.com/dochez/entry/glassfish_v3_extensions_part_3
![Page 18: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/18.jpg)
Extending GlassFish v3An example, a demo and a picture
![Page 19: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/19.jpg)
A lot more ...
• Dynamic languages : Rails, Grails, Django, ...• Comet, Cometd/Bayeux• Embedded API• Full support for mod_jk, WebDAV, CGI, SSI• Web Services Metro 1.4 (.Net 3.5)• OpenMQ• IPS/pkg(5)• RESTful admin• Monitoring• Extensible !
![Page 20: Server Day 2009: GlassFish 3 by Alexis Moussine-Pouchkine](https://reader034.vdocument.in/reader034/viewer/2022052523/555a7677d8b42a98568b4757/html5/thumbnails/20.jpg)
GlassFish v3 – Practical
• Get it from http://glassfish.org> GlassFish v3 Prelude today (web container)> GlassFish v3 Preview by JavaOne
• Choice !> Eclipse or NetBeans (or vi)> Java 5 and Java 6 (Java EE 6 mandates Java 6)> Felix or Equinox
• Download size: 26MB> Graphical Installer, Zip version> Community-contributed IzPack installer
• Supported product, subscriptions available