This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Service Activator - MDB / stand-alone JMS listeners? 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 "Service Activator - MDB / stand-alone JMS listeners?" Watch "Service Activator - MDB / stand-alone JMS listeners?" New topic
Author

Service Activator - MDB / stand-alone JMS listeners?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1396
Can i use Service Activator for MDB or Is it support only stand-alone JMS listeners?
I am planning to implement Service Activator for MDB. I have JMS Queue in the application server. JMS Queue receives jms request with xml payload. Once it receives the request, calls MDB in the application server for business processing. Again MDB calls Stateless Session Bean and Entity Bean (Session Facade). Is it right approach ?
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2542
    
  10

Moved to our ejb forum.


OCUP UML fundamental and ITIL foundation
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

am planning to implement Service Activator for MDB. I have JMS Queue in the application server. JMS Queue receives jms request with xml payload. Once it receives the request, calls MDB in the application server for business processing. Again MDB calls Stateless Session Bean and Entity Bean (Session Facade). Is it right approach ?


Yes, you have the advantage of using CMT in this approach that ties jdbc calls (from the ejbs) to message delivery (to the mdbs).

ram.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Service Activator - MDB / stand-alone JMS listeners?
 
jQuery in Action, 3rd edition