File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Native methods or running c++ code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
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: 3222
    
    5
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