Sahoo,
I had a query regarding the bug about detecting non-standard annotations
in code. This is the example that you provided for the bug.
@WebService
public class MyServletEndpoint {
@javax.ejb.TransactionAttribute(REQUIRES_NEW) // incorrect use
public void registerUser(String username, String encodedPW) {
// ...
}
}
However, since a servlet is allowed to access EJB client API, classes in
javax.ejb package are in the classpath for a web module. Hence they
would not be considered as non-standard annotations. Please comment on
this. Also, please change the status of the bug from 'Unconfirmed' to
'New'.
Thanks,
Seema