Java Reference
In-Depth Information
c. Replace remotesystem with the name of your remote system.
7. Right-click the earthmdb project and select Build.
This command creates a JAR file that contains the bean class file.
8. From the File menu, choose Open Project.
9. Select the jupiterclient folder.
10. Select the Open as Main Project check box.
11. Click Open Project.
12. In the Projects tab, right-click the jupiterclient project and select Build.
This command creates a JAR file that contains the client class file and a manifest
file.
13. Right-click the earthmdb project and select Deploy.
14. To copy the jupiterclient module to the remote system, follow these
steps:
a. Change to the directory jupiterclient/dist :
cd tut-install /examples/jms/consumeremote/jupiterclient/dist
b. Type a command like the following:
cp jupiterclient.jar F:/
That is, copy the client JAR file to a location on the remote file system. You
can use the file system graphical user interface on your system instead of the
command line.
15. To run the application client, follow these steps:
a. If you did not previously create the queue and connection factory on
the remote system ( jupiter ), go to the tut-install /examples/jms/con-
sumeremote/jupiterclient/ directory on the remote system and
type the following command:
ant add-resources
b. Go to the directory on the remote system ( jupiter ) where you copied the
client JAR file.
c. To deploy the client module and retrieve the client stubs, use the following
command:
Search WWH ::




Custom Search