What web server should I use if I want to run Java code behind?

Posted by Boaz on Stack Overflow See other posts from Stack Overflow or by Boaz
Published on 2010-03-13T20:27:38Z Indexed on 2010/03/13 20:35 UTC
Read the original article Hit count: 357

At the moment, I have lot's of Java which does all kind of nifty stuff and I'm happy with it. The code is command line driven which have been great so far, but I recently decided I want to make the functionality available through web-services. Since my is complex and I'm happy with the way it's written , I don't want go through the pain of porting it to other languages. So I set out on a google journey to find out what web servers exist (on a Linux machine, though it's interesting to hear the answer without that limitation).

From what I could find, it seems that there are two viable options: Apache Tomcat and Sun Java Server.

What are the reason to choose one on top of the other? what are the strength of each and what are the weaknesses? Or, perhaps, there is a third one which is much easier, flexible and less cumbersome.

Anyone?

© Stack Overflow or respective owner

Related posts about web-development

Related posts about web-services