1) Install Java. =P
2) Install Postgre database: http://www.postgresql.org/download/
- Just do the default installation; in the project will be used the user postgres and the password postgres.
- If you want other database, install the MySQL with the default option (MySQL will be the other database herer that we will support). Remember of the user/password that you have used in the installation.
3) Install the Maven: http://maven.apache.org/download.cgi
- In the page above it is possible to see how to install and to configure the Maven in several SO types. Be sure that Maven is correctly installed and working in your machine before going forward in the post.
4) Install the Eclipse Juno: http://www.eclipse.org/downloads/packages/release/juno/r
- I am using the Juno version because the Kepler linux version has some bugs.
- Eclipse does not need installation, just uncompress it and start using it. If you have some error when you try to open the Eclipse IDE check your Java installation, environment variable, etc. This is beyond this post and will is not be discussed here.
5) Jboss Tools – We will use the JBoss Tools plugin that is very useful when we work with web projects. Follow the steps below to install it correctly:
Go to menu: Help > Eclipse Market
Type: “jboss tools” and press “Enter”
Select the “Eclipse Juno” version and then press “Install”:
In the next screen select the options displayed in the image below. You can check all options if you want, but it will be faster if you download only the options selected below. After you select the options that you want, press the “Next” button:
Accept the terms and press “Finish”:
A confirmation message will be displayed, press “OK”.
A message about a required Eclipse restart will be displayed. Press “Yes” and wait the Eclipse update to finish:
Go to Window > Preferences:
In the Maven menu be sure that the options are correct like the image below. The XML path should point to the XML that can be found in the Maven installation path. To change the path just press the “Browse” button and locate the file.
This is the entire environment that we will need to in this project. Do not worry if you did not see any configuration about the Tomcat, in a few pages it will appear.