Search Tutorials

Configuring the Development Environment | JavaInUse

Configuring the Development Environment


In this chapter we will do the project setup which will be required throughout this series. We will be creating a Maven project with minimum dependencies added to the pom.xml for getting Spring up and running. In Future chapters further dependencies will be added to the pom.xml as and when required.

Lets Begin

For this series we will be using
1. Eclipse IDE(Luna)

We will be creating a Maven Project.Open the Eclipse IDE.
1. Go to File->new->other->Maven Project.Click Next Button.


If not already selected, select Use default Workspace Location, select Create a Simple Project
Click Next Button.

4. Enter the values for Group Id as com.javainuse and Artifact Id as employee-management-system.

5. Click Finish.

Our Maven Web Project is now created. We will now modify the pom.xml file to add dependencies required for Spring. Currently we have only added the dependency spring-context, other dependencies will be added later as required. After modification our pom.xml file is as follows-

<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">

Now run the following Maven command.
1. clean:install - This will download the dependencies required and build the war file.
So our Eclipse is now configured. Eclipse project structure at the end of this chapter is as follows-

Download Source Code

Download it - Employee Management System

What Next?

In the next chapter will implement Employee Management System using Traditional Approach.