Quinma
Quinma

Reputation: 1476

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.

Upvotes: 1

Views: 287

Answers (1)

Puce
Puce

Reputation: 38152

First, is this a proper way to set up fail over

I recommend to use an application server with clustering capabilities, e.g. GlassFish v3.1

http://glassfish.java.net/public/clustering31.html

Upvotes: 1

Related Questions