File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Access C API from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Access C API from JSP" Watch "Access C API from JSP" New topic

Access C API from JSP

Michael Kalkavouras

Joined: Oct 24, 2000
Posts: 5
Dear all,
I am currently using JSP with WebLogic Server 5.1.0. I need a module (JavaBean) that accesses the C/C++ API of the clarify product. Does anyone have any idea how to do that? Is there any way of directly accessing the API? Do I need to write a C program that accesses that API and call that from the JSP? I've heard something about using Corba to access the C API. Are there any relevant examples I could look at somewhere you know? What is the best, and more robust way of doing it?
Kind Regards,
Brent Worden
Ranch Hand

Joined: Nov 26, 2001
Posts: 50
What you'll need to do is create a JNI compatible shared library that calls the clarify API.
Check out for some more information on JNI.
Also, contact the clarify people. They may already have created such a product.
Brent Worden

Brent Worden
Michael Kalkavouras

Joined: Oct 24, 2000
Posts: 5
Thanks a lot for the reply.
This is definetely what I was looking for. I had a quick look at the JNI tutorial and it is what I need.
I agree. Here's the link:
subject: Access C API from JSP
It's not a secret anymore!