Setting up Eclipse and Apache Tomcat

Setting up Eclipse IDE

  1. Go to https://www.eclipse.org/downloads/eclipse-packages/
  2. Download Eclipse IDE for Java EE Developers
  3. Newer versions of Eclipse have installer so you can use it to install it
  4. When installation is done, start Eclipse and create your new workspace where will be your projects.

Setting up Apache Tomcat

  1. Download Apache Tomcat from http://tomcat.apache.org/
  2. Unzip it to some location where you will find it easy.
  3. Make sure you switched to Java EE perspective
    JavaEE
  4. Go to Window -> Show View -> Servers
  5. Click at the link that showed up in the Servers tabnoservers
  6. New server wizard will appear. Choose Apache -> Tomcat v7.0 Server. Define server’s  both name and host name and then click on Add.tomcat7
  7. Click on Browse and find folder where you unzipped Apache Tomcat. Then click Finish at the current and previous window.tomcat71

You successfully installed Eclipse and created Apache Tomcat server at which we will test our web applications.

 

Leave a comment