1 Reply Latest reply on Nov 10, 2010 12:24 PM by YogLC

    How to call EJB from custom Componet

    YogLC Level 1

      Hi All,

      Please provide some direction on how to call EJB from service container?

      e.g. A custom component that need to call EJB deployed on the same server (JBoss LC ES2.5).

      I know there is a way to call service from custom component with service client factory class but what would be the approach or custom EJB from custom component?

       

      Also is is possible to inject SEAM component into custom component?

       

      Does service container is aware of other container(s) from the same application server EJB/SEAM container?

       

      Thanks

      YogLC

        • 1. Re: How to call EJB from custom Componet
          YogLC Level 1

          I tries to call custom EJBfrom custom component received

          follwong error

           

          ERROR [STDERR] javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException:

          No ClassLoaders found for: com.mycom.myapp.action.interfaces.pm.ejb.PmFacadeRemote

          (no security manager: RMI class loader disabled)]

          any idea?

           

          Thanks

          YogLC