Fabricio Lemos [
http://community.jboss.org/people/fabricio.lemos] replied to the
discussion
"Problem with validation for CDI Injection points"
To view the discussion, visit:
http://community.jboss.org/message/559800#559800
--------------------------------------------------------------
Bean on war project:
import javax.enterprise.inject.Model;
import javax.inject.Inject;import test.ExampleBean;
@Model public class ExampleModel {
@Inject private ExampleBean exampleBean;
}
Bean on jar project referenced by the first project:
package test;import javax.ejb.Stateless;@Statelesspublic class ExampleBean {}
I assume the bean is injectable as the project execute ok on the server. Both projects
have CDI support enabled.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/559800#559800]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]