File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 9317
    
109

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
 
Similar Threads
MessageDrivenBean-Doubt
Making calls outside the container
Security for MDB
return value to the calling servlet from messageDrivenBean
Help??(Can we use wait method in Bean Class)