Java Reference
In-Depth Information
b. In the Open Project dialog, navigate to:
tut-install
/examples/jms/sendremote/
c. Select the
replybean
folder.
d. Select the Open as Main Project check box.
e. Click Open Project.
f. In the Projects tab, right-click the
replybean
project and select Build.
This command creates a JAR file that contains the bean class file.
2. To build the
multiclient
module, follow these steps:
a. From the File menu, choose Open Project.
b. Select the
multiclient
folder.
c. Select the Open as Main Project check box.
d. Click Open Project.
e. In the Projects tab, right-click the
multiclient
project and select Build.
This command creates a JAR file that contains the client class file and a mani-
fest file.
3. To create any needed resources and deploy the
multiclient
module on the
local server, follow these steps:
a. Right-click the
multiclient
project and select Properties.
b. Select Run from the Categories tree.
c. From the Server list, select GlassFish Server 3+ (the local server).
d. Click OK.
e. Right-click the
multiclient
project and select Deploy.
You can use the Services tab to verify that
multiclient
is deployed as an
App Client Module on the local server.
4. To deploy the
replybean
module on the local and remote servers, follow
these steps:
a. Right-click the
replybean
project and select Properties.
b. Select Run from the Categories tree.
c. From the Server list, select GlassFish Server 3+ (the local server).
d. Click OK.