File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Back-end communication between WS and Java app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Back-end communication between WS and Java app" Watch "Back-end communication between WS and Java app" New topic

Back-end communication between WS and Java app

aaa sss

Joined: Jul 12, 2011
Posts: 1
I'm developing a web service which should notify a Java application when it receives a particular SOAP message. So far I've considered using a database table (overkill), sockets (simple but not elegant) and JMS. It's been suggested to use an Enterprise Service Bus like Apache Synapse but that seems like overkill. Any other suggestions?

Are there any particular drawbacks to JMS in this case?

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
I wouldn't say that using a database table is always overkill - sometimes it may be, but there are times it is a justified solution. It depends on the circumstances.
JMS is also a good alternative, but has some drawbacks like, for instance, not being able to consume an arbitrary pending message.
Finally, I also want to say that using an ESB is not necessarily overkill. I have only worked with Mule, but I feel that it can be justified due to the speed with which you can develop.
If you want a more detailed answer, please describe your scenario in slightly greater detail.
Best wishes!

My free books and tutorials:
I agree. Here's the link:
subject: Back-end communication between WS and Java app
It's not a secret anymore!