Technically, yes (i.e. you can leave out the native code as long as you
do not use a native call), but ...

 

>From implementation standpoint, we do a forced loading of the JNI code
upfront, so in the default deployment - the absence of AR API native
libraries indeed fail the program invocation. See, there are few issues
because of which we did this - you may indeed talk to a server that is
old version; or, sooner or later you're going to issue a call that needs
services offered by native code. And most importantly we have not
'officially tested' and certified the behavior of 7.1 Java API in the
absence of native libraries. 

 

For power users though, I can tell that there indeed is a way to
configure the API to "NOT load the JNI stuff at all"  by tweaking
jni-load-mode setting (which is subject to change/disappear in a future
version). You can dare to play around with this option and see how your
app behaves <g>. BTW, one of our internal customers tried similar on a
Mac with decent results I believe. :-)

 

As there is some untested/unsupported behavior is all associated with
this tweaking - in this release, we're claiming to simply include JNI
stuff always. And hence the lack of (or need for) documenting which
calls use JNI services. For your benefit, a quick listing would be -
qualification formatting/parsing/encoding/decoding, assignment
formatting/parsing/encoding/decoding, rpc version mapping for
interacting with servers 6.3 or older versions, alert APIs. I pretty
sure this is kind of complete but I may have missed a call or two. In
any case, long term, we're definitely on the track for having these
pieces as Java implementations for future release.

 

Regards

Appajee

 

 

 

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Hugo Visser
Sent: Friday, July 27, 2007 12:51 AM
To: [email protected]
Subject: Re: API libraries for Solaris on X86.

 

** Appajee,

Is it (going to be) documented which classes rely on native libraries
when running against a 7.1 server? I can imagine that if qualifier
parsing requires a dll, and my program doesn't require that, I can leave
out the dll? 

Regards,

Hugo


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to