Java SE JSR 250 annotations module renamed to java.xml.ws.annotation?
Alan.Bateman at oracle.com
Mon Feb 13 15:46:58 UTC 2017
On 13/02/2017 15:11, Andrew Haley wrote:
> On 13/02/17 14:34, Alan Bateman wrote:
>> The small subset of the JSR-250 defined "Common Annotations" that you
>> see in Java SE is part of the web services stack that was added in Java
>> SE 6. If it weren't for JAX-WS then these annotations would have no
>> business being in Java SE or the JDK.
> Well, okay, but they have been advertised as "Common Annotations" for
> ten years now. It's a bit unconvincing to say "Yes, but we didn't
> really mean it."
The name is unfortunate, a woeful choice, esp. in the context of Java SE
and JDK where most of annotations are just not relevant. This is what
lead to the defining the subset for JAX-WS.
Anyway, the proposal is to deprecate this module in Java SE 9 and
hopefully remove it in the future, Java SE 10 if possible. That is for
JSR 379 and the JSR for Java SE 10 to decide of course.
More information about the jigsaw-dev