0 Replies Latest reply on Oct 8, 2010 2:39 AM by Adam Andrzejewski

    Creating Seam components from external EJBs

    Adam Andrzejewski Newbie

      Hi,
      The scenario - there are multiple ears deployed on the server, and one of the ears is a seam app. This app uses EJBs from other ears to get various data.
      The question - what is the best way of creating seam components from those external EJBs? So far, I have been creating new classes for components in the seam app and injected the needed EJB into it (kind of decorator pattern). But maybe there is another way (more simple), like defining in some xml file (components.xml maybe?)


      I have tried the other mentioned solution but it did not worked, as the class must be in the same ear, and cannot be an interface...
      Any suggestions?