Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / May 2004

Tip: Looking for answers? Try searching our database.

JNI Automation

Thread view: 
Patrick Barnes - 25 May 2004 05:55 GMT
I have a large static library (.lib) that I do not have the source
for. I have the header files for this library, so if using C++ there
are no problems.

However, the PTB have determined that the project will be written in
Java. Looking at JNI, that would seem to be the only cross-platform
system available. (The static library uses ACE, so it is
cross-platform as well)

The problem:
This library has hundreds and hundreds of function calls in it. Using
JNI, I would have to wrap the static library into a dynamic library,
and write glue code for *every* *single* *function* in the library.

Is there any way to partially automate this process? My fingers ache
just thinking about it.
Roedy Green - 25 May 2004 06:54 GMT
>Is there any way to partially automate this process? My fingers ache
>just thinking about it.

See http://mindprod.com/jgloss/jni.html at the bottom there are links
to several JNI generators.

Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.