Architecture

The Portal Struts Extensions library shall cover not only all BTT extended part for common Struts Framework, such as Action Conditions, WSIFMessage Mapper etc, but also all IBM® Portal features.

The toolkit Portal Struts Extensions component consists of the following elements:

BTTStrutsPortlet
In the Portal Struts framework, the class named WpsStrutsPortlet takes place of the native Struts ActionServlet to handle the initialization process. BTTStrutsPortlet, which extends WpsStrutsPortlet , is like the bridge between clients and Struts applications. BTTStrutsPortlet is responsible for determining the Struts Action type - common Struts Action or Portal Struts Action.
BTTPortalActionServlet
BTTPortalActionServlet extends WPSActionServlet, which enables the initialization process to understand the toolkit extended configuration.
BTTPortalRequestProcessor
BTTPortalRequestProcessor extends WpsRequestProcessor, and it adds the toolkit extension function support. There are two types of action support, common Struts Action and Portal Action. BTTPortalRequestProcessor is responsible for determining the action type, and then transfer the different parameters to actions.
BTTPortalBaseAction
BTTPortalBaseAction extends Portal Struts action, and it adds the toolkit function support. This class is the same as BTTBaseAction of BTT Struts Extension except that they have different interfaces.
PortalEJBAction
PortalEJBAction is the wrapper for the BTTEJBAction of toolkit Struts Extensions. PortalEJBAction enables BTTEJBAction to be accessed through back-end Single Action EJBs by Portal requests.
PortalWSIFAction
PortalWSIFAction is the wrapper for the BTTWSIFAction of toolkit Struts Extension. PortalWSIFAction enables BTTWSIFAction to be accessed through back-end business processes by Portal requests.