Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes Wrapping a Remote Interface Object Reference in a JMS ObjectMessage 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 "Wrapping a Remote Interface Object Reference in a JMS ObjectMessage" Watch "Wrapping a Remote Interface Object Reference in a JMS ObjectMessage" New topic
Author

Wrapping a Remote Interface Object Reference in a JMS ObjectMessage

Sathya Natarajan
Greenhorn

Joined: Dec 17, 2003
Posts: 1
Hi Friends,
I am doing a JNDI lookup of a Remote Object of a Stateful Bean from a Client. I want to wrap the Object Reference in a JMS ObjectMessage and get that Object Reference in another Program.
How to do this?
HELP ME!!


With Regards,<br />Sathya...
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
If you're looking for a how-to regarding sending ObjectMessages in general, I'd suggest taking a look at the JMS Tutorial. If you're asking how to send an EJB reference in particular inside an ObjectMessage, you'll first need to getHandle() and put the serializable handle object into the message.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wrapping a Remote Interface Object Reference in a JMS ObjectMessage