dcsimg
Should I modify legacy code to use JNI?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   neal_ravindran
Posted On:   Sunday, October 27, 2002 09:12 AM

All JNI examples I have seen show that I need to add the javah generated header files to C/C++ code.


Should I modify legacy code when using JNI? Or did I get this whole JNI thingie wrong?

Re: Should I modify legacy code to use JNI?

Posted By:   Laurent_Mihalkovic  
Posted On:   Sunday, October 27, 2002 01:05 PM

The purpose of JNI is to provide INTEGRATION between existing C/C++ code and Java. As such, you do not have to modify your 'legacy' code, however, you may have to write a specific plumbing layer.

cheers

About | Sitemap | Contact