• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Access C API from JSP

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic