Details
-
Bug
-
Resolution: Duplicate
-
Major
-
4.0.0.Beta1
-
None
-
None
-
Release Notes
Description
JBDS incorrectly interprets the section 3.3.2 of the CDI spec. The spec says:
"If a non-static method of a session bean class is annotated @Produces, and the method is not a business method of the session
bean, the container automatically detects the problem and treats it as a definition error."
The violation of the spec is incorrectly recognized on the bean class local view session beans (those since ejb 3.1 that no longer need an explicit local interface)
having the following bean:
@Stateful
public class TestBean {
@Produces
@Named("foo")
public String foo()
}
JBDS considers the producer method as incorrect even though all the public methods of the bean class local view session bean are its business methods and thus the producer method is valid.
Attachments
Issue Links
- duplicates
-
JBIDE-7710 JBT 3.2 (beta 1) saying weld archetypes are not JSR 299 compliant
- Closed