2 Replies Latest reply on Nov 9, 2001 7:24 AM by Sergei Batiuk

    Classess necessary to access an EJB from applet

    Sergei Batiuk Newbie

      Dear all,

      What are the classes I need to include with my applet into a jar? As far I understand, I need ejb.jar to have access to javax.ejb.package and jnp-client.jar as provider classes for JNDI.

      This doesn't seem to be enough, because I get the following exception:

      javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security manager: RMI class loader disabled)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318)
      ..... and so on.

      It works fine if I include jboss.jar classes into the package, but it is too fat (~1 MB) for my applet. So what of jboss.jar do I need to successfully call EJB from my applet?

      Any links or help is very much appreciated.

      Sincerely,
      Sergei Batiuk.