We have a set of wrappers for a proprietary network protocol supporting
python, Matlab, Octave and Java. These interface to a base library
written C/C++. We support the different languages on Mac, Windows 7 and
multiple flavors of Linux. The wrappers are distributed as native
The Java interface is currently installed as a folder with .class files
and the libJNI dynamic library.
#1 Is it common to distribute these packages as .class files or are they
usually packaged into .jar files. We've been debating the pros and cons
and would like to hear your opinion.
#2 Is it necessary for each application that uses SWIG wrapping in a
cross platform environment to include a custom Class Loader? How
difficult is it to handle the system dependencies in the wrapping class
I am the user of this library not its developer. I'm trying to
understand the conventions and limitations.
Thanks in advance