users@ejb-spec.java.net

[ejb-spec users] [jsr345-experts] Fwd: semantics of metadata-complete

From: Linda DeMichiel <linda.demichiel_at_oracle.com>
Date: Thu, 24 Sep 2015 12:35:49 -0700

Greetings,

I just circulated this note to the Java EE Platform Expert
Group regarding clarifications that need to be made to the
Java EE 8 and EJB specs with regard to the semantics of the
metadata-complete attribute.

While we are not planning a new EJB JSR for Java EE 8, it is
likely that we will need a small maintenance release to
address consistency with regard to planned enhancements to
other specs. The proposed clarifications appended here would
be part of that update.

Please review and let me know if you see any problems.

thanks,

-Linda



-------- Original Message --------
Subject: semantics of metadata-complete
Date: Thu, 24 Sep 2015 12:28:42 -0700
From: Linda DeMichiel <linda.demichiel_at_oracle.com>
Organization: Oracle Corporation
To: jsr366-experts_at_javaee-spec.java.net

One of the items that needs to be made clearer in our specs is the
meaning of a "true" value for the metadata-complete attribute, as we
have noticed that people seem to get confused as to its exact meeting
with regard to annotation scanning.

The intent here is not to not process all annotations, but rather to
not process those annotations that are covered by the metadata of the
deployment descriptors that specify metadata-complete.

I've attached below proposed clarifications for the Java EE 8 Platform
spec, which covers the application client descriptor, as well as for
the EJB spec, with the goal of making this more precise. We are also
planning similar clarifications for the Servlet spec.

Please let me know if you see any problems.

thanks,

-Linda