Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Introduction
  2. Installing Eclipse
  3. Preparations
  4. Classpath settings
  5. portlet.xml
  6. web.xml
  7. xwork.xml
  8. JBoss Portal descriptors
  9. Deployment
  10. Next step
  11. Re-deployment

...

In the tutorial, we will be using Eclipse 3.1.1 which can be downloaded from http://www.eclipse.org

Preparations
Anchor
preparations
preparations

A Portlet application is basically packaged as a regular web application, but with an additional descriptor; portlet.xml. The first step of the tutorial is to create the project structure in eclipse. First, let's create the Java project itself using the new project wizard. We call the project 'MyPortlet'. Make sure to select the "Create separate source and output folders" radio button, and hit "next". In the next wizard step, set the output folder for the 'src' source folder to 'MyPortlet/webapp/WEB-INF/classes'. This makes sure it will be easy for us to export the application as a WAR file when we're done.