File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Problem injecting Sessionscoped bean in Managed bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem injecting Sessionscoped bean in Managed bean" Watch "Problem injecting Sessionscoped bean in Managed bean" New topic
Author

Problem injecting Sessionscoped bean in Managed bean

Stefan Rasmusson
Greenhorn

Joined: Feb 25, 2010
Posts: 5
I have a Session scoped bean



I'm setting a value in a SessionScoped bean in my stateless session bean

When I try to get the object with @Inject I only get null


I have a bean.xml
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem injecting Sessionscoped bean in Managed bean