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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
