Dynamic Languages in
GlassFish v3 Prelude
Vivek Pandey
Developer, Glassfish Team
Sun Microsysems, Inc.

                  ...
2
GlassFish v3 - A Dynamic AppServer
Productivity, performance

• GlassFish v3
   > Lightweight, Modular, Extensible, Embedd...
Overall Architecture




                       4
JRuby on Rails




                 5
JRuby On Rails
• No packaging, simple deployment
    > asadmin deploy depot/
• Deploy as WAR
    > warble #creates WAR fil...
JRuby On Rails
• NetBeans support
  > Develop, deploy debug




                            7
GlassFish gem
•   Rails developer friendly
•   Based on GlassFish v3 nucleus
•   Distributed as ruby gem
•   Install
    >...
Groovy on Grails




                   9
Groovy on Grails
• Development and production on the same server
    > Develop using GlassFish v3 embedded server
        ...
PHP




      11
PHP
• Quercus (Caucho)
  > Open Source (GPL) PHP 5 implementation in Java
  > WAR packaging
  > WordPress, MediaWiki, phpB...
Scala on Lift




                13
Scala on Lift
• Lifts apps packaged as WAR
  >   asadmin deploy liftApp.war

• For details on developing and deploying Lif...
References
• GlassFish
   > https://glassfish.dev.java.net
• GlassFish Scripting Project
   > https://glassfish-scripting....
Upcoming SlideShare
Loading in...5
×

Scripting Support in GlassFish v3 Prelude

3,744

Published on

An overview of scripting support in GlassFish v3 Prelude

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,744
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
63
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Scripting Support in GlassFish v3 Prelude

  1. 1. Dynamic Languages in GlassFish v3 Prelude Vivek Pandey Developer, Glassfish Team Sun Microsysems, Inc. 1
  2. 2. 2
  3. 3. GlassFish v3 - A Dynamic AppServer Productivity, performance • GlassFish v3 > Lightweight, Modular, Extensible, Embeddable • Reasonable and efficient deployment choice > Native, WAR style, embedded GlassFish • App Server feature for everyone > Database connection pooling > Native threading, non-blocking IO, ARP > Management – Monitor, Deploy, Troubleshoting > Access to enterprise stack – Metro, Jersey, JMS/MQ, Grizzly, JBI etc. 3
  4. 4. Overall Architecture 4
  5. 5. JRuby on Rails 5
  6. 6. JRuby On Rails • No packaging, simple deployment > asadmin deploy depot/ • Deploy as WAR > warble #creates WAR file > asadmin deploy depot.war • Tested JRuby runtime at Updatecenter > bin/updatetool > No more config needed • Commercially supported by Sun • http://wiki.glassfish.java.net/Wiki.jsp?page=GettingStartedGuide 6
  7. 7. JRuby On Rails • NetBeans support > Develop, deploy debug 7
  8. 8. GlassFish gem • Rails developer friendly • Based on GlassFish v3 nucleus • Distributed as ruby gem • Install > jruby -S gem install glassfish • Run > jruby -S glassfish_rails myRailsApp/ • More info > http://rubyforge.org/projects/glassfishgem/ 8
  9. 9. Groovy on Grails 9
  10. 10. Groovy on Grails • Development and production on the same server > Develop using GlassFish v3 embedded server – grails run-app > Production deployment – asadmin deploy grailsApp.war • Efficient WAR packaging > grails shared-war – Creates smaller WARs ~200KB vs 18MB – asadmin deploy –-libraries $GRAILS_HOME/lib/glassfish- grails grailsApp.war • Get Grails IPS package from Updatecenter • http://wiki.glassfish.java.net/Wiki.jsp?page=GrailsGettingStarted 10
  11. 11. PHP 11
  12. 12. PHP • Quercus (Caucho) > Open Source (GPL) PHP 5 implementation in Java > WAR packaging > WordPress, MediaWiki, phpBB, Joomla • PHP/Java Bridge > Open Source (LGPL) > XML based network protocol for native PHP > Faster, easier than JNI > Java native threads used for concurrent requests > PHP and JSP session sharing 12
  13. 13. Scala on Lift 13
  14. 14. Scala on Lift • Lifts apps packaged as WAR > asadmin deploy liftApp.war • For details on developing and deploying Lift applications see > http://wiki.glassfish.java.net/Wiki.jsp?page=GettingStartedWithLiftOnGlassFish 14
  15. 15. References • GlassFish > https://glassfish.dev.java.net • GlassFish Scripting Project > https://glassfish-scripting.dev.java.net • Scripting Wiki > http://wiki.glassfish.java.net/Wiki.jsp?page=Scripting • Mailing List > webtier@glassfish.dev.java.net • IssueTracker > https://glassfish.dev.java.net/servlets/ProjectIssues • TheAquarium > http://blogs.sun.com/theaquarium 15
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×