users@glassfish.java.net

Re: Load balancing with ACC

From: <glassfish_at_javadesktop.org>
Date: Tue, 11 Sep 2007 15:27:58 PDT

Yes, it is indeed possible to use load balancing with the ACC.

If you use the built-in support for launching app clients using Java Web Start, you do not need to do anything differently. The load-balancing behavior will happen automatically if the server from which the client is launched participates in a cluster.

If, on the other hand, you are using the appclient script to start the client, please take a look at the Developer's Guide (https://glassfish.dev.java.net/nonav/javaee5/docs/AS91DG.pdf) in Chapter 11. Look for the section on "To Access an EJB Component Froman Application Client." In the current draft (it's always subject to revision) there is a numbered list, and items 6 and 7 explain what to do to enable load balancing on the client side.

Basically, you just need to edit a single XML file so that it refers to the correct host and port values for the servers.

If you still have questions after looking at the documentation, please let us know here and we'll respond.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

http://forums.java.net/jive/thread.jspa?messageID=234944