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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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: 8146
    
  52

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