Two questions:

1. In the document of xdoclet, the 'type' attribute of '@ejb.bean' is 
mandatory, but the available values don't have any options for MDB. Confusing!

2. I wrote this as the comment in a MDB class.
/* @ejb.bean
 *      name="MyMessageBean" 
 *      transaction-type="Container"
 *      destination-type="javax.jms.Queue"
 *      destination-jndi-name="queue/MyQueue"
 */

after the code generation with the help of xdoclet, I always can not get the 
'destination-jndi-name' created in the 'jboss.xml' file. Like this:
      <message-driven>
         <ejb-name>MyMessageBean</ejb-name>
         <destination-jndi-name></destination-jndi-name>
      </message-driven>

Strange!!

Looking forward to your help. Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858018#3858018

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858018


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to