Creating a Web Module Group
See Also
A web module group enables you to execute or deploy multiple web modules as
a group. Creating a web module group requires these steps:
- Create a web module group
- Set a URL mapping for each of the web modules to be loaded as part of the
web module group
- Specify a target server for the web module group. The default web server
is used if no target server is specified.
For information about using shared libraries when deploying to the Sun ONE
Application Server, see the documentation accompanying that server.
Create a web module group:
- From the main window, select File
New to open the Template Chooser.
- From the JSP & Servlet template category, select the Web Module Group
template.
- Type a name to help you identify the file containing the description of
web module group, and select a location for the file. If you do not want the
web module group included in a web module when it is packaged for deployment,
you should place the web module group outside any web module directory.
- Click Finish to create the web module group file, and close the dialog box.
In the web module group file, set a URI mapping for each of the web modules
you want to load as part of the web module group:
- In the Filesystems tab of the Explorer, right-click the web module group
file, and choose Add Web Module from the contextual menu.
- In the Add Web Module dialog box, choose the name of the web module to be
added from the list. Note that only mounted web modules are eligible for addition
to a web module group.
- Enter the mapping name by which you want to identify the web module. When
you execute a file from this web module, you insert this mapped name into
the URI before the filename.
- Repeat steps 2 and 3 until all web modules you want to load together are
added.
- Click OK to save your settings and close the dialog box.
Legal Notices