> It's not the util object's responsibility to do the caching. That is
> normally taken care of by the container. If caching is still needed on
the
> application level, it should be done by the class calling util's
getHome()
> methods.

Probably by decorating that bean.

Anyway, is there a general rule for caching context/home objects which
works on all app servers?
 
> Further, I have made it possible to specify whether you want the util
> class
> to use the logical component name or the JNDI name for lookups.
logical is
> the default, since that is the spec recommendation.
> 
> /**
>  * @ejb:util generate="physical|logical"
>  */

A <utilobject defaultLookupMethod="physical|logical"/> is also useful.
All bean will use this default lookup method, if not specifically
specified by ejb:util.

Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to