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?
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?
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).
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.
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.
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.