Cannot use @In to inject Seam 2 component into an EJB
Issue
We have a seam web application, and we need access to automatic generated components through EJB3 for re-use as entities, and all generated logic with seam-gen.
We get a NullPointerException when accessing an @In injected value
class MyEjb {
@In MyComponent component;
...
}
Environment
- JBoss Enterprise Application Platform (EAP) 5
- Seam 2.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.