A wise old hermit known only as wu qihua <[EMAIL PROTECTED]> once said:

>    I think the {0} in the following snippet is placeholder,but I do not 
> know how to use it,how to fill(in place of) the placeholder?
>
>         <remoteinterface pattern="{0}Remote"/>
>         <localinterface pattern="{0}"/>

It is indeed a placeholder; the home/remote interface subtasks generate a 
file for each of the bean classes that are processed by XDoclet, and the 
{0} will be replaced by the relevant ejb name.  This can be specified by a
@ejb.bean ejb-name="Foobar"
class-level tag in your bean class, or if you call your bean class e.g. 
"FoobarBean.java" or "FoobarEJB.java" then XDoclet will use "Foobar" as 
the ejb name by default ("Bean" and "EJB" are the default suffixes that 
are used for this, though it's possible to specify others if you really 
must).


Andrew.


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to