[webbeans-dev] Re: Packages proposal

Gavin King gavin at hibernate.org
Wed Jan 21 04:08:17 EST 2009


On Tue, Jan 20, 2009 at 5:18 PM, Gavin King <gavin at hibernate.org> wrote:

> javax.stereotype: (stereotypes)
> @Stereotype
> @Model

Roberto suggests to put @Stereotype in javax.annotation. We're not
sure about where @Model would belong in that case.

What do you guys think?


> Arguably @Named belongs somewhere else....

Roberto says javax.annotation. Works for me.

> And there's a piece of me which wants to put @Realizes and
> @Specializes in javax.stereotype, for some reason which I can't quite
> put my finger on....

After reviewing the semantics of these annotations, I think they do
live in javax.inject after all.


-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list