Maven is a great tool that helps developer to build and manage any Java based project.

Maven’s primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time. In order to attain this goal there are several areas of concern that Maven attempts to deal with:

  • Making the build process easy
  • Providing a uniform build system
  • Providing quality project information
  • Providing guidelines for best practices development
  • Allowing transparent migration to new features

You can learn more about Maven here


I guess no introduction is needed for Java. Click here to download.


 Installing Eclipse

Eclipse is one of the most popular IDE for Java.

You can learn more and download Eclipse here

Click on the Download link and download the Eclipse for Java EE Developers version. Choose 32-bit or 64-bit depending on your operating system.

Here we are using Eclipse Mars version.

Windows

Download the zip file and extract. There will be a file inside the extracted folder eclipse.exe, double click on it and Eclipse will start.


Installing Tomcat

Tomcat is one of the most popular & light weight Web Server & Servlet Container for Java. You can learn more and download Tomcat here

We are installing version 8 here.

Windows

Download the installer and execute. You may install Tomcat yourself or follow me for a safe journey 🙂

  1. Double click on the installer
  2. On Choose Components page, select all options from the listtomcat-installation-1
  3. On the configuration screen, enter admin as both username and password ( or you can enter any values )tomcat-installation-2
  4. On Java Virtual Machine page, select the JDK pathtomcat-installation-3
  5. On the last page, uncheck Run Apache Tomcat as we don’t want Tomcat to always run as a service. We will start it from Eclipse. tomcat-installation-4

Configuring Tomcat in Eclipse

Now, let’s start Eclipse. We will configure Tomcat in Eclipse so that we can run our web application directly from Tomcat.

In Eclipse, go to Window -> Preferences

eclipse-tomcat-configure-1

Click Add and choose Apache Tomcat v8.0

Click Next -> Browse -> Select the Tomcat installation folder similar to this:  C:\Program Files\Apache Software Foundation\Tomcat 8.0

Click Finish -> OK

Tomcat is configured in Eclipse.

Click here for Part 2