about message driven bean

I use ori url to access my ejb runing on another jvm(sun app server).like initialcontext.lookup("corbaname:iiop:192.0.0.1:3700#Bean");in standalone app.How do I call a message driven bean on sun app server in a standalone app which will be deployed in another pc.
[291 byte] By [xutoaa] at [2007-9-24]
# 1

Hi,

You cannot lookup MDB using JNDI. This is because MDB do not have a home interface and remote interface. Instead when a message producer sends a message to a queue or topic the application server invokes onMessage() method of MDB.

Please refer to following tutorial for further information.

http://java.sun.com/developer/technicalArticles/Ecommerce/jms/

HTH

VJ

jain_vishal_aa at 2007-7-16 > top of java,Enterprise & Remote Computing,Enterprise Technologies...