Java EE: Communication between few servers
I need a system in which I can send SOAP request to 1 server from a few and then if server has this service it calls and returns value to client. If not it passes the request to next server on his "list of neighbors". Request is passed until some server has needed service (or not, so we return error result).
My question is. What w开发者_运维百科ill be the best way to communicate between those servers. SOAP? Message Driven? It will be great If it could work without central server. If I will use MD, should not all servers use common JMS on some central server?
Is it possible to send MD to specific server on given address?
Take a look at Apache ActiveMQ or Apache Camel or Spring Remoting
精彩评论