5 Replies Latest reply on Apr 30, 2007 10:22 AM by Christian Bauer

    Using a stateless bean outside a seam application

    Gunnar Fridriksson Newbie

      I have a seam application packed in an ear file, which works fantastically well.
      But I would like to be able to use some stateless beans in that application elsewhere.

      For example I have this code:

      public class ProductManagerBean implements ProductManager {
       @In(create=true) private EntityManager entityManager;

      If I now create a new application, like a war file. Is it possible to use this bean in that application, by referencing it somehow like it was a normal EJB or something?