This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access C API from JSP

 
Michael Kalkavouras
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
Michael
 
Brent Worden
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you'll need to do is create a JNI compatible shared library that calls the clarify API.
Check out http://java.sun.com/products/jdk/faq/jnifaq.html for some more information on JNI.
Also, contact the clarify people. They may already have created such a product.
------------------
Brent Worden
http://www.Brent.Worden.org/
 
Michael Kalkavouras
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Cheers,
Mike
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic