Meaningless Drivel is fun!*
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: 1371
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: 2491
    
    8

Moved to our ejb forum.


OCUP UML fundamental and ITIL foundation
youtube channel
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.
 
wood burning stoves
 
subject: Service Activator - MDB / stand-alone JMS listeners?
 
Similar Threads
detailed result for the Part 2,3 of Scea5
JMS Queue and integration tier
MDB + Entity Bean / MDB + SB + EB
JMS Topic Multiple Subscribers Question!!!
Single MDB instane - multiple messages ?