Glass Fish V3 University Amers May2009

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Glass Fish V3 University Amers May2009 - Presentation Transcript

    1. GlassFish v3 27 Mei 2009 Alexis Moussine-Pouchkine GlassFish Team 1
    2. Timeline of Project GlassFish Tomcat Jasper Catalina v3 v3 JSTL v1 “Prelude” (Java EE 6) Struts GlassFish Crimson Launch v2 v2.1 XSLTC Xalan Xerces JAXB June May Sept. Oct/Nov Jan Fall-2009 JAX-RPC JSF 2005 2006 2007 2008 2008 (you are here)
    3. GlassFish Downloads
    4. Actual Usage
    5. GlassFish around you
    6. GlassFish around you (really)
    7. GlassFish around you (really)
    8. If there was only one reason... ... we care about both
    9. Introducing GlassFish v3
    10. Modular and Dynamic • Modular : Apache Felix (OSGi) • Extensible : HK2 • Yet very Fast !
    11. Admin Console
    12. Painless Java EE development ! • 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
    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 NetBeans 6.5 :
    14. Yes, Eclipse too ! GlassFish (v2/v3) + Eclipse 3.4 Tools Bundle: http://download.java.net/glassfish/eclipse/
    15. Update Center
    16. Java EE 6 (JSR 316) • EJB 3.1 • JAXB 2.2 • JPA 2.0 • JAX-WS 2.2 • Servlet 3.0 • JSR-109 1.3 • JSF 2.0 • JAX-RS 1.1 • JAX-RS 1.0 • EL 1.2 • Connector Architecture 1.6 • JSP 1.2 • Bean Validation 1.0 • Authentication SPI 1.1 • JCDI 1.0 (née Web Beans) • Common Annotations 1.1
    17. Java EE 6 (JSR 316) via GlassFish v3 Prelude Update Center • EJB 3.1 • JAXB 2.2 • JPA 2.0 • JAX-WS 2.2 • Servlet 3.0 • JSR-109 1.3 • JSF 2.0 • JAX-RS 1.1 • JAX-RS 1.0 • EL 1.2 • Connector Architecture 1.6 • JSP 1.2 • Bean Validation 1.0 • Authentication SPI 1.1 • JCDI 1.0 (née Web Beans) • Common Annotations 1.1
    18. Java EE 6 Web Profile • A fully functional mid-sized profile for web apps • Accepted: > Servlet, JSP, EL, JSTL, JSF, EJB Lite, JTA, JPA, JSR-250, Bean Validation 1.0 • Not decided yet: > Web Beans 1.0 • Out for now: > JAX-RS 1.1 • GlassFish v3 to ship in two distributions > Complete Java EE 6 > Java EE 6 Web distributions
    19. GlassFish Embedded AppServer glassfish = new AppServer(8080); glassfish.deployWar(warFile);
    20. GlassFish Embedded public class Main { public static void main (String[] args) { AppServer glassfish = new AppServer(8080); glassfish.deployWar(a_useful_app); } }
    21. GlassFish Embedded @BeforeClass public static void setUpClass () { AppServer glassfish = new AppServer(8080); glassfish.deployWar(myApplication); } @Test public void pingApplication () { ... }
    22. Extending GlassFish v3 An 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
    23. Extending GlassFish v3 An example, a demo and a picture
    24. 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 !
    25. 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
    26. Questions ? http://blogs.sun.com/alexismp alexis.mp@sun.com 26

    + Eugene BogaartEugene Bogaart, 6 months ago

    custom

    304 views, 0 favs, 0 embeds more stats

    Alexis MP presentation for the NLJUG University in more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 304
      • 304 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 4
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories