jsfejb-3.0session-bean

By using ejb 3 , jsf and jboss is it possible to call an EJB method from web module?


Even if I have different modules in my Java EE application including myproject-web and myproject-ejb; is it possible to call (or inject) my ejb session bean which is in the ejb module from a managed bean which is in the web module? When I asked before, I see the following declaration:

@EJB private BeanInterface yourbean

However, I wanna learn that whether it is possible or not, to call each other between different contexts (one of it in ejb context, the other one -managed bean- is in web context)?

Any help would be appreciated.


Solution

  • I found out that it is impossible without writing your own resolver by now.. Thanks