I really like it too. Much more easier to remember and document too ,
something like "suffix the annotation to the Bean class and thats the
JNDI name " -- how cool is that.

On 9/13/07, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
>
> On Sep 12, 2007, at 11:37 PM, David Blevins wrote:
>
> > This pattern is completely configurable, but I'm thinking we should
> > change the default to use the annotation names (@RemoteHome,
> > @Remote, @LocalHome, @Local):
> >
> > INFO - Jndi(name=SuperbadBeanRemoteHome)     // for MyHome
> > INFO - Jndi(name=SuperbadBeanLocalHome)  // for MyLocalHome
> > INFO - Jndi(name=SuperbadBeanLocal) // for SomeLocalInterface and
> > AnotherLocalInterface
> > INFO - Jndi(name=SuperbadBeanRemote) // for  SomeRemoteInterface
> > and AnotherRemoteInterface
>
> I like this.  It is short like the previous defaults, but much more
> understandable with the EJB 3.0 specification.  I really like how it
> follows the annotation names.
>
> -dain
>


-- 
Karan Singh Malhi

Reply via email to