Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Real world comparisons of Glassfish and JBoss 5?

Tags:

Does anyone have experiences with both in the real world? How do they compare in terms of performance (memory usage, speed, etc)? Stability?

Does JBoss Seam work well on Glassfish?

like image 700
jsight Avatar asked Aug 04 '09 18:08

jsight


2 Answers

A number of things from my own experience:

  1. GlassFish has much better administration console (JBoss has three consoles, each of them far from being ideal).
  2. Hot deployment is more reliable on GlassFish
  3. JMS works better on GlassFish - this applies to GF vs. JBoss 4.X. As far as I see the JMS implementation was drastically modified in JBoss 5.X, so maybe this claim is no longer true
  4. WebServices are working better on GlassFish, I had a number of issues with more advanced configuration on JBoss
  5. GlassFish has more super-high-end entrprise add-ons, like HA-Database, that stores user session on a cluster in Database, not in memory, so the full failover is possible, whatever disaster would happen
  6. JBoss is more much popular, there are a lot of administrators, developers, who know it, so it is easier to find someone, who can develop on JBoss, there are also more resources in the net. Sometimes this is more important, then technical superiority of one solution over another.
  7. GlassFish is friendlier for developers. Redeployment of the web application on GF 3 lasts more or less one second - in oreder to achieve this kind of speed of redeployment for JBoss I need JRebel. In addition, if someone is using NetBeans, there is a number of smart wizards, that are very helpful.
  8. The future of GlassFish is not certain because of the acquisition of SUN by Oracle. Right now Oracle claims it will support it, but who knows how this support will look like and how long will it last. Even though GlassFish is open source, hardly anyone is ready to develop application server for his/her own needs...

From my point of view GF is easier to administer, is a better solution from purely technological point of view, but it is far less popular and has uncertain future.

I am not connected in any way with RedHat/JBoss or SUN/GlassFish, my company (erudis.pl) is supporting and developing for both servers.

like image 129
Piotr Kochański Avatar answered Sep 20 '22 19:09

Piotr Kochański


(disclaimer: I work at Sun and I am in the GF team)

I agree that Seam works fine on GlassFish; see https://blogs.oracle.com/theaquarium/tags/seam

GFv3 is quite different than JBoss 5; in particular:

  • GFv3 is based on OSGi while JBoss 5's kernel is based on JMX.
  • GFv3 supports JavaEE 6; JBoss 5 supports Java EE 5.

GFv3 is designed to be very modular; services start on demand, there is an update center repository, etc. GFv3 is significantly smaller than JBoss 5 and will start much faster. JBoss 5.1 GA is listed as 130MB; GFv3Preview is 50MB. GFv3 starts in a couple of seconds; JBoss in tens (you should try the startup for your own platform).

There are other differences, some inherited from GlassFish v2 like the graphical admin console, or the admin CLI.

A more direct comparison for JBoss 5 would be the GlassFish v2 releases, which are based on Java EE 5. The latest release in that family is GFv2.1, with a GFv2.1.1 release scheduled in October (see https://blogs.oracle.com/theaquarium/entry/schedule_for_glassfish_v2_1).

Sun also provides patch releases of GlassFish (akin to RedHat's support for JBoss); see https://blogs.oracle.com/glassfishforbusiness and sun.com/glassfish.

like image 28
Pelegri Avatar answered Sep 23 '22 19:09

Pelegri