samedi 31 mars 2007

Setting up a web project using eclipse

For my current project, I choose to use :

  • Click framework
  • PostgreSQL
  • MyEclipse
The first step is to create an empty project. From eclipse choose, create java project, then specify the src folder (choose to create a new one named src).

Then choose from the myeclipse menu the add web project functionality. This will add the required lib for a J2EE project.

Then add the click framework librairies, click.jar and click-extras. Add the postgresql jdbc driver by right clicking your base project, configure build path -> Add external Jar.

Then pick up the jar file from the postgresql jdbc folder.

Once you have done this, you could create your dao, db entity, business code and create the web layer.

Aucun commentaire: