Server User Manual

Table Of Contents
Chapter 9: Using JBuilder with JBoss servers 87
Creating a JBoss service module
4 Specify a name to identify the new JBoss service module in the Name field.
5 From the Build JBoss Service Archive drop-down list, select when you want the
service archive to be built.
6 Use the Add button to add the source path for any Java files associated with the
module.
You might want to add Java source paths that are necessary to build a module. It
isnt absolutely necessary to add the source paths in this wizard, however. You can
also add additional source path directories to your project directly. If you choose to
add the source path directories using the JBoss Service Module wizard, the
directories you specify will be added to your project source path. If you choose to
add to the modules source path, click the Add button and navigate to the Java
source file directories you want to add. Continue until all source file directories are
added. You can order the source file directories using the Move Up and Move Down
buttons on the page, and you can select a previously added source file directory and
delete with the Remove button.
7 Choose Finish.
Creating a JBoss service node for an existing service module
archive (SAR) in a directory outside your project
You can create a JBoss service module archive node that is outside your current
project. Although you will be able to view the contents of the archive using the JBoss
Service Module DD Editor, you wont be able to edit it. The module node will be read
only. You also wont be able to build it, but you will be able to deploy it.
1 Select the Create A JBoss Service Module For An Existing Directory Or Archive on
the first page of the JBoss Service Module DD Editor.
2 Use the ellipsis () button to browse to the location of the directory that contains the
module.
3 Click Next.
4 Specify a name to identify the new module in the Name field.
5 Choose Finish.