tags:

views:

61

answers:

4

Which is the best application server and the best ide for an absolute beginner for locally hosting servlets

+3  A: 

One good solution is Eclipse + Tomcat.

Check this screencast for further information.

systempuntoout
As far as I know Tomcat is not an application server but a web server
Shervin
You don't need a full blown application server for hosting servlets - just a servlet container like Tomcat or Jetty
Bozhidar Batsov
@Shervin are you kidding me?Tomcat is an open source servlet container!!Why DOWNVOTE??
systempuntoout
@systempuntoout no I am not.
Shervin
Because Tomcat is NOT and I emphasize on NOT an Application Server. Instead of bashing me and down voting my answer you should read the question more carefully.
Shervin
Have a good day :).
systempuntoout
+2  A: 

Eclipse and netbeans each have a distribution that includes all you need for Servlet development, including a server.

Between the two, eclipse is the more powerful, but for a beginner it could be a bit overwhelming. Netbeans is less configurable, but that also means there's less to distract you from the "normal" way of doing things, which is probably the best for a beginner.

Michael Borgwardt
A: 

I recommend using Eclipse JEE version, together with JBoss Application Server. You can download Eclipse plugin: JBoss Tools which adds alot of nice plugins to Eclipse.

You can download JBoss AS (Application Server) for free. All products are free and opensource.

Shervin
Is it the right one from a beginner's perspective?
abson
In my opinion - absolutely not. JBoss is no place to get started with just servlets, but everybody has their own opinion on the subject. You actually need only the JBoss Web from JBoss AS, which is a heavily modified Apache Tomcat...
Bozhidar Batsov
-1 JBoss for beginner?You got to be kidding me!And you commented on my answer that Tomcat is a web server!
systempuntoout
JBoss AS is modified from Apache Tomcat. @abson asked for the best application server for a beginner. I can't see why JBoss isn't the best. Glassfish? Websphere? With JBoss, you get a lot of configuration for free which you don't need with Tomcat for instance.
Shervin
It's safe to assume that an absolute beginner does not understand the distinction between an J2EE application server and a servlet container, and the desire for "locally hosting servlets" strongly suggests that he really just needs a servlet container.
Michael Borgwardt
@Michael Borgwardt: This is totally stupid. Just because you make an assumption that @abson doesn't know the difference between an application server and web container you are downvoting my answer?If you think that @abson should be aware of this, then you should comment or answer that. Not downvote a totally ligit answer which he already as accepted.
Shervin
@abson Absolutely not!Jboss is not for beginner.What you need is a lightweight servlet container.
systempuntoout
A: 

I'd recommend NetBeans + Apache Tomcat/Jetty is you're just looking into servlet development. If you plan to do some EJB3/3.1 development as well have a look at Glassfish or JBoss AS.

NetBeans integrates great with all of these and requires far less configuration than Eclipse to get you started.

You might consider as an IDE option IntelliJ IDEA as well, it's heavier that Eclipse and NetBeans, but it has some compelling features of its own...

Bozhidar Batsov