A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Mongo DB Applied Patterns
this week in the
MongoDB
forum
or a resume review from
Five Year Itch
in the
Jobs Discussion
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Native methods or running c++ code
Rebort Zou
Greenhorn
Joined: Feb 26, 2001
Posts: 2
posted
Feb 26, 2001 13:37:00
0
I need to call native c++ method, or run c++ code and pass a set of
java
objects as paremeters into the c++ method in a
servlet
. Can any one tell me how to do it?
Thanks a lot!
Tony Alicea
Desperado
Sheriff
Joined: Jan 30, 2000
Posts: 3219
posted
Feb 26, 2001 17:58:00
0
How about Sun Microsystems?
http://java.sun.com/docs/books/tutorial/native1.1/index.html
I suppose JNI works the same from
Servlets
. That's precisely one of the great things about Servlets. They can contain any type of Java code.
Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Rebort Zou
Greenhorn
Joined: Feb 26, 2001
Posts: 2
posted
Feb 26, 2001 19:27:00
0
Thanks a lot!
I am going to try it.
I agree. Here's the link:
http://aspose.com/file-tools
subject: Native methods or running c++ code
Similar Threads
Native fncs,Variable Naming, drawRect
minimize frame to system tray
Why not Compilation error here!
Sierra and Bates - Self Test Chapter 2 Question 5
JQ+ 953840006570
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter