Java Reference
In-Depth Information
4. To run the client, type the following command:
ant run
On the local system, the output looks something like this:
Click here to view code image
running application client container.
...
Sent message: text: id=1 to local app server
Sent message: text: id=2 to remote app server
ReplyListener: Received message: id=1, text=ReplyMsgBean pro-
cessed message:
text: id=1 to local app server
Sent message: text: id=3 to local app server
ReplyListener: Received message: id=3, text=ReplyMsgBean pro-
cessed message:
text: id=3 to local app server
ReplyListener: Received message: id=2, text=ReplyMsgBean pro-
cessed message:
text: id=2 to remote app server
Sent message: text: id=4 to remote app server
ReplyListener: Received message: id=4, text=ReplyMsgBean pro-
cessed message:
text: id=4 to remote app server
Sent message: text: id=5 to local app server
ReplyListener: Received message: id=5, text=ReplyMsgBean pro-
cessed message:
text: id=5 to local app server
Sent message: text: id=6 to remote app server
ReplyListener: Received message: id=6, text=ReplyMsgBean pro-
cessed message:
text: id=6 to remote app server
Sent message: text: id=7 to local app server
ReplyListener: Received message: id=7, text=ReplyMsgBean pro-
cessed message:
text: id=7 to local app server
Sent message: text: id=8 to remote app server
ReplyListener: Received message: id=8, text=ReplyMsgBean pro-
cessed message:
text: id=8 to remote app server
Sent message: text: id=9 to local app server
ReplyListener: Received message: id=9, text=ReplyMsgBean pro-
cessed message:
text: id=9 to local app server
Sent message: text: id=10 to remote app server
Search WWH ::




Custom Search