tags:

views:

627

answers:

5

I already have WAMP server installed in my system which makes life much easier :-).

So can anyone tell me what is the WAMP server equivalent for JSP?

A: 

Tomcat, despite all its downsides.

Myles
Downsides? What are you talking about?
BalusC
It has some buggy features such as per virtual host logging. But it is really good. I do like it.
JCasso
A: 

Tomcat.

You can also use xampp, which will roll your lamp stack and tomcat into one management interface (just for starting and stopping the servers).

jonfhancock
+3  A: 

WAMP basically stands for "Windows, Apache HTTP Server, MySQL DB Server and PHP". It's just a convenience software bundle for the lazy (pardon me ;) ) who doesn't want (or doesn't know how) to download/install/configure each separately.

The JSP/Servlet equivalent would look like "Apache Tomcat Server, MySQL DB Server". The JSP support is already builtin Tomcat as being a JSP/Servlet implementation (also known as servlet container), while Apache HTTP Server doesn't by default support PHP, hence there's no need to substitute "PHP" with "JSP". Windows is irrelevant here as both Java and MySQL can just run at almost all platforms, so it's left away.

For JSP/Servlet you don't necessarily need the Apache HTTP Server as Apache Tomcat is already a full fledged webserver. But if you want to run both PHP and JSP at one webserver for some reasons (which I don't really recommend though), then you need to add Apache Tomcat Connector (also known as mod_jk) to Apache HTTP Server instance so that it can forward JSP/Servlet-specific requests to any Apache Tomcat Server which is installed at same machine.

If you already have WAMP installed and would like to make use of the same MySQL DB Server, then you don't need to download/install it separately. Just Tomcat would be enough and if necessary also the mod_jk for Apache HTTP Server.

To learn more about Tomcat and JSP/Servlet, I can recommend to dive in the Tomcat documentation and the Marty Hall's Coreservlets.com tutorials respectively. The latter also covers Tomcat and Eclipse.

BalusC
A: 

Wamp uses Apache HTTP Server, if you want something similar there is Apache Tomcat for servlets. But it is as easy as WAMP since you have to do a configuration.

Here is an easy way of configuration

Which IDE do you use? If you are using Netbeans, it has Apache Tomcat and Glassfish bundled. So you don't have to configure it (actually during setup you do a small configuration which is very very easy)

Here is a list of Java Application Servers.

JCasso
Apache is a software company name. You maybe meant to say "Apache HTTP Server" in the first place.
BalusC
Actually it is a software foundation but you are right. I edited it.
JCasso
A: 

I would suggest using NetBeans with the bundled servers it will integrate nicely with the IDE and make it simple to use much like WAMP. You can then use either Tomcat or GlassFish. You can use either the Java flavor of NetBeans or the All.

NetBeans Download

Jeff Beck
Netbeans is a development tool, not a webserver. You don't want to install Netbeans in a production server.
BalusC
Yes but you shouldn't be using NetBeans in production, it is only a dev tool just the same as I would put WAMP in.
Jeff Beck