PDA

View Full Version : JMS remoting clustering



kdevos
Feb 22nd, 2006, 01:41 AM
Hi,

I need an architecture that exposes services via RMI and SOAP. This will be deployed on BEA weblogic 8.1.

I think I have 2 options:
1. Use EJB's (business logic will be in POJO's) and export that EJB as well as webservice using the BEA servicegen
2. Export the business services via Spring remoting (jaxrpc and rmi).

Actually I would prefer the second option BUT:
- What about clustering: is it possible to cluster the spring remote exported services? The application will have a huge load and 1 machine will not be sufficient (fail over and clustering are thus a requirement)

any advice?

THX

jstrachan
Feb 22nd, 2006, 02:21 AM
You could use Spring Remoting with JMS...

http://lingo.codehaus.org/

then all requests go to a queue; you can then load balance all requests across a cluster of machines so that you can just spin up as many servers as you require for your load and if a machine dies, messages will be routed to a new server.

One nice benefit of this is that you can then easily monitor your application, viewing the queue depth to see how well your system is performing. It'd be trivial to then set a warning if your queue becomes too full etc.

http://incubator.apache.org/activemq/JMX