Portlet Application project structure
This is the basic file structure of a Portlet Application project using Hippo Portal:
| File or folder
|
|
Contains
|
| <src> |
|
|
| <webapp> |
|
Hippo Portal run-time configuration |
| WEB-INF |
|
|
| WEB-INF |
|
Contains the following files:
application.properties: properties used in the Spring context contained in applicationContext.xml
applicationContext.xml: Spring context containing several required Spring bean configurations
(e.g. for registering the Portlet Application with the Hippo Portal Registry) and several convenience beans, such as a XSLT transformer
service and a Freemarker
service.
log4j.properties: default log4j configuration
portlet.xml: the JSR-168
portlet deployment descriptor, which
is empty by default.
web.xml: web application deployment descriptor, containing Hippo Portal and Spring configurations.
|