File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Using JMS for synchronous communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Using JMS for synchronous communication" Watch "Using JMS for synchronous communication" New topic
Author

Using JMS for synchronous communication

Mahesh Trikannad
Ranch Hand

Joined: Dec 14, 2004
Posts: 68
Currently, the architectural direction from our company is to use JMS for communication between processes internal to the company.

We are designing a service, whose consumers will use the service Synchronously. So, the consumers will send a message via JMS to the service and then wait on another queue using a JMS selector.

Does anyone, have any opinions or advice on this topic . Iam looking for advice related to best practices, performance, etc ..

Thanks


Mahesh Trikannad
Emanuel Kadziela
Ranch Hand

Joined: Mar 24, 2005
Posts: 186
We have implemented a distributed processing system using JMS (inter-jvm work with optional synchronicity, time-outs, error handling, etc.). It is quite complex and wasn't easy, but it works reasonably well. Some clustering technologies like Terracotta offer similar capabilities, but have their own pains to bear.

I don't think your use case is quite as demanding as ours, so jms might well be a good solution for you. The other possibility you may want to consider is using a lightweight web service like REST.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using JMS for synchronous communication