Selecting Your Java EE 6 Application Server
The number one question I get asked is: ‘Which Java EE Application server should we use?’. With the growing adoption of Java EE 6 new compatible application server get certified.
The current official compatibility and certification matrix lists 12 different products certified for the Full Profile, the Web Profile or both. If you are going to start a new project on a green field which decision would you make? Here is what I do trying to narrow the solution space down.
The Players
What does the bouquet to pick from look like? Very colorful. Beside the well know names like IBM, SAP, RedHat, Apache and Oracle we also have lesser know names in the list. Caucho’s Resin, Apache’s TomEE, OW2’s JOnAS and SAP’s NetWeaver Cloud are Web Profile only certified. All the others reached a Full Profile certification.
A full list of our participants with some further details is contained in the following table:
Appserver | Vendor | License | Profile | Vendor Support Available | Java Version |
GlassFish Server 3.01 | Oracle | OTN / Commercial | FP | Yes | HotSpot 6/7 |
GlassFish Server Open Source Edition 3.x | Oracle | GPL + CDDL | FP | No | HotSpot 6/7 |
WebSphere Application Server 8.x | IBM | Commercial (prod+dev) | FP | Yes | IBM JVM 7 |
WebSphere Application Server Community Edition 3.0 | IBM | IBM International License Agreement for Non-Warranted Programs | FP | Yes | IBM JVM 7 |
JEUS 7 | TMAX | Commercial | FP | Yes | HotSpot 6 |
Interstage Application Server powered by Windows Azure | Fujitsu | Commercial | FP | Yes | HotSpot 6 |
Interstage Application Server v10.1 | Fujitsu | Commercial | FP | Yes | HotSpot 6 |
Geronimo 3.0-beta-1 | Apache | Apache 2.0 | FP | No | HotSpot 6 |
WebLogic Server 12.1.1 | Oracle | Commercial / Free for Dev | FP | Yes | HotSpot 6/7 |
uCosminexus Application Server v9.0 | Hitachi | Commercial | FP | Yes | ? |
JBoss Application Server 7.x | RedHat | LGPL | FP | No | HotSpot 6 |
JBoss Enterprise Application Platform 6 | RedHat | LGPL / Commercial | FP | Yes | HotSpot 6 |
Resin 4.0.17 | Caucho | GPL ‘Resin Open Source’ version ‘Resin Professional’ Commercial | WP | Yes | HotSpot 6 |
TomEE 1.0 | Apache | Apache 2.0 | WP | No | HotSpot 6/7 |
JOnAS 5.3.0-M8-SNAPSHOT | OW2 | LGPL | WP | No | HotSpot 6/7 |
NetWeaver Cloud | SAP | Commercial | WP | Yes | SAP Java Server VM 1.6 |
Looking at your Requirements
The good message first. All the application servers listed on the compatibility matrix passed the Java EE 6 TCK (Technology Compatibility Kit) which basically means, that they deliver the same kind of functionality related to Java EE 6. Even if this contains a decent area of fuzziness due to many reasons. One is, that no TCK covers 100% of the specified features. But I’m sure you can come up with other reasons. What basically is a good message leaves you wondering which could be the right set of requirements to compare instead? It is obviously not a complete technical set of metrics but a combination of different aspects.
A simple example set of metrics could be the following:
– Source Code License (OSS or Commercial)
– License Costs (free for development and production)
– Support (development and/or production support available)
– Certified Java Version (6.0, 7.0 / HotSpot / Proprietary JVM)
– Java EE 6 profile (Full or Web Profile)
This is by far too less if you are doing a full blown product selection . You most likely are going to look at metrics from different categories (e.g. functional, non-functional, corporate, financial aspects) but for now this should be sufficient.
The Selection Process
Lets do it: On to the selection process in this simple example.
First a little disclaimer: This is a very very simplified selection process which really don’t dig into all the dirty little details. It is only thought as a rough methodology idea for your own selection process! So, if anybody is unhappy about what I did, I am happy to read about it in the comments!
We are looking for an OSS server which supports the Java EE 6 Full Profile. That means we are going to kill all the commercial servers and the Web Profile only ones:
Appserver | Vendor | License | Profile | Vendor Support Available | Java Version |
GlassFish Server 3.01 | Oracle | OTN / Commercial | FP | Yes | HotSpot 6/7 |
GlassFish Server Open Source Edition 3.x | Oracle | GPL + CDDL | FP | No | HotSpot 6/7 |
WebSphere Application Server Community Edition 3.0 | IBM | IBM International License Agreement for Non-Warranted Programs | FP | Yes | IBM JVM 7 |
Geronimo 3.0-beta-1 | Apache | Apache 2.0 | FP | No | HotSpot 6 |
JBoss Application Server 7.x | RedHat | LGPL | FP | No | HotSpot 6 |
JBoss Enterprise Application Platform 6 | RedHat | LGPL / Commercial | FP | Yes | HotSpot 6 |
Five left. Two which are questionable from a license point of view. Both JBoss EAP 6 and Oracle GlassFish Server do have a commercial license (as to my understanding) but they still rely on the OSS server products and the licensed version is only relevant if you want to have support. With the next step I am going to kick all the servers which don’t offer vendor support:
Appserver | Vendor | License | Profile | Vendor Support Available | Java Version |
GlassFish Server 3.01 | Oracle | OTN / Commercial | FP | Yes | HotSpot 6/7 |
WebSphere Application Server Community Edition 3.0 | IBM | IBM International License Agreement for Non-Warranted Programs | FP | Yes | IBM JVM 7 |
JBoss Enterprise Application Platform 6 | RedHat | LGPL / Commercial | FP | Yes | HotSpot 6 |
Which brings us down to three. Still not really a single result. Now lets intentionally remove IBM because they are not certified on HotSpot but use their own IBM JVM J9.
Appserver | Vendor | License | Profile | Vendor Support Available | Java Version |
GlassFish Server 3.01 | Oracle | OTN / Commercial | FP | Yes | HotSpot 6/7 |
JBoss Enterprise Application Platform 6 | RedHat | LGPL / Commercial | FP | Yes | HotSpot 6 |
That leaves us with JBoss AS 7 and GlassFish as the only real options today according to my little evaluation.
Recommendation
One could call me afraid of selection a single winner here. If you know me, you know that this simply isn’t true. Given the initial metrics this is exactly the outcome and obviously the selected metrics are not sufficient enough to appoint a clear winner.
If you need a final recommendation you have to tweak the metrics to your needs. I would recommend looking a little bit further into:
– Market reach (e.g. downloads/customers/etc.)
– Maturity (e.g. availability in years since EE 6 final version)
– Development Performance (e.g. Startup-Time/IDE integration)
Remark:
I’m sorry for the fact, that I mixed the commercial offerings from Oracle and RedHat with the related OSS servers a bit. Given the fact, that I wanted to see a OSS server would have lead to a knock-out criteria with the vendor support requirement. Given the fact, that I really don’t want to propose to use AS7.1.1.Final to anybody (see a very nice summary of the reasons done by henk) I personally think, that it is fair to recommend the commercial side for both servers.
Reference: Selecting Your Java EE 6 Application Server from our JCG partner Markus Eisele at the Enterprise Software Development with Java blog.
Very poor English.