tags:

views:

284

answers:

5
+5  A: 

My personal recommendation is JBoss. Not only is this a solid server, but their are other JBoss Platforms and Frameworks that easily integrate into JBoss. One example is JBoss ESB.

Ascalonian
+1  A: 

+1 on JBoss, that is mainly what I use for personal use and work. I have also used OC4J, and find that it is harder to use, and more finicky with it's class loading mechanism, maybe I'm just used to JBoss. But there is definitely more and easier to find community support for JBoss. So that is reason enough if you are doing this for personal use and are not going to get a support license, there will be many more users willing to help out if/when you encounter issues.

broschb
+3  A: 

Far too often, I've seen servers like JBoss and WebSphere (I've worked with them for the last 5 years now) rush to market with broken implementations. Unfortunantely, the part that is broken might be very small, but it will be just what you will be breaking your head on.

Oracle Weblogic just kicked the hell out of me with a broken implementation of MDBs (annotations).

If you want a server that is the most JEE 5 compliant, will give you the least heartache and pretty much production-worthy, go for Glassfish and yes... use Netbeans as your dev IDE.

Ryan Fernandes
+1 for glassfish
Alex Beardsley
+1  A: 

I ran into a few situations lately job hunting where they were looking for experience in a specific J2EE container (which defeats the whole purpose of having a standard), and of course not the same one each time.

Well, I think you have (half) answered the question yourself! If your primary aim is to help you find a job, you need to look at what JEEE container the recruiters in your geographical area are asking for. Go to your favourite recruiting websites, pull up the Java / J2EE jobs for your area for the last couple of months, and count for each kind of web container. (And also count the jobs that don't specify a particular web container.)

If the results of your research say that you need to learn WebSphere, you have my sympathy :-)

Don't forget that a "mandatory" requirement may not actually be mandatory if you are you are good enough in other areas. It all depends on what other candidates the recruiter can find. Don't be afraid to say "you asked for X, but I have Y and Z which demonstrates that I have broader experience with this technology".

Stephen C
Well, I did the research to find out what's popular in my area, as I outlined in the question. But that was only one of the criteria. I'm getting the impression WebSphere should be avoided even if it's popular (so is divorce), and that's useful information. Thanks. That's the kind of information I can't see in some graph on Indeed, that I need to make this decision.
dj_segfault
WebSphere is a very big beast, and not a good choice for learning at home.
Thorbjørn Ravn Andersen
@dj: Your question gives the impression that your *primary purpose* in learning a new J2EE platform is to get you a job. And I cannot see where it says you have methodically researched (i.e. counted, and created your own graph!) the number of positions for each platform.
Stephen C
dj_segfault
+2  A: 

I've only used Tomcat myself, professionally. I've been using it for the better part of my (so far) three year career and I havn't experienced many problems with configuring or deploying applications to it. I use Eclipse WTP for Java EE developers 3.4 (Europa) at work, and mostly develop JSF applications utilizing ICEFaces. We deploy using the Tomcat web manager for most of our smaller projects, and through Hudson for some of our broader applications.

Please bear in mind some caveats, however:

  • We host about 20 seperate web applications, mostly JSF with a few older JSP apps.
  • The web applications served by my office have a very, very narrow scale. Our department currently supports about 20 unique users, so most of our applications do not receive a lot of heavy traffic.
  • Most of our web applications are very processor intensive (i.e. here's a 2GB CSV file...write a program to calculate the total number of people that reside within homes that have 3 or more children...) that only usually perform one-off runs either weekly or daily (or even yearly...). In other words, "Give me all your resources for 2 hours...then I'm going to lunch".
  • Our primary web server is a Solaris 10 box with a Dual core sparc processor (I believe clocked at 1.8 GHz if memory serves correctly), with 2GB of RAM (don't recall if it is DDR or DDR2).

That being said, I've definitely noticed performance problems over time with regards to our application environment that probably have more to do with our application code as opposed to Tomcat itself. I'm willing to bet that the problems have to do with poor memory management within our processing logic and data allocation than anything. The reason I believe this is because on a fresh restart of Tomcat our applications usually execute in an incredibly responsive fashion, yet over the course of even just one or two days the user experience is degraded.

Take it for what you will. We've probably got some problems to deal with on our end, but Tomcat itself seems to be pretty performant in a localized environment.

KG