Java Servlets with Applets, JNI, JOGL, etc...
I included this in the advanced section because my question deals with interfacing a lot of things together. It could have gone under Servlets, Applets, 2D/3D, JNI, etc... but it kind of deals with all of these things. I am working on an advanced research project at my University that needs to interface many software tools/parts together. Here is a run down of some of these tools. I will also specify the purpose for each:
c programming langauge --> I am doing some very deeply engrained computational things (numerical analysis, fitting, complicated math) where the complex functions are written in c.
JNI (Java Native Interface) --> I need this to call c from my GUI interface.
Applets --> I need to have interactive programs on the web page to run the c functionality.
JOGLE (Java Open GL) --> Not only do I need Java interactive programs, but I also need to program some graphically intense things.
My problem comes in tieing and interfacing all of these things together. What I want to do for this particular part of the project is have a user navigate with Servlets to a page that loads and runs an applet (which underneath the applet is calling complicated c algorithms using JNI, and feeding the results to JOGLE to get the graphics) (I know someone might ask why not just stick with open GL, but that is out of the question, I am keeping with JOGLE).
My background on everything is:
Servlets, web programming, etc... --> I know inside and out.
JNI --> I am learning it now.
Applets --> I've done many times, but have never embedded in a Servlet program/platform and have never used JOGLE with one.
JOGLE --> I've done some Joggle applications before, but never have interfaced it with a deployable applet.
Now that you understand the task and my background then my question is: Are there any good resources for interfacing these different components that anyone can direct me to? I am not looking for a 1 million page manual to learn all the ins and outs of Jogle or jni, I would rather like suggestions from experienced users on the matter for excellent resources for integrating and interfacing the different parts. Any help would be much appreciated!
Also even if there isn't an all encompasing solution or answer to this problem then I wouldn't mind someone directing in the right direction for the following problems:
--> integrating applets with Java servlets using eclipse and apache tomcat
--> Good way to tie Jogle into a Java applet
--> Interfacing Java Servlets with JNI
If I even had resources for searching out these things then that would help out alot.