aspose file tools
The moose likes Servlets and the fly likes Native methods or running c++ code 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
Reply Bookmark "Native methods or running c++ code" Watch "Native methods or running c++ code" New topic
Author

Native methods or running c++ code

Rebort Zou
Greenhorn

Joined: Feb 26, 2001
Posts: 2
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
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
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