• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java EE 5 Book Question

 
Dalibor Kalna
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello David, thanks for the promo...

we are developing Java EE 5 application using JBoss so I'd like to know which features you would like to point out about Glassfish (related to Java 5 EE developement).

Thanks a lot
Dalibor
 
David Heffelfinger
author
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dalibor,

For starters, GlassFish covers 100% of the Java EE 5 specification, at this moment the latest general availability version of JBoss is not 100% compliant with the spec.

Additionally, GlassFish is highly perfomant, based on the SPECjAppServer 2004 benchmark, beating Weblogic, Websphere and Oracle App Server. There are no published SPECjAppServer benchmarks for JBoss, but the fact that they haven't been published leads me to believe that they might not be that good.

Additionally, GlassFish has a very nice and user friendly web console for configuration and administration, where with JBoss most configuration is done by editing XML files by hand.

I recommend you download GlassFish and give it a try, there is even a migration tool that will help in the transition to GlassFish from other application servers.

David
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But JBoss argue that their server is highly perfomant too (especially for stateful session beans).
JBoss also has a web-admin console based on JMX (it is not charming as other consoles, WebLogic for example).
 
Dalibor Kalna
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello David, thanks for reply...

ok, I'll give it a try.... even if migration tool doesn't support JBoss 4.x

As I see Glassfish supports Hibernate as well, so there should be no problem
even with hibernate specific caching... right?

What about MBeans? Shall I expect our MBeans run without problems? We do not use JBoss specific features, just plain MBean interfaces.

Best regards,
Dalibor
 
David Heffelfinger
author
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dalibor,

You should have no problems with your MBeans. You can deploy applications using Hibernate without a problem with GlassFish.

The latest Hibernate version is a JPA implementation. It is possible to use Hibernate (or any other JPA implementation for that matter) instead of Toplink Essentials (the JPA implementation included with GlassFish) if we wish to do so.

David
 
Sergey Vlasov
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello David,

Are there any practical guidelines on sizing hardware for JavaEE 5 applications and GlassFish?

Regards,

Sergey
 
Dalibor Kalna
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello David,

so far I was able to port whole application without any significant problems.
Now I see the advantage of that we stick to the EJB3 standard avoiding any
JBoss, Hibernate specific features. Till now, works like a charm. I like the
admin console. What I did not managed yet, were our WebServices... anyway, I
have ported whole thing in less then 12 hours. Great stuff!

Best regards,
Dalibor
[ November 30, 2007: Message edited by: Dalibor Kalna ]
 
David Heffelfinger
author
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dalibor Kalna:
Hello David,

so far I was able to port whole application without any significant problems.
Now I see the advantage of that we stick to the EJB3 standard avoiding any
JBoss, Hibernate specific features. Till now, works like a charm. I like the
admin console. What I did not managed yet, were our WebServices... anyway, I
have ported whole thing in less then 12 hours. Great stuff!

Best regards,
Dalibor

[ November 30, 2007: Message edited by: Dalibor Kalna ]


Glad to hear, keep up the good work!

David
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David,

Not sure where you got that Glassfish beat Oracle in SpecJ. If you look at the numbers for the most recent published SpecJ benchmark (SpecJ2004) then you will see that Oracle has the best of all the published numbers.
I grant that these things are always hard a little to understand and interpret since the hardware is often different across the different test runs, as well as the O/S'es, but one of the reasons why people don't simply just raise the core count ad nauseum is because many servers simply do not linearly scale, so throwing more cores at the problem does not always help.

Anyway just wanted to point that out. Glassfish is still the best open source server available, IMO, and I know that it does perform quite well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!