0 Replies Latest reply on Jan 11, 2016 7:48 AM by binko.georgiev.binev

    injecting seam components from ejb jar

    binko.georgiev.binev

      Hi,

      I have the following problem. I try to reproduce the photoalbum example of reichfaces with seam and maven.

      In the xhtml pahes the seam listener is activated, the el reference is resolved to the class which is in the web war. It has as a property a class in the ejb jar . it calls the interface IShelfAction which is annotetdw ith @Local.

       

      @Local

      public interface IShelfAction {

       

      The class is annotated

       

      @Name("shelfAction")

      //@Stateless

      @Scope(ScopeType.EVENT)

      @AutoCreate

      public class ShelfAction implements IShelfAction {

       

      I have empty seam properties file in the src/main/recosurces folder of the ejb jar.

       

      What should I do to initialize the shelAction property.