• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wrapping a Remote Interface Object Reference in a JMS ObjectMessage

 
Sathya Natarajan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic