2 Replies Latest reply on Aug 26, 2002 9:05 AM by andrewrcollins

    Tomcat/servlets with JNI

    jbossrcs

      Does anyone have any experience with using the Java Native Interface with servlets (Tomcat)?

      I know EJB's cannot load native libraries, but are there any restrictions regarding servlets?

      Any comments greatly appreciated!

      Regards,
      RCS

        • 1. Re: Tomcat/servlets with JNI
          hans_tw

          Yes, It can work.
          We just try to call native method from JBoss_2.4.4 with Catalina. We use a servlet to call the native method and it works.
          So,you can try it !

          • 2. Re: Tomcat/servlets with JNI
            andrewrcollins

            I am attempting to make use of a native library
            (.dll) with JBoss. What is the proper approach
            that I should take? I have just sunk a few hours
            into using JSPs (with jspInit even)... Should
            I be using straight servlets instead? And can
            I just keep using Jetty, or do I need to use
            the JBoss+Tomcat bundle instead?