This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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


Win a copy of Head First Android this week in the Android forum!
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: 2541
    
  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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Service Activator - MDB / stand-alone JMS listeners?
 
jQuery in Action, 3rd edition