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:

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:

  1. From the main window, select File and choose New to open the Template Chooser.
  2. From the JSP & Servlet template category, select the Web Module Group template.
  3. 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.
  4. 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:

  1. In the Filesystems tab of the Explorer, right-click the web module group file, and choose Add Web Module from the contextual menu.
  2. 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.
  3. 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.
  4. Repeat steps 2 and 3 until all web modules you want to load together are added.
  5. Click OK to save your settings and close the dialog box.
See Also
Web Module Groups
Executing Web Modules Targeting the Web Server

Legal Notices