Pretty much every Java EE technology does and they'll get even more with EE 8;-)
Hence it makes sense for a project that also aims at EE aside from standalone app configuration. Werner On Sat, Dec 6, 2014 at 10:21 PM, Romain Manni-Bucau <[email protected]> wrote: > servlet uses annotation package not sure why. For me either it was a > miss or just a "put all in a new package" idea but it looks weird for > me as a user. > > CDI uses javax.annotation cause CDI didnt have the choice > > > Romain Manni-Bucau > @rmannibucau > http://www.tomitribe.com > http://rmannibucau.wordpress.com > https://github.com/rmannibucau > > > 2014-12-06 21:39 GMT+01:00 Werner Keil <[email protected]>: > > Don't forget, CDI uses all these annotations from javax.annotation like > > ManagedBean, etc.;-) > > > > On Sat, Dec 6, 2014 at 9:36 PM, Werner Keil <[email protected]> > wrote: > > > >> What does Servlet use? > >> Aside from being called "javax.servlet" not "javax.servlets";-) > >> > >> "faces" is among the few Java standards where the package contains a > >> plural, but it's part of the standard name, so it makes sense. > >> Then again, the JSF package "javax.faces.component" could be called > >> "javax.faces.components", so it's singular for pretty much all Java EE > >> standards, especially the "annotation" package which every JSR that > doesn't > >> call it something else sticks to. > >> > >> On Sat, Dec 6, 2014 at 9:25 PM, Romain Manni-Bucau < > [email protected]> > >> wrote: > >> > >>> spring is far to be a modern framework regarding this aspect...CDI, > >>> JAX-RS, BeanValidation, JTA, JPA etc...don't use it. Servlet uses it > >>> but surely something missed in EG (at least @EE level). > >>> > >>> > >>> Romain Manni-Bucau > >>> @rmannibucau > >>> http://www.tomitribe.com > >>> http://rmannibucau.wordpress.com > >>> https://github.com/rmannibucau > >>> > >>> > >>> 2014-12-06 21:20 GMT+01:00 Werner Keil <[email protected]>: > >>> > Speaking of pseudo- or de-facto-standard (or the home of > Groov/Grails;-) > >>> > Spring Framework also calls these packages always "annotation", see > >>> > > >>> > http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/context/annotation/package-summary.html#package.description > >>> > > >>> > > >>> > Werner > >>> > On Sat, Dec 6, 2014 at 9:07 PM, Werner Keil <[email protected]> > >>> wrote: > >>> > > >>> >> Hibernate seems to be among the few cases where such package is > called > >>> >> "annotations", but then it is not really consistent, given other > >>> packages > >>> >> are called "exception" rather than "exceptions". So either multiple > >>> teams > >>> >> worked on those or names were picked pretty randomly;-) > >>> >> > >>> >> Werner > >>> >> > >>> >> On Sat, Dec 6, 2014 at 9:01 PM, Werner Keil <[email protected]> > >>> wrote: > >>> >> > >>> >>> Why "annotations" not "annotation"? > >>> >>> Of course if we plan to change it, we might as well keep "annot" > for > >>> >>> now;-) > >>> >>> > >>> >>> On Sat, Dec 6, 2014 at 8:57 PM, Andres Almiray <[email protected] > > > >>> >>> wrote: > >>> >>> > >>> >>>> I'd rather be pragmatic and use "annotations" right away. > >>> >>>> This way we can get a feeling of the API. We can later rename it > to > >>> >>>> something that fits the behavior better based on experience. > >>> >>>> > >>> >>>> My policy for making breaking changes (such as package names) is: > >>> >>>> - break as much as you can during pre 1.0 in order to evolve the > >>> API to > >>> >>>> an > >>> >>>> stable set > >>> >>>> - deprecate after 1.0, provide parallel names as needed. > >>> >>>> - remove deprecations is next big release (2.0) > >>> >>>> - rinse and repeat. > >>> >>>> > >>> >>>> Given that we're just getting started I'd say pick one name (my > vote > >>> is > >>> >>>> on > >>> >>>> annotations and move on to the next topic) > >>> >>>> > >>> >>>> Cheers, > >>> >>>> Andres > >>> >>>> > >>> >>>> ------------------------------------------- > >>> >>>> Java Champion; Groovy Enthusiast > >>> >>>> http://jroller.com/aalmiray > >>> >>>> http://www.linkedin.com/in/aalmiray > >>> >>>> -- > >>> >>>> What goes up, must come down. Ask any system administrator. > >>> >>>> There are 10 types of people in the world: Those who understand > >>> binary, > >>> >>>> and > >>> >>>> those who don't. > >>> >>>> To understand recursion, we must first understand recursion. > >>> >>>> > >>> >>>> On Sat, Dec 6, 2014 at 8:47 PM, Romain Manni-Bucau < > >>> >>>> [email protected]> > >>> >>>> wrote: > >>> >>>> > >>> >>>> > I think we implicitely wait for some more proposals no? > >>> >>>> > > >>> >>>> > > >>> >>>> > Romain Manni-Bucau > >>> >>>> > @rmannibucau > >>> >>>> > http://www.tomitribe.com > >>> >>>> > http://rmannibucau.wordpress.com > >>> >>>> > https://github.com/rmannibucau > >>> >>>> > > >>> >>>> > > >>> >>>> > 2014-12-06 20:40 GMT+01:00 Werner Keil <[email protected]>: > >>> >>>> > > OK, so it's still about calling one or several packages > >>> "binding" or > >>> >>>> > > whatever and not use an "annot*" one at all? > >>> >>>> > > > >>> >>>> > > There have been a couple of +1 for the longer version. It also > >>> >>>> depends on > >>> >>>> > > what useful packages would be, maybe better to draft this in > the > >>> Wiki > >>> >>>> > than > >>> >>>> > > an endless thread?;-) > >>> >>>> > > > >>> >>>> > > On Sat, Dec 6, 2014 at 8:35 PM, Romain Manni-Bucau < > >>> >>>> > [email protected]> > >>> >>>> > > wrote: > >>> >>>> > > > >>> >>>> > >> but google gives more inputs with binding than annotation; > What > >>> I > >>> >>>> > >> meant is annotation is quite neutral today. Well I think my > >>> opinion > >>> >>>> > >> is clear now :) > >>> >>>> > >> > >>> >>>> > >> > >>> >>>> > >> Romain Manni-Bucau > >>> >>>> > >> @rmannibucau > >>> >>>> > >> http://www.tomitribe.com > >>> >>>> > >> http://rmannibucau.wordpress.com > >>> >>>> > >> https://github.com/rmannibucau > >>> >>>> > >> > >>> >>>> > >> > >>> >>>> > >> 2014-12-06 20:32 GMT+01:00 Werner Keil < > [email protected]>: > >>> >>>> > >> > Jackson DataBind also calls it "annotation" > >>> >>>> > >> > > >>> >>>> > >> > >>> >>>> > > >>> >>>> > >>> > http://fasterxml.github.io/jackson-databind/javadoc/2.2.0/com/fasterxml/jackson/databind/annotation/package-frame.html > >>> >>>> > >> > > >>> >>>> > >> > Some other Jackson APIs even prefer the package name > >>> "annotate" > >>> >>>> over > >>> >>>> > >> > "annotation" or "annotations";-) > >>> >>>> > >> > > >>> >>>> > >> > Werner > >>> >>>> > >> > > >>> >>>> > >> > On Sat, Dec 6, 2014 at 8:27 PM, Romain Manni-Bucau < > >>> >>>> > >> [email protected]> > >>> >>>> > >> > wrote: > >>> >>>> > >> > > >>> >>>> > >> >> "hibernate mapping" vs "hibernate annotation", seems the > >>> first > >>> >>>> one > >>> >>>> > >> >> wins. Same for "jackson binding" vs "jackson annotation". > >>> Then > >>> >>>> > theonly > >>> >>>> > >> >> challenge is to have a good doc but I have no doubt we'll > >>> get > >>> >>>> there. > >>> >>>> > >> >> > >>> >>>> > >> >> > >>> >>>> > >> >> Romain Manni-Bucau > >>> >>>> > >> >> @rmannibucau > >>> >>>> > >> >> http://www.tomitribe.com > >>> >>>> > >> >> http://rmannibucau.wordpress.com > >>> >>>> > >> >> https://github.com/rmannibucau > >>> >>>> > >> >> > >>> >>>> > >> >> > >>> >>>> > >> >> 2014-12-06 20:23 GMT+01:00 Oliver B. Fischer < > >>> >>>> > [email protected] > >>> >>>> > >> >: > >>> >>>> > >> >> > What do I enter into the Google search field? Tamaya > config > >>> >>>> > >> annotations > >>> >>>> > >> >> > > >>> >>>> > >> >> > So, having a annotations package is user and search > engine > >>> >>>> > friendly. > >>> >>>> > >> >> > > >>> >>>> > >> >> > Oliver > >>> >>>> > >> >> > > >>> >>>> > >> >> > Am 06.12.14 um 20:07 schrieb Romain Manni-Bucau: > >>> >>>> > >> >> >> > >>> >>>> > >> >> >> s/majority of projects/majority of *old* projects/ > which > >>> >>>> means it > >>> >>>> > is > >>> >>>> > >> >> >> surely time to stop following blindly others ;) > >>> >>>> > >> >> >> > >>> >>>> > >> >> >> > >>> >>>> > >> >> >> Romain Manni-Bucau > >>> >>>> > >> >> >> @rmannibucau > >>> >>>> > >> >> >> http://www.tomitribe.com > >>> >>>> > >> >> >> http://rmannibucau.wordpress.com > >>> >>>> > >> >> >> https://github.com/rmannibucau > >>> >>>> > >> >> >> > >>> >>>> > >> >> >> > >>> >>>> > >> >> >> 2014-12-06 20:04 GMT+01:00 Werner Keil < > >>> [email protected] > >>> >>>> >: > >>> >>>> > >> >> >>> > >>> >>>> > >> >> >>> The majority of projects or standards (especially Java > >>> SE or > >>> >>>> EE) > >>> >>>> > >> calls > >>> >>>> > >> >> it > >>> >>>> > >> >> >>> "annotation". > >>> >>>> > >> >> >>> > >>> >>>> > >> >> >>> With very few exceptions, plural for package names is > >>> rare to > >>> >>>> > >> >> >>> non-existent. > >>> >>>> > >> >> >>> > >>> >>>> > >> >> >>> Werner Keil | JCP Executive Committee Member, JSR 363 > Co > >>> Spec > >>> >>>> > Lead | > >>> >>>> > >> >> >>> Eclipse UOMo Lead, Babel Language Champion | Apache > >>> >>>> Committer | > >>> >>>> > >> >> Advisory > >>> >>>> > >> >> >>> Board Member, DWX '15 > >>> >>>> > >> >> >>> > >>> >>>> > >> >> >>> Twitter @wernerkeil | @UnitAPI | @JSR354 | > @AgoravaProj | > >>> >>>> > >> @DeviceMap | > >>> >>>> > >> >> >>> #EclipseUOMo > >>> >>>> > >> >> >>> | #DevOps > >>> >>>> > >> >> >>> Skype werner.keil | Google+ gplus.to/wernerkeil > >>> >>>> > >> >> >>> > >>> >>>> > >> >> >>> On Fri, Dec 5, 2014 at 7:44 PM, Romain Manni-Bucau > >>> >>>> > >> >> >>> <[email protected]> > >>> >>>> > >> >> >>> wrote: > >>> >>>> > >> >> >>> > >>> >>>> > >> >> > > >>> >>>> > >> >> > -- > >>> >>>> > >> >> > N Oliver B. Fischer > >>> >>>> > >> >> > A Schönhauser Allee 64, 10437 Berlin, > Deutschland/Germany > >>> >>>> > >> >> > P +49 30 44793251 > >>> >>>> > >> >> > M +49 178 7903538 > >>> >>>> > >> >> > E [email protected] > >>> >>>> > >> >> > S oliver.b.fischer > >>> >>>> > >> >> > J [email protected] > >>> >>>> > >> >> > X http://xing.to/obf > >>> >>>> > >> >> > > >>> >>>> > >> >> > >>> >>>> > >> > >>> >>>> > > >>> >>>> > >>> >>> > >>> >>> > >>> >> > >>> > >> > >> >
