2 Replies Latest reply on Sep 19, 2003 7:54 AM by twutort

    Running an applet in jboss

    twutort

      I have an applet that uses certain classes found in the jboss jar files in the lib directory of the application server. In order for my applet to load these classes I have to copy the jar file to my war directory and point the codebase to this directory.

      Is there anyway I can get around having two copies of these jar files? Can I just set a classpath somewhere so that it'll reference the jars deployed on the app server? I don't know if that would be some sort of security issue since the war directory is for the web server.

      Thanks,
      Tim

        • 1. Re: Running an applet in jboss
          jonlee

          Unfortunately for you, the classes need to be exposed to the web interface so they are available to the remote client. This means it needs to be available in the WAR, otherwise from the servlet container, or if you have a front-end web server, from that.

          These are in some measure for security as you do not want to expose other directories in your application server, particularly those with data or libraries in them.

          • 2. Re: Running an applet in jboss
            twutort

            That is what I thought. I wanted to make sure though. Thank you.