GlassFish v3 Prelude is a modular and lightweight Web 2.0 development and deployment platform. It has been brewing for the past few months and is now finally available – download here! Read the official Press Release for more details.
Use it for deploying your enterprise applications today and purchase production support for the GlassFish Enterprise Server v3 prelude.
Simply unzip the bundle and start the Application Server as shown below (including startup log):
| ~/tools/glassfish/v3/glassfishv3-prelude/glassfish >bin/asadmin start-domain –verbose Nov 4, 2008 2:39:07 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: JVM invocation command line: /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java -cp /Users/arungupta/tools/glassfish/v3/glassfishv3-prelude/glassfish/modules/glassfish.jar . . . Nov 4, 2008 2:39:08 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info Welcome to Felix. Nov 4, 2008 2:39:11 PM OSGiModuleImpl start . . . INFO: Started bundle org.glassfish.flashlight.flashlight-framework [72] glassfish-jsf 2.0.0,0-3:20081017T093242Z Fri Oct 17 09:32:42 PDT 2008 |
The first start takes some time because it creates Felix configuration files but subsequent starts are relatively quicker as shown below:
| Nov 4, 2008 2:48:01 PM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish v3 Prelude startup time : Felix(1703ms) startup services(1463ms) total(3166ms) |
And another start …
| Nov 4, 2008 2:48:31 PM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish v3 Prelude startup time : Felix(1630ms) startup services(1302ms) total(2932ms) |
And another one …
| Nov 4, 2008 2:48:45 PM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish v3 Prelude startup time : Felix(1586ms) startup services(1227ms) total(2813ms) |
What excites me about GlassFish v3 ?
- Modularity using OSGi: OSGi provides complete modularity in the kernel of Application Server. It completely shatters the “one size fits all” philosophy. Basically you pay in terms of memory, resource utilization, learning and everything only for the components you care about. And as your need expands, you can download OSGi modules for technologies from the Update Center. TOTD #36 shows how a standard OSGi bundle can be easily deployed on GlassFish.
- Retain session data across HTTP deploys: 1.Imagine debugging a Servlet that manipulates session data. By enabling a property during redeploy any active sessions of the application that is being redeployed will be serialized and saved in memory, and restored once the redeployment has completed. Read more details here.
- Embeddability allows to run the GlassFish inside a VM – no explicit need to download/install/configure an Application Server. Read more details here and enjoy a live sample.
- Dynamic Languages and Frameworks like Ruby-on-Rails and Groovy/Grails are gaining popularity. These dynamic languages and frameworks are first-class citizens in GlassFish. And integrated tooling (develop/deploy/debug) cycle makes it all the more attractive. Read more details here and numerous samples.
- Faster startup time – Application server startup in 2-3 seconds, need we say more. Think about about the productivity boost!
- Integrated Tooling – NetBeans 6.5 & Eclipse 3.4 provides comprehensive tooling options. By using deploy-on-save technology, Servlets and JSPs are automatically compiled and deployed. This functionality shortens a developer’s iterative development experience to edit-save-refresh browser. Screencast #24 shows how to get started with NetBeans (an updated one coming soon). Read more details about Eclipse 3.4 here. Detailed screencasts coming for both the IDEs soon.
- First flavor of Java EE 6 – First access to some of the Java EE 6 spec implementations are available through the bundled Update Center. JAX-RS 1.0, JSF 2.0, EJB 3.1 to begin with and more will be pushed as we make progress.
What do you find exciting in GlassFish v3 ?
There are many other cool features which you’ll hear/watch in the upcoming days on this blog. Here are some of the screencasts I plan to release (in no particular order) over next few days:
- Getting Started with GlassFish v3 Prelude using NetBeans 6.5 and Eclipse 3.4
- Web Application develop/deploy/debug session using NetBeans 6.5 and Eclipse 3.4
- Create/Run/Debug Rails application on GlassFish v3 using NetBeans 6.5
- Retain Session data across HTTP deploys using NetBeans 6.5 and Eclipse 3.4
- Creating an OSGi bundle and deploying on GlassFish v3 Prelude
Let me know if you have any particular preference.
Technorati: glassfish v3 prelude javaee netbeans eclipse
Related posts:- BitNami’s JRubyStack = JRuby + Rails + GlassFish Gem + MySQL all bundled together
- JRuby 1.1.3 released – Getting Started with GlassFish
- TOTD #34: Using Felix Shell with GlassFish
- TOTD #66: GlassFish Eclipse Plugin 1.0.16 – Install v3 Prelude from the IDE
- TOTD #36: Deploy OSGi bundles in GlassFish using maven-bundle-plugin
I have a screencast which demonstrates the synergy of the deploy-on-save feature of NetBeans 6.5 and the GlassFish v3 feature that supports retaining session data across deploys: http://blogs.sun.com/vkraemer/entry/are_you_sure_you_are
The combination is a great juice for developer productivity.
vbk
Comment by Vincent Kraemer — November 6, 2008 @ 8:56 am
Arun -
As a matter of coincidence (or serendipity?) I got an idea for a new Rails app on the drive in to work today. I downloaded GFv3 and JRuby 1.1.5 earlier today, and got to work with NB 6.5. Can’t wait to see your screencasts. I’m especially interested in the 1st and 3rd ones you have listed.
Comment by Bill Kocik — November 6, 2008 @ 5:22 pm
Bill,
Create/Run/Debug Rails application with NetBeans 6.5 and GlassFish v3 Prelude is now available at:
http://blogs.sun.com/arungupta/entry/screencast_26_develop_run_debug
More coming in the next few days.
Comment by Arun Gupta — November 7, 2008 @ 5:51 am
[Trackback] GlassFish v3 Prelude is now available. It allows Rails applications to be deployed natively using JRuby and without the need of any WAR packaging or Servlet container. An integrated NetBeans tooling provides a comprehensive development and deploy…
Comment by Arun Gupta's Blog — November 7, 2008 @ 5:52 am
Thanks Vince. Nice and simple screencast.
Comment by Alexis MP — November 10, 2008 @ 7:26 am
[Trackback] GlassFish v3 Prelude is now available! It contains a Java EE 5-based Web stack. A comprehensive tooling by NetBeans IDE allows to easily develop Web applications and deploy directly on GlassFish v Prelude. Rapid deployment feature of GlassFish allows…
Comment by Arun Gupta's Blog — November 10, 2008 @ 7:52 am
[Trackback] I’ll be presenting on GlassFish @ Java MUG tomorrow. This is a highly opportune moment since GlassFish v3 Prelude was released last week. I plan to talk about GlassFish community, deliverables (including v2 and v3), NetBeans/Eclipse integration, the s…
Comment by Arun Gupta's Blog — November 11, 2008 @ 5:54 am
[Trackback] GlassFish Gem 0.9.0 was recently released. It can run any Rack-compatible framework such as Rails and Merb. Support for another Rack-based framework Sinatra will be released in the near future. The gem is even extensible and allows to plug any of…
Comment by Arun Gupta's Blog — November 14, 2008 @ 9:36 am
[Trackback] GlassFish v3 Prelude is now available! Some of the cool features are: Modularity using OSGi Rapid deployment using retain session data across HTTP redeploys and deploy-on-save Embeddability Dynamic languages and frameworks Faster start up time Integra…
Comment by Arun Gupta's Blog — November 19, 2008 @ 5:41 am
thank u.
Comment by sinema izle — March 13, 2009 @ 1:46 pm