Server User Manual

Table Of Contents
84 Developing Applications for J2EE Servers
Selecting a server
5 Click the Custom tab to view fields unique to the server. Change or fill in these fields:
Server Version: Your choices are server version 3.2.5 and 3.0.8. These are the
versions of JBoss JBuilder officially supports.
Configuration Name: Specify the configuration you want to begin using. You can
select a configuration from the drop-down list, or type in your own configuration
name. The configuration you specify must exist in the
server directory, which is a
subdirectory of the Home directory.
Deployment Path: Specify the path used to deploy your modules. By default, the
deployment path will be in the
deploy subdirectory of the directory you specified
as the Configuration Name.
Include System Modules When Listing Deployments: JBuilder can list all your
deployed modules. If you wish to see the system modules such as the web
container or the EJB container and other services that are a core part of the
JBoss server, check this option.
Include Disabled Modules When Listing Deployments. JBuilder can list all your
deployed modules. If you wish to see modules which are currently disabled,
check this option. A disabled module is simply one that has been renamed to
<module name>.disabled when you chose to disable it within JBuilder using the
Disable deployment option.
6 Choose OK to close the dialog box and configure JBuilder.
When you configure JBuilder to target a JBoss server, required libraries are created for
you. To see a list of the JBoss libraries, see The created libraries on page 23.
Selecting a server
If you are working with more than one version of JBoss Application Server and have
configured JBuilder for all versions, you must select which version you want to use for
your current project. Choose Project|Project Properties and select Server in the tree to
display the Server page. See Selecting a server on page 24 for more information.
Creating a JBoss service module
You can use JBoss to create a service module for extending the JBoss server. A
service module contains the definition of a service. Once you compile the service
module, a service archive (SAR) is created, ready to be deployed to JBoss.
To begin creating a JBoss service module within JBuilder, follow these steps:
1 Choose File|New|Enterprise and double-click the JBoss Service Module wizard. The
wizard appears: