I want to add jni code into my servlet,i have used JNI in my desktop application but now i want to add in my java web project.
let me tell you a condition.i have logic code on c++ and i want to add that code with my java web project.so please help me out
sandyprc78
0
Newbie Poster
Recommended Answers
Jump to PostYou should be able to do it just like you did in normal JRE. You could also try compiling the C++ to a DLL and using JNA which requires a little less work than JNI.
You could also just port the C++ code to Java which might actually be faster …
All 4 Replies
krieg
0
Newbie Poster
raj.mscking
0
Newbie Poster
jalpesh_007
-3
Newbie Poster
raj.mscking
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.