sabato 12 novembre 2011

Install JBossTools Eclipse plugin

JBossTools is a set of plugins for Eclipse IDE that supports JBoss and other technologies related to it like Hibernate, JSF, Seam...

There are three ways to install this plugin, as explained here, I chose to install it using the update site:


  • First of all you have to select the right url basing on the version of eclipse you use. Here you can get the url of the stable version of the plugin.
  • When you have identified the right url, right click to copy it. For Eclipse 3.6, the URL is ”http://download.jboss.org/jbosstools/updates/stable/helios/ ”
  • In Eclipse IDE, open "Help" in the menu bar, then select "Install New Software..." . Then click the "add" button and paste the url of the plugin.

  • The next step is to select the plugin that we are interested in, click next and follow the instructions. At the end of the installation we need to restart the IDE in order to complete the installation.

giovedì 10 novembre 2011

Set up the environment

In order to develop our Web Application we need to install and configure some tools: in particular in this post I will explain how to set up the initial environment.


  • IDE: I choose to use Eclipse because I am more familiar with it respect to other IDEs like NetBeans. Eclipse doesn't need any installation, it is enough to unzip it in the folder you prefer. You can download eclipse here
  • JBoss5.1: Also JBoss doesn't need any installation, as for eclipse it is enough to unzip the archive downloadable here in the place you want. To start jboss you need to enter the jboss folder and run the script file run.sh (for unix users, use the run.bat if you use windows) that you can find in the bin subfolder.

  • Database: MySQL5.1, the installation file can be downloaded here. We also need the java connector. command:/path/to/MySQLInstallationFolder/bin/bin/mysql -u root -p -h localhost
  • phpMyAdmin (optional): a simple tool to handle the administration of MySQL. To download it and get more information take a look here.