Aslak Helles�y wrote:
> Thoughts?

Yes.

A ref B.

1) in-app usage scenario from A using ejb-ref or ejb-local-ref.

   AUtil.getBHome()
   AUtil.getBLocalHome()

   this would probably extend to cover the case of other types of
   resources that A also uses. The method could of course be
   an abstract with it's implementation in the generated impl.

2) out-of-app usage scenario from A

   BUtil.getHome()
   x-- BUtil.getLocalHome() --x (errr.. not doable, not needed).

1'st scenario would use whatever you specify in ref-name

  * @ejb.ejb-ref
  *      ejb-name="MyBean"
  *      ref-name="ejb/MyBean"

This is either on a bean level (which would generate a AUtil class) or 
on an abstract method level (which would generate impl of the method.

2'nd scenario would use whatever you specify in jndi-name
  * @ejb.bean
  *      name="MyBean"
  *      jndi-name="ejb/aNameSpace/MyBean"

Cheers,
/Niclas



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to