My first reaction was if there's a JNI interface to NDF, use that. If
there are just a few specific data structures that SCUBA-2 will produce,
JNIHDS offers a quick and dirty solution. However, I'm troubled by
expanding use of JNIHDS for NDF structures, rather than developing an
object-oriented NDF interface. By OO I don't mean Java per se, but the
NDF data model itself; to use HDS you need to know the data structures
and all the NDF rules. A risk of going down the HDS route is that
increases maintenance and may lead to incompatibilities with bone fide
NDF, particularly if the classic NDF library is extended or modified.
How big a job would it be to make a JNINDF (and JNIARY) or to extend
Peter's work to meet SCUBA-2 requirements?
Malcolm
|