GlassFish has several versions that you may have heard of. Each one attempts to address different needs. I’ve had several people in the last couple of weeks ask me which one they should use, so here’s a quick list of features and reasons to use one more than the other.
• GlassFish v2.1: current JavaEE 5-certified and supported product. Offers centralized admin, clustering. v2.0 was released in September 2007 and v2.1 in March 2009 with the Enterprise Manager value add. All major IDE’s (NetBeans, Eclipse, IntelliJ) have plugins to deploy to this version. GlassFish v2.1 update 3 is the latest version available for supported customers.
• GlassFish v3 Prelude: interesting if you want a lightweight Java EE 5 web container (no EJB, JMS, etc…) with admin tools. This is the first release using the modular OSGi architecture, IPS packaging format, and developer features such as preserve session across redeployments. This was released in November 2008 and is a supported product (although not a long-lived as traditional software at Sun). It also offers native deployment of Grails and Rails applications. Some people use this version in development and deploy to v2.1.
• GlassFish v3 Preview: while not yet a supported product, this is a more recent version building on the same foundation as the above “Prelude” version, only it now offers both a Web distribution and a full Java EE 6 (Preview) distribution. It has a number of improvements over the “Prelude” version (IPS and updatetool for instance) and certainly much closer to a fully-featured application server. The final version should ship in September 2009 and offer a JavaEE 6, single-instance architecture. At that point this will become a supported product. The centralized administration will come in the v3.1 release which will mean feature parity with v2.1. If you like bleeding edge stuff, promoted builds for v3 are here.
For more details on the releases, including sustaining (restricted) releases, please visit http://blogs.sun.com/GlassFishForBusiness/
— EOF —
- 2007: 现在的喉舌越来越TM娱乐了(1)