Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How do you architect the asynchronous communication between clients and J2EE Servers?

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
How do you architect the asynchronous communication between clients and J2EE Servers? The J2EE servers should be clustered and load-balanced. The purpose is to let the clients constantly receive messages from the J2EE server asynchronously without any polling behaviors. The only means I can come up with are JMS temporary queues which are created by clients and let the server side send messages to those temporary queues to achieve asynchronous communication. But there's a problem with this: the queues are not load-balanced (at most only highly available) in JBoss. Do you have any suggestions or idea on this?

Thanks,
Scott
 
Ranch Hand
Posts: 364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see what sort of clients you have, but as a general remark, they don't necessarily need to have messaging inboxes on the same server.
 
Lasagna is spaghetti flvored cake. Just like this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic