Hi,
When i run xdoclet, the value of the property <ejb-class> generated by xdoclet in ejb-jar.xml is changing like the following...
<ejb-class>uk.co.lvl.ecommerce.modelselection.ModelSelectionSession</ejb-class>
But i want it to be
<ejb-class>uk.co.lvl.ecommerce.modelselection.ModelSelectionBean</ejb-class>
Every time , i'm manually changing it to Bean
Can any one tell me how to configure xdoclet so that i can avoid this everytime i run xdoclet
I use the following xdoclet tags in my XXXBean class
/**
*
*
* @ejb.bean name="ModelSelection" type="Stateless" view-type="both"
* transaction-type="Bean"
* @ejb.transaction type="NotSupported"
* @ejb.interface extends="javax.ejb.EJBObject"
* local-extends="javax.ejb.EJBLocalObject" remote-pattern="{0}"
* local-pattern="{0}Local"
* @ejb.home extends="javax.ejb.EJBHome" local-extends="javax.ejb.EJBLocalHome"
* remote-pattern="{0}Home" local-pattern="{0}LocalHome"
* @ejb:env-entry name="ejb/BeanFactoryPath" type="java.lang.String"
* value="applicationContext.xml"
*/
Regards,
When i run xdoclet, the value of the property <ejb-class> generated by xdoclet in ejb-jar.xml is changing like the following...
<ejb-class>uk.co.lvl.ecommerce.modelselection.ModelSelectionSession</ejb-class>
But i want it to be
<ejb-class>uk.co.lvl.ecommerce.modelselection.ModelSelectionBean</ejb-class>
Every time , i'm manually changing it to Bean
Can any one tell me how to configure xdoclet so that i can avoid this everytime i run xdoclet
I use the following xdoclet tags in my XXXBean class
/**
*
*
* @ejb.bean name="ModelSelection" type="Stateless" view-type="both"
* transaction-type="Bean"
* @ejb.transaction type="NotSupported"
* @ejb.interface extends="javax.ejb.EJBObject"
* local-extends="javax.ejb.EJBLocalObject" remote-pattern="{0}"
* local-pattern="{0}Local"
* @ejb.home extends="javax.ejb.EJBHome" local-extends="javax.ejb.EJBLocalHome"
* remote-pattern="{0}Home" local-pattern="{0}LocalHome"
* @ejb:env-entry name="ejb/BeanFactoryPath" type="java.lang.String"
* value="applicationContext.xml"
*/
Regards,
Chaithanya.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user