jsr342-experts@javaee-spec.java.net

[jsr342-experts] Re: _at_Priority

From: Antonio Goncalves <antonio.goncalves_at_gmail.com>
Date: Sun, 9 Dec 2012 14:32:02 +0100

BTW Bill, if the Interceptor spec has just a MR that means it will still
stay bundle with the EJB JSR ? Shouldn't it be better to let it
evolve separately from EJBs ? (such JPA 2.0 at the time) It's always
better for adoption to see that a spec is not bundle to another one (it
creates confusion)


On Sun, Dec 9, 2012 at 7:10 AM, Antonio Goncalves <
antonio.goncalves_at_gmail.com> wrote:

> Would it be possible to prioritize @Singletons at @Startup for example
> instead of using @Depends :
>
> @Singleton
> @Startup
> @Priority(100)
> public class MyVeryFirstSingleton {}
>
> @Singleton
> @Startup
> @Priority(4500)
> public class MyVeryLastSingleton {}
>
> If yes, what about servlets ?
>
>
> On Sun, Dec 9, 2012 at 6:31 AM, Bill Shannon <bill.shannon_at_oracle.com>wrote:
>
>> Antonio Goncalves wrote on 12/08/2012 03:23 AM:
>> > Hi,
>> >
>> > Why would such annotation be in the Commons Annotations JSR
>> (javax.annotation
>> > package I suppose) instead of javax.interceptor ?
>> We believe this might be useful in other cases as well.
>>
>> > If the Interceptor spec evolves (and it looks like it, to a 1.2 I
>> suppose)
>> > will we be taking it out of the EJB JSR and create a new JSR just for
>> > interceptors ?
>> It's already a separate spec. We'll be updating it using the JCP
>> Maintenance
>> Release process.
>>
>>
>
>
> --
> Antonio Goncalves
> Software architect and Java Champion
>
> Web site <http://www.antoniogoncalves.org> | Twitter<http://twitter.com/agoncal>|
> LinkedIn <http://www.linkedin.com/in/agoncal> | Paris JUG<http://www.parisjug.org> |
> Devoxx France <http://www.devoxx.fr>
>



-- 
Antonio Goncalves
Software architect and Java Champion
Web site <http://www.antoniogoncalves.org> |
Twitter<http://twitter.com/agoncal>|
LinkedIn <http://www.linkedin.com/in/agoncal> | Paris
JUG<http://www.parisjug.org> |
Devoxx France <http://www.devoxx.fr>