Use Portal to integrate external exploitation programs

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.