aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Need to call SessionBean from my MessageDrivenBean 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 "Need to call SessionBean from my MessageDrivenBean" Watch "Need to call SessionBean from my MessageDrivenBean" New topic
Author

Need to call SessionBean from my MessageDrivenBean

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

I want to contact to a session bean from onMessage Method of my MessageDrivenBean


Please tell me what is the appropiate way or standard way .( I am using EJB 3 version).

Thank you .


Save India From Corruption - Anna Hazare.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

The usual JNDI lookup or @EJB injection.

[My Blog] [JavaRanch Journal]
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you very much.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to call SessionBean from my MessageDrivenBean