

In the new project window, inside the Web folder, we select Dynamic Web Project.Īs you can see in the window New Dynamic Web Project apache tommcat 6, has already been selected as our target runtime. In the Project Explorer view, right button on the mouse- new- project. Now we can see the Tomcat server in the server view and also a new project called Servers where we can also see our Tomcat server. We click the button Browse and we select the directory where our Tomcat installation is and we click in Finish.

We choose Tomcat versión 6, which is the one we use for this tutorial and we will see a window as the one below. In the contextual menu(right mouse button over the view), we choose new server which takes us to a window where we choose the server we want to add.Īmong the servers we can see the servlets containers we´ve talked about before (WebSphere, JBoss, etc). We then look for the servers view to register the Tomcat server we are using. Inside de installation directory (in my case C:\eclipseJEE2) we execute eclipse.exe and indicate the workspace (in my case C:\eclipseJEE2\workspace\), which is the directory where we want to work. Download the *.zip file and decompress it in a folder. The first thing we are going to do download Eclipse IDE for Java EE Developers and install it in our computer. This version also includes, html and jsp editors, which make the job with this type of files, easier.ĭownload and install Eclipse IDE for Java EE Developers In this tutorial, we will see how to simplify this process using Eclipse para java EE. So that the changes are updated we restart the Tomcat server manually. Up until now we have been using Eclipse Classic to compile servlets and we copied the *.class files manually into the folder /WEB-INF/classes. Use of Eclipse IDE for Java EE Developers
