4 Replies Latest reply on Apr 6, 2008 11:04 PM by Sander S

    Overriding seam framework components with EJBs

    Nicklas Karlsson Master

      Hi,


      Is it possible to override seam components with EJBs or do they have to be POJOs? I try to use a Stateless EJB as a org.jboss.seam.core.resourceLoader but end up with a


      org.javassist.tmp.java.lang.Object_$$_javassist_0 cannot be cast to org.jboss.seam.core.ResourceLoader



      or am I missing something obvious? The bean looks something like


      @Stateless
      @Name("org.jboss.seam.core.resourceLoader")
      @BypassInterceptors
      public class ResourceLoaderImpl extends org.jboss.seam.core.ResourceLoader implements ResourceLoader {