Hi Jonathan,

The link has MDB examples:

JMS and MDBs
injection-of-connectionfactory 
simple-mdb-with-descriptor 
simple-mdb

My question is using the connection factory and queues defined in tomee.xml
in a stand alone program. I am getting NaminException when I try to use
MyJMsConnectionFactory in a stand alone program. Do I need to configure
these resources in server.xml instead of tomee.xml in order to access from a
stand alone program via JNDI? If not, do I need to access
MyJMsConnectionFactory with some prefix?

Thx.



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/How-to-reference-connection-factory-and-queues-from-code-tp4675980p4676006.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to