I'm not using ant build,
If u can pls let me know how to turn off the ejbdoclet task to generate *Session as the <ejb-class>value in ejb-jar.xml
Thanks,
Chaithanya.
On 7/19/06, Frank Langelage <[EMAIL PROTECTED]> wrote:
Hi,
> I'm using the following code..
> PLEASE LET ME KNOW THE ERROR IN THIS...
> PLEASE ..ITS VERY URGENT
> I need this
> <ejb-class>uk.co.lvl.ecommerce.modelselection.ModelSelectionSession </ejb-class>
> in ejb-jar.xml when i run xdoclet
> /**
> * This class is used to provide the lifecycle implementation and
> business method
> * implementation provided by the ModelSelectionService interface to
> client
> *
> * @ejb.bean
> ejb-class="uk.co.lvl.ecommerce.modelselection.ModelSelectionSessionBean"
> * name="ModelSelection"
> * type="Stateless"
> * transaction-type="Container"
> * view-type="both"
> * pattern="{0}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"
> *
> */
Put the pattern into your build.xml like this:
<ejbdoclet destdir="${gen-src.dir}" verbose="false" ejbspec="2.1">
<fileset dir="${src.dir}">
<include name="**/session/*.java"/>
</fileset>
<localhomeinterface pattern="{0}LocalHome"/>
<homeinterface pattern="{0}RemoteHome"/>
<localinterface pattern="{0}Local"/>
<remoteinterface pattern="{0}Remote"/>
<session pattern="{0}Bean"/>
</ejbdoclet>
-------------------------------------------------------------------------
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
------------------------------------------------------------------------- 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