This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes SOA and ESB and the fly likes Need help in design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » SOA and ESB
Bookmark "Need help in design" Watch "Need help in design" New topic
Author

Need help in design

Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
Hi,

We have few applications in our enterprise one being the master. We have to send nearly one hundred thousand messages daily from master application to all dependent application using messaging service (via Webspher Message Broker) and we need to get response after successful consumption of messages for logging purpose.

Can you please suggest me the best design/architecture for this solution.

Note: Master application is developed in j2ee and hosted in websphere application server.

Thanks in advance for your suggestions.


Rizwan
SCJA, SCJP, SCWCD, SCBCD, SCDJWS.
Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

ESB's like Mule are being used in the industry for such jobs these days.
They have elaborate message routers and frameworks.


Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
Roger Sterling
Ranch Hand

Joined: Apr 06, 2012
Posts: 426

Aniruddh Joshi wrote:ESB's like Mule are being used in the industry for such jobs these days.
They have elaborate message routers and frameworks.


Seems as though the OP has an ESB already. What advantage do you see for the OP to switch from his current ESB to Mule ?

Roger Sterling
Ranch Hand

Joined: Apr 06, 2012
Posts: 426

Rizwan Mohammad wrote:Hi,

We have few applications in our enterprise one being the master. We have to send nearly one hundred thousand messages daily from master application to all dependent application using messaging service (via Webspher Message Broker) and we need to get response after successful consumption of messages for logging purpose.

Can you please suggest me the best design/architecture for this solution.

Note: Master application is developed in j2ee and hosted in websphere application server.

Thanks in advance for your suggestions.


It looks like you want to have a Request/Reply pattern. Master sends the request and after a short time, processes replies, marking the requests complete in a database, and perhaps sending an output message to Logger. Have you considered this already ? If so, what did you see as the drawback ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help in design
 
Similar Threads
Should a project has only one Servlet?
Bulk XML messages
Dreamcar Assgnment for Part II - Question regarding Business Domain Model
Access jboss distributed cache in sequential manner
Problem involving Recursion In Java...