Can someone please give a noob step by step instructions on how to start a servlet with Tomcat from the installing of Java sdk (and since we are here what sdk do I need for programming servlets, will Java SE will suffice or do I need Java EE?), installing Tomcat, configuring the environment variables ... all the way to testing and succesfully running the servlet.
Any material you will give me (links, tutorials, a post with step by step instructions etc.) will greatly be appreciated. Thank you in advance!
If you are not already comfortable with an IDE such as NetBeans do NOT try to learn a new IDE at the same time as you learn servlets. It is tricky enough already.
Download the Tomcat server - you do NOT need a full JEE package. Install Tomcat as an application, NOT a service. Tomcat comes with the servlet-api.jar library you will need in addition to the standard Java library. Tomcat also comes with extensive documentation and a number of examples you will find very helpful.
Joined: Aug 21, 2011
I'll take your advice into consideration and I will get my hands "dirty" by programming and deploying my first servlets the hard way but just for the sake of the discussion why my Eclipse IDE for Java EE Developers doesn't want to start and instead it gives me a message "Failed to create the Java Virtual Machine"? I have Java SE 1.6 installed and another version of Eclipse (but this other version is for standard Java, not EE) that works fine.