tags:

views:

82

answers:

2

Hey folks,

I have this java servlet that grabs information from a form, I need to then take that information and pass it to a specific method in an .exe program and get the value that method returns.

Is there a good way to go about doing this?

+1  A: 

If by ".exe program" you mean a DLL, you could use JNI to call methods in it from Java.

This is non-trivial but doable.

Kris
Thanks, worked out well!for anyone else who comes by this i found this very helpful: http://java.sun.com/docs/books/jni/
Petey B
+1  A: 
Elijah