2 Replies Latest reply on Mar 17, 2009 11:30 AM by Tobias Hill

    How to make a piece of code run for each request?

    Tobias Hill Newbie

      I want a piece of code to be executed on each request. I do not want to use a Filter since I want to be in a managed context (I want to use an entity manager for instance).

      How to do it?

      Thankful for any ideas,


      This is just part of my endeavors to workaround the fact that no facesontext is available on @Create:tion-time of Session-scoped beans.