Scripting Support in GlassFish v3 Prelude
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Scripting Support in GlassFish v3 Prelude

on

  • 6,076 views

An overview of scripting support in GlassFish v3 Prelude

An overview of scripting support in GlassFish v3 Prelude

Statistics

Views

Total Views
6,076
Views on SlideShare
6,068
Embed Views
8

Actions

Likes
0
Downloads
60
Comments
0

2 Embeds 8

http://www.slideshare.net 7
http://webcache.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Scripting Support in GlassFish v3 Prelude Presentation Transcript

  • 1. Dynamic Languages in GlassFish v3 Prelude Vivek Pandey Developer, Glassfish Team Sun Microsysems, Inc. 1
  • 2. 2
  • 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. Overall Architecture 4
  • 5. JRuby on Rails 5
  • 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. JRuby On Rails • NetBeans support > Develop, deploy debug 7
  • 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. Groovy on Grails 9
  • 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. PHP 11
  • 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. Scala on Lift 13
  • 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. 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