Kannan V penned
> I am following the below naming convention for EJBs.
>
> EJB Class : MyFacadeEJB
> Remote : MyFacade
> Home : MyFacadeHome
>
> I have given - @ejb.bean name = "RapCacheEJB" .
>
> How can I remove the "EJB" from the name of the interfaces
> generated ?
First, give your bean the name "RapCache" -- drop the EJB or there won't
be anything you can do about removing EJB from the generated artifacts.
Next, though I think this is probably the default, modify your build.xml
like so:
<remoteinterface pattern="{0}"/>
<homeinterface pattern="{0}Home"/>
IIRC, XDoclet will name your bean from the class name by stripping "EJB"
and "Bean" by default, but the other class names will always include the
full bean name (not class name). If I'm mistaken on this, I'm sure
someone else can set us straight.
--
David Harkness Sony Pictures Digital
Sr. Software Engineer 310.482.4756 [EMAIL PROTECTED]
Those who judge the value of advice by its source
will at once dismiss the best and follow the worst.
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user