Hello,

I try the following:
I have an @Statefull bean with @Name("index")

>From with I call
@In(value="#{profilerService}")
private transient Profiler profiler;
ProfilerService is an stateless bean

>From the ProfilerService I get an entity bean called Article.
In the article I call some function that uses an stateless bean referenced as:
@EJB
private transient  Profiler profiler;

I also tried

@In(value="#{profilerService}")

Both give me null pointer exceptions when I call the profilerservice.
Can someone give me a clue how to call an stateless bean from an entity bean?!

Kind regards,

Mark


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046740#4046740

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046740
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to