GlassFish v3 Prelude - now available!



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
INFO: Successfully launched in 12 msec.
Cannot run Java in 32 bit mode. Continuing in 64 bit mode.
Nov 4, 2008 2:39:08 PM com.sun.enterprise.glassfish.bootstrap.ASMain main
INFO: Launching GlassFish on Apache Felix OSGi platform

Welcome to Felix.
=================

Nov 4, 2008 2:39:11 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [9]
Nov 4, 2008 2:39:11 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.core.kernel [79]
Nov 4, 2008 2:39:11 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.common-util [59]
Nov 4, 2008 2:39:11 PM OSGiModuleImpl start

. . .

INFO: Started bundle org.glassfish.flashlight.flashlight-framework [72]
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy start
INFO: Listening on port 8080
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.services.impl.GrizzlyService postConstruct
INFO: Network listener http-listener-2 on port 8181 disabled per domain.xml
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy start
INFO: Listening on port 4848
Nov 4, 2008 2:39:13 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.container-common [83]
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
INFO: The Admin Console Web Application has been downloaded.
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 Prelude startup time : Felix(2910ms) startup services(1902ms) total(4812ms)
Nov 4, 2008 2:39:13 PM com.sun.enterprise.registration.glassfish.PingService$1 run
INFO: Total number of available updates : 1
Nov 4, 2008 2:39:13 PM com.sun.enterprise.registration.glassfish.PingService$1 run
INFO: Available updates :

glassfish-jsf 2.0.0,0-3:20081017T093242Z Fri Oct 17 09:32:42 PDT 2008
Nov 4, 2008 2:39:14 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.glassfish-naming [65]
Nov 4, 2008 2:39:14 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.glassfish-api [84]
Nov 4, 2008 2:39:14 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.connectors.connectors-runtime [27]
Nov 4, 2008 2:39:14 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.transaction.jta [7]
Nov 4, 2008 2:39:14 PM org.glassfish.admin.mbeanserver.ConnectorStartupService$ConnectorsStarterThread startConnector
INFO: Started JMXConnector, JMXService URL = service:jmx:rmi:///jndi/rmi://dhcp-usca14-132-225.SFBay.Sun.COM:8686/jmxrmi

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
Comments:

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

Posted by Vincent Kraemer on November 06, 2008 at 12:56 AM PST #

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.

Posted by Bill Kocik on November 06, 2008 at 09:22 AM PST #

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.

Posted by Arun Gupta on November 06, 2008 at 09:51 PM PST #

[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...

Posted by Arun Gupta's Blog on November 06, 2008 at 09:52 PM PST #

Thanks Vince. Nice and simple screencast.

Posted by Alexis MP on November 09, 2008 at 11:26 PM PST #

[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...

Posted by Arun Gupta's Blog on November 09, 2008 at 11:52 PM PST #

[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...

Posted by Arun Gupta's Blog on November 10, 2008 at 09:54 PM PST #

[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...

Posted by Arun Gupta's Blog on November 14, 2008 at 01:36 AM PST #

[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...

Posted by Arun Gupta's Blog on November 18, 2008 at 09:41 PM PST #

thank u.

Posted by sinema izle on March 13, 2009 at 06:46 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

profile image
Arun Gupta is a technology enthusiast, a passionate runner, author, and a community guy who works for Oracle Corp.


Java EE 7 Samples

Stay Connected

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today