Thursday Jul 10, 2014

Spotlight on GlassFish 4.0.1: #2 Simplifying GF distributions

'Spotlight on GlassFish 4.0.1' is a series of posts that highlights specific enhancements of the upcoming GlassFish 4.0.1 release. It could be a new feature, a fix, a behavior change, a tip, etc.

#2 Simplifying GF distributions

For any particular GlassFish release, we used to have different distributions. We had an English and a multilingual (ML) version of GlassFish. We had a Zip based distribution. We also had versions with a native installer... on different platforms (Windows and Unix's). Finally, from a Java EE standpoint, we had 2 types of distributions: Full Platform and Web Profile. If we factor in all those criteria’s together, this gives 12 different distributions!  And that was just for the Open Source edition of GlassFish! Needless to say that this was costly and not necessarily very useful as clearly, the statistics shows that the Zip distribution was the most popular one.

GF 4.0 Download Wizard

For 4.0.1, we have decided to greatly simplify this by only producing 2 Zip based distributions: a Web Profile distribution and a Full Java EE Platform distribution. To install GlassFish 4.0.1, you just need to unzip the archive in the desired location. And GF is already pre-configured and ready to be started (the only assumption is that you have a JDK installed). The advantage of the Zip distribution is that it is simple and universal, it works on any platform. This approach is also very convenient when it comes to script GF installation. Other open source application server are also using Zip distributions, so we should be on the right track.