Webs plugins
Webs plugins are regular Java EE web modules designed to work with portals, such as ESB (Enterprise Service Bus), SSO (Single Sign-On), workflow engine, search engine, and so on. A web plugin provides the ability to integrate third-party applications, supporting embedding hook definition and service-builder services, which is different from plain web applications.
Web plugin project
Similar to the project name of a portlet or hook, a web plugin project should have the name ${web.name}-web
, under the folder $PLUGIN_SDK_HOME/webs
. For example, the name ${web.name}-web
could be cas-web
or solr-web
. Since there isn't any template for web projects, you have to create a web project manually.
The web project is made up of build.xml
, an application WAR file (if using web application WAR directly), and a folder called docroot
. For example, the web plugin cas-web
has the following definitions in the file build.xml:
<?xml version="1.0"?> <!DOCTYPE project> <project name...