1. If 0 interfaces and the method is public - it's a business method (already implemented);
2. If N interfaces and no @Local - the method should be public to be a business method (already implemented);
3. If N interfaces and Y @Local's, the class is not annotated @LocalBean - should check the method in every @Local and mark the method if it's not implementation of any @Local (mostly implemented, but we should check @LocalBean);
- relates to
-
JBIDE-7669 Quick fix for "Non-static method <method>() of a session bean class <class> is annotated @Produces, and the method is not a business method of the session bean [JSR-299 §3.3.2]" error marker
- Closed