Like other Java EE applications, GateIn 3.2 portlets are packaged in the .war files. A typical portlet .war file can include servlets, resource bundles, images, HTML, JavaServer Pages (JSP), and other static or dynamic files.
The following is an example of the directory structure of the SimplestHelloWorld portlet:
|-- SimplestHelloWorld-0.0.1.war | `-- WEB-INF | |-- classes | | `-- org | | `-- gatein | | `-- portal | | `-- examples | | `-- portlets| | `-- SimplestHelloWorldPortlet.class
| |-- portlet.xml
| `-- web.xml
| The compiled Java class implementing javax.portlet.Portlet (through javax.portlet.GenericPortlet ) |
| This is the mandatory descriptor files for portlets. It is used during deployment. |
| This is the mandatory descriptor for web applications. |