File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes XML Messaging in Distributed Env. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "XML Messaging in Distributed Env." Watch "XML Messaging in Distributed Env." New topic
Author

XML Messaging in Distributed Env.

Sahana Hussain
Greenhorn

Joined: Jan 17, 2005
Posts: 9
Hi

We are about to start a big project, which needs a web application to process 30-40 different XML message types and reply back the messages in both synchronous and asynchronous way. There are around 10 other system involved, which will send and receive message to the web application and all are subscribed to a message provider (bus).

I have to decide which technology will best suit the application needs. One more thing the availability of the system should be 99.99% (24x7) and there is a requirement of processing around 20bn messages per year (I have to go back to business about the reality of the quantity, as the project is in Define state now).

I've seen few of the APIs which can be used, but need suggestion from you.

1. Java API for XML Messaging (uses Webservices)
2. Spring JMS
3. Normal JMS


Any suggestion/ ideas welcome.

Thanks


Sahana<br />SCJP<br />SCBCD
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
Does any of this messaging require a publish-subscribe relationship or are all messages point-to-point?

Bill
Sahana Hussain
Greenhorn

Joined: Jan 17, 2005
Posts: 9
<<Does any of this messaging require a publish-subscribe relationship or are all messages point-to-point?>>

Yes, most of the messaging will require publish-subscribe.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
The requirement for publish- subscribe would appear to rule out a "web service" approach - all the extra requests would be cumbersome and involve more computer power than a JMS approach.

Bill
Sahana Hussain
Greenhorn

Joined: Jan 17, 2005
Posts: 9
Thanks Bill for your response.

So, you meant that I've only one option (JMS) and there is no other way of doing it.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
...and there is no other way of doing it.


Lets not jump to conclusions here. I was just pointing out that a JMS based approach would handle your publish-subscribe requirement much better than a SOAP - web service approach.

It really sounds like a problem ideal for JMS or something similar. I suppose you could use email as an alternative but you would have to manage the subscription lists.

Bill
Sahana Hussain
Greenhorn

Joined: Jan 17, 2005
Posts: 9
Thanks Bill.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML Messaging in Distributed Env.