users@glassfish.java.net

Re: howto: How can the same bean multiple times configured differently ?

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Nov 2007 11:13:49 PST

Thanks, setting the jndi-name in the sun-ejb-jar.xml resolves the name conflict for the session beans. Perfect!!!

For message beans however, Dies Koper said to use jndi-name in the sun-ejb-jar.xml to specify which queue a MDB listens to. Was this incorrect?

http://forums.java.net/jive/message.jspa?messageID=243964

[i]<ejb>
<ejb-name>HubToFabReceiverMDBean</ejb-name>
<jndi-name>YourQueue</jndi-name>
<mdb-connection-factory>[/i]
[Message sent by forum member 'frenchdrip' (frenchdrip)]

http://forums.java.net/jive/thread.jspa?messageID=244605