The portlet deployment descriptor needs to specify a portlet Java class. ATG provides two base classes you can either use as your portlet class or extend in your own subclass:

The GenericPortletService class provides standard methods for an ATG Nucleus component, including support for self-configuration, name resolution, performance profiling and logging.

A class derived from GenericPortletService should override the following methods:

The DispatchPortlet class extends GenericPortletService. You can use DispatchPortlet as your portlet class if, as in most cases, you want your portlet to dispatch to a JSP or other resource. The DispatchPortlet.path property defines the resource the portlet dispatches to.

 
loading table of contents...