Java JAX-WS multiple web services for fail over configuration and architecture
I have a java Swing application client and multiple glassfish servers with different names running copies of the same Stateless EJB JAX-WS for fail over.

First, is this a proper way to set up fail over and are there any resources available to help?


Secondly, the way I did it was to import all methods from the web services into seperate java classes then have a separate management class that calls each method.  Within each method call it determines the appropriate connection (i.e. if the web service call fails it increments to the next web service). The problem is this is a large amount of code that is difficult to maintain as it is not an efficient method.

Any help is much appreciated, thank you.
Java JAX-WS multiple web services for fail over configuration and architecture
===

I have a java Swing application client and multiple glassfish servers with different names running copies of the same Stateless EJB JAX-WS for fail over.

First, is this a proper way to set up fail over and are there any resources available to help?


Secondly, the way I did it was to import all methods from the web services into seperate java classes then have a separate management class that calls each method.  Within each method call it determines the appropriate connection (i.e. if the web service call fails it increments to the next web service). The problem is this is a large amount of code that is difficult to maintain as it is not an efficient method.

Any help is much appreciated, thank you.