As the Portal matures step by step, its structure and efficacy have also undergone major changes. from a hybrid service to a stage where the system framework is the core, the entire process of process and arrangement and development has left, the Portal is similar to a skeleton and can accept such external
As the Portal matures step by step, its structure and efficacy have also undergone major changes. from a hybrid service to a stage where the system framework is the core, the entire process of process and arrangement and development has left, the Portal is similar to a skeleton and can accept the exploitation program developed by the external technical architecture. the Portals Bridges mode is used to connect different exploitation programs. it can include the following:
The exploitation program integrated with Struts MVC mode:
Struts has become the most popular framework tool for creating Web exploitation using Java. the MVC mode implemented by Struts brings a good hierarchy for Web exploitation, it also provides a series of tools to simplify Web application development.
Developers do not need to care about Portal specifications. as long as they care about Struts development, this greatly reduces development costs and retrains developers.
: Integrate the Struts exploitation program in the Portal
Important implementation classes:
Public class StrutsPortlet extends GenericPortlet
The following is a snippet of the Portlet:
ServletContextProvider
Org. apache. jetspeed. portlet.
ServletContextProviderImpl
ViewPage
/Welcome. do
HelpPage
/Tour. do
StrutsPortletDemo
Struts Portlet Demo
This is the struts MailReader portlet demo
Org. apache. portals. bridges. struts. StrutsPortlet
-1
Text/html
VIEW
HELP
Exploitation programs integrated with WebWork development
WebWork is an open source code Web exploitation framework used to simplify Web-based exploitation development. This topic introduces WebWork and describes how to use WebWork, assumerverpages (JSP), and Velocity to create a registration interface.
Integration with webwork is realized through the Portals Bridges framework of Jetspeed2, which is an important implementation class.
Public class Webwork2Portlet extends GenericPortlet