Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm starting in Java Web development, then i want to ask, what is the best server, like Apache Tomcat, Resin and others. Remember that i use Linux Ubuntu. Thanks!

share|improve this question

closed as off topic by HopelessN00b, sysadmin1138 Dec 14 '12 at 23:20

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Would you at least list what would make a "good" server? And the term "server" is too general. Would you be more specific? – Sung Jul 15 '09 at 0:00
Fixed, it's a server to use with Servlets. – Nathan Campos Jul 15 '09 at 0:23
Why another down vote??????????? – Nathan Campos Jul 15 '09 at 0:49
@Nathan: Improve your writing, it helps. – OscarRyz Jul 15 '09 at 1:20
Product and service recommendations are off topic per the updated FAQ. – sysadmin1138 Dec 14 '12 at 23:21
up vote 9 down vote accepted

I assume you're talking about JSP server for Java, just to keep things free, documented, and available I'd suggest Apache Tomcat.

I personally haven't done JSP development but you can find ubuntu documentation: here It will give instructions on serving servlets and jsp pages.

share|improve this answer

The best server depends a lot on what you are trying to do.

If you just want to test simple webapps (JSP / Servlet) Tomcat is probably the easiest way. It is packaged in Ubuntu. The documentation for Tomcat on their website isnt as comprehensive as we could want, but you can easily find good books on Tomcat. There is now more and more good monitoring solutions for Tomcat, so Tomcat is bocoming a good solution even for large production deployements. (I waor in a private bank and we are moving away from BEA Weblogic for Tomcat).

If you want a robust enterprise grade server, JBoss or Glassfish are good solutions, but they are a bit harder to setup.

If you want a complete solution with very good monitoring, try BEA Weblogic. They have a developper version for free, but if you want to do production deployements, be ready to sepnd quite some money.

I have no experience with Resin, but I have heard good things about it ...

If you are using this server for developement, you'll need to see which server is well integrated with your IDE. Eclipse integrates very well with Tomcat, and also integrates with most open source app servers. Eclipse integration with Weblogic is not as good as it could be. Netbeans is known to integrates well with Glassfish (no surprise), but I dont use Netbeans.

My choice for a development server would be Tomcat, unless I was working on a project where I would really need EJBs. If the production server is already choosen (which is the case most of the time) I would try to use the same server for the dev, unless it is a very heavyweight server (like Weblogic). In this last case, I would try to use both Tomcat and Weblogic to have better velocity.

share|improve this answer
+1 for a very complete answer. – Ophidian Jul 22 '09 at 22:23

resin, jetty. but really that depends on criteria.

share|improve this answer

Windows server 2008. It currently holds a performance record: See

from the page:

“This impressive world record on Windows Server 2008 demonstrates Oracle and AMD’s joint collaboration to optimize Java performance. It serves as a powerful proof point of the excellent TCO that can be obtained when running Oracle JRockit JVM on servers powered by the new 45nm Quad-Core AMD Opteron processor,” said Earl Stahl, vice president, Software Development, AMD.

Oracle JRockit delivered 1,181,782 SPECjbb2005 bops, running on an HP ProLiant DL785 G5 server, the newest addition to the award-winning HP ProLiant product line, with eight quad-core AMD Opteron 2.7 GHz processors, 64 GB RAM and Microsoft Windows 2008, surpassing a result using the Sun JVM(3) on a near-identical system by nearly 14 percent, and a similarly sized IBM Power system using the IBM JVM(4) by 36 percent.

share|improve this answer
I believe you're thinking of a different kind of server than he is. He's asking about server software for learning to develop servlets, best here is what is easy for him to setup and use, not necessarily the fastest. – sparks Jul 15 '09 at 13:42
@sparks I can see it being read that way- the question's vague- I took it as it was a generic "what's the best server for java" – Jim B Jul 15 '09 at 16:27

While Tomcat suffices for those starting out in Java Web Development, you might also try Sun Glassfish as its got a good amount of features.

share|improve this answer

The best server for what exactly? Ubuntu Server is great...

share|improve this answer

For testing and devvelopment purposes I have used WebLogic, WebSphere, Tomcat, JBoss, and Jetty. By far my most favorite is Jetty, it is so very simple. That is the only one on my dev machine at the moment.

It sounds like you are just starting out, in which case I would suggest keeping it simple. Jetty.

share|improve this answer

Oracle Weblogic

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.