I am stuck with a problem in my application. I was wondering if anyone could help me to get better understanding of it. I have a Java Applet with me, which uses JNI library. This JNI library is nothing but a separate application. Applet produces a text field and the input text is being processed by code present in JNI library. All runs fine when I run my applet Java class file independently.
Now, I include this applet in my web application. Here, my applet loads in an HTML file provided I don't include any statement which is related to my JNI library. For instance, if Environment.java is a class present in JNI library and I create its object and then run my applet independently then i have no problems but now when i retain the code and try to run it through my web application, applet gets stuck and doesn't load further as soon as it comes across something like Environment env = new Environment( ); If I comment this line, then I am able to load my applet and carry on with other methods in my applet. But in order to process the user input, I need to make use of my JNI library included in my applet program. I hope I made myself clear with this one. I am using Netbeans, Glassfish V2 and Firefox. I have enabled java in my browser. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---