3 Replies Latest reply on Jul 19, 2013 10:29 PM by jaikiran

    EJB 3.1 Client-Interceptors for injected local EJB references

    mp911de

      Hi there,

      anybody got an idea how to plug in Client-Interceptors into injected EJB references? Usual EJB interceptors are executed on the server/EJB side, within the EJB transaction and service call scope. My requirement is to use dependency injection of EJB's (@EJB annotation within JSF, Servlets, ...) and add some functionality (like an aspect) to the EJB. This functions have to run within the client/caller scope, outside the EJB transaction.

       

      I've found some documentation for remote EJB's (real remoting), but no details on local EJB's.

       

      Thanks in advance,

      Mark