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.
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.
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.
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.
Download the installer and execute. You may install Tomcat yourself or follow me for a safe journey 🙂
- Double click on the installer
- On Choose Components page, select all options from the list
- On the configuration screen, enter admin as both username and password ( or you can enter any values )
- On Java Virtual Machine page, select the JDK path
- 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.
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
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.