InfoQ

News

Could Glassfish become the next major open source appserver?

Posted by Floyd Marinescu on Aug 14, 2006

Community
Java
Topics
Open Source ,
Application Servers
Tags
Java EE ,
Glassfish
Sun has been putting a lot of resources into Glassfish, Sun's Java EE 5 open source application server (CDDL license). Sun's Java.NET bloggers are also talking about Glassfish daily.  But with an open source application server market dominated by JBoss, with ObjectWeb's JonAS and IBM supporting Apache's Geronimo project, just what is the intention and status of Glassfish? Could it become the killer appserver for Java EE 5, as consultant and BEA technical director Adam Bien recently suggested?  InfoQ has been been following the project and talking to the committers over the last few months to catch you up.

The initial codebase for Glassfish came from Sun's Java Application Server 8 and since then Oracle contributed TopLink Essentials to provide JPA to the tool. Glassfish is the Java EE 5 reference implementation, part of the Java EE 5 SDK, and also the core upon which Sun's middleware stack the Java Enterprise System (which includes Portal, Integration Server, etc) is being built, unlike Apache Geronimo, which although supported by IBM, is a completely separate product from IBM's commercial appserver stack.  There is very little difference between GlassFish and the SJS AS other than a fancy installer and support contracts, according to Sun engineer Carla Mott - "GlassFish is intended to be a production quality app server."  

Glassfish combined a number of projects, many of which have external non-Sun committers. The projects are exposed via the Java.net Maven repository  The Glassfish team told InfoQ team that many of the sub-components are being widely used by the community, the most popular of which being JAXB, JSF (by all the Java EE licensees), JSP, JPA, and Grizzly (the HTTP connector).  "We have a number of non-Sun committers" Eduardo said.  The biggest is Oracle, but even JBoss ir creditted via their contributions to the JSF RI.  

A number of people have been asking about Glassfish vs. Tomcat.  Obviously, Glassfish is a full Java EE server whereas Tomcat is just a Servlet/JSP engine. Tomcat supports Servlets 2.4 whereas Glassfish supports 2.5 (allowing you to run  JSF 1.2).  In his 5 reasons to like Glassfish, Geertjan suggested that Glassfish's lazy initialization makes it least as light for pure servlet apps as Tomcat (a feature which Geronimo and JBoss also have).  Jean Francois Arcand did a performance benchmark showing Glassfish's Grizzly NIO connector making Glassfish signficantly faster than Tomcat in 'real world' conditions. On the topic of performance, Sun will likely continue to focus on performance, particularly since it is using Glassfish for it's SpecJAppserver submissions, which by itself is a bold move that JBoss has never made in the history of the benchmark.

According to project lead Eduardo Pelegri-Lloport,  Sun's strategy is to "gain ubiquity and generate revenue from services and systems."   Eduardo explained that SJS AS currently comes in several versions: PE (Platform Edition - developer/entry level), SE (Standard Edition - includes clustering, failover, better manageability) and EE (Enterprise Edition - which includes a very high availabilty 5-9s feature).  Although a detailed featurset for Glassfish V2 has not yet been published, Eduardo told InfoQ in June that "All of Standard Edition [clustering, failover, manageability] will be Open Source; for practical reasons some bits of EE may not yet be released as Open Source by that time-frame." Manageability was key aspect that Adam Bien blogged about, so too did Glen Smith recently.  Also likely to make it into V2 is WS interoperability with Microsoft via project Tango, and server side Javascripting via project Phobos.

Could Glassfish become the next major open source application server?
Could Glassfish become the next major open source appserver? by Clinton Begin Posted Aug 15, 2006 12:19 AM
Seems very neat by Stefan Tilkov Posted Aug 15, 2006 1:16 AM
Re: Seems very neat by Clinton Begin Posted Aug 15, 2006 1:25 AM
Re: Seems very neat by Stefan Tilkov Posted Aug 15, 2006 1:48 AM
Re: Seems very neat by Floyd Marinescu Posted Aug 15, 2006 7:47 AM
Re: Seems very neat by anjan bacchu Posted Aug 15, 2006 10:14 AM
Re: Seems very neat by Clinton Begin Posted Aug 15, 2006 10:22 PM
BEA and IBM have moved on by unnisworld BLR Posted Aug 18, 2006 8:05 AM
  1. No.

  2. Back to top

    Seems very neat

    Aug 15, 2006 1:16 AM by Stefan Tilkov

    I tried it out and expected the worst, so I was pleasantly surprised to see that it's actually working very well, has decent documentation, and overall seems to have a reasonable design. I agree with Adam that both the admin tools as well as the management console appear to be above average.

    Then again, Sun doesn't exactly have a history of past software successes ...

  3. Back to top

    Re: Seems very neat

    Aug 15, 2006 1:25 AM by Clinton Begin

    Exactly. I used SunOne app server for a while, it was great compared to the rest (only WebLogic was better IMHO). It conformed well to the standards and the user interfaces were really nice. It also deployed itself easily, and web apps just worked well. It was excellent really...

    ...the problem is, Sun cannot sell a dingy to a drowning man. In this case, they cannot even give it to him for free. ;-)

    Clinton

  4. Back to top

    Re: Seems very neat

    Aug 15, 2006 1:48 AM by Stefan Tilkov

    But maybe the approach they're taking now -- open source, optionally wrapped in a commercial package -- is going to make the difference?

  5. Back to top

    Re: Seems very neat

    Aug 15, 2006 7:47 AM by Floyd Marinescu

    Sun cannot sell a dingy to a drowning man. In this case, they cannot even give it to him for free.
    I agree that I don't see SJS AS becoming a commercial power considering how far ahead BEA, IBM, and Oracle are; however, given that Glassfish is part of the Java EE SDK and is being pitched as production quality, it could grow very fast as an open source appserver - particularly in emerging countries where the Java EE SDK is their first (and trusted) experience with enterprise Java.

  6. Back to top

    Re: Seems very neat

    Aug 15, 2006 10:14 AM by anjan bacchu

    Sun cannot sell a dingy to a drowning man. In this case, they cannot even give it to him for free.
    I agree that I don't see SJS AS becoming a commercial power considering how far ahead BEA, IBM, and Oracle are; however, given that Glassfish is part of the Java EE SDK and is being pitched as production quality, it could grow very fast as an open source appserver - particularly in emerging countries where the Java EE SDK is their first (and trusted) experience with enterprise Java.


    Hi there,

    What about Geronimo and JBoss ?

    JBoss is what it is because of various leaders and committers -- Marc, Rickard, the geronimo guys.

    It will be nice to see Sun come with deployment options for people who want to adopt it. Today, if I choose Tomcat/JBoss or IIS, I can get (some) ISP deployment options but not if I choose Glassfish.

    If Netbeans/Glassfish gets a "deploy/monitor to an ISP" plugin -- similar to Ruby/Rails's capistrano and ISPs make it easy(easy for monitoring and NOT expensive) for developers to deploy applications, then Glassfish can start getting some mileage.

    BR,
    ~A

  7. Back to top

    Re: Seems very neat

    Aug 15, 2006 10:22 PM by Clinton Begin

    ISPs make it easy(easy for monitoring and NOT expensive) for developers to deploy applications, then Glassfish can start getting some mileage.


    No ISP in their right mind would ever support Java cheaply...at least not until we see MVM implemented...(i.e. never).

    Clinton

  8. Back to top

    BEA and IBM have moved on

    Aug 18, 2006 8:05 AM by unnisworld BLR

    The leaders in Appserver market, IBM and BEA have moved on to other cash cows like Portal, SOA etc. Appserver alone is no more a hot market now. Sun needs to come up with a complete software stack which has quality, ease of use and good documentation to climb up the ladder. I sincerely hope SUN will be able to do that.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.