I just refering to an earier email from Appajee:

"In fact in the 7.1 Java API, we have implemented the necessary rpc
version mapping infrastructure as well, but it is validated for
7.0/7.0.1 only. What that means is -- the client program runs the pure
Java code in issuing AR API's underlying RPC calls when interacting
with servers of version 7.0 or greater. However if the client is
interacting with older servers (say 6.3 or even older), then the Java
API silently falls back to delegating the calls to underlying JNI
code, which in turn calls C API which has rich implementation of RPC
version mapping. All of this happens transparently to client program
any ways, so in essence, the Java API clients of 7.1 version can
indeed talk to same or older or newer versions of Server as were
before. Only thing is that for legacy server interactions, the Java
API relies on its legacy infrastructure (JNI/C API combo) in 7.1
release.  In future, as indicated in previous email note, this will
change (i.e. improve RPC version mapping layer within Java API) so
that this native dependency is also eliminated."

--
Jarl

On 8/14/07, Carey Matthew Black <[EMAIL PROTECTED]> wrote:
> Jarl,
>
> My guess (and I stress guess) is that if the 7.1 client connects to
> anything older than a 7.1 ARServer then it will need to fall back to
> the JNI layer. ( And in some cases even the 7.1 client to 7.1 server
> might still need some JNI stuff. But that might just be my
> skepticism/mis-understandings kicking in there too.)
>
> I would expect that after the Java RPC universe matures a bit then a
> totally pure Java API will happen with no chance for a fall back to
> JNI when using client and server versions ">= X.X". However for full
> backwards compatibility the fall back to JNI will still be possible
> when talking to a server <=7.1. (or maybe just <=7.0.1?)
>
> At least that is how I have read the info posted on this topic so far.
>
>
> And you also asked about...
> "
> Can the java plugin-server connects to a 7.01 server?
> "
>
> Again.. my guess...
>   The new Java plugin server can use the ARS API to connect to any ARS
> server. ( And if it need the JNI layer will be determined by the above
> details.) However, my guess is that the Plugin server will still only
> be "supported" on the supported server platforms too. So the JNI stuff
> should be available anyway.
>
> It does remain to be seen if an ARS server v6.x or v7.0.1 can make a
> call to a v7.1 Java based Plugin Server too. ( But that might be an
> animal of a different shape than what you want to fight with too. :)
>
> I hope that makes sense..
>
> --
> Carey Matthew Black
> Remedy Skilled Professional (RSP)
> ARS = Action Request System(Remedy)
>
> Love, then teach
> Solution = People + Process + Tools
> Fast, Accurate, Cheap.... Pick two.
>
>
>
> On 8/14/07, Jarl Grøneng <[EMAIL PROTECTED]> wrote:
> > Appajee,
> >
> > In an earlier email you said that you can use the 7.1 Java api to
> > connect to a 7.01 server
> >
> > "What that means is -- the client program runs the pure Java code in
> > issuing AR API's underlying RPC calls when interacting with servers of
> > version 7.0 or greater"
> >
> > Can the java plugin-server connects to a 7.01 server?
> >
> >
> > Since the 7.1 java api fallback to old JNI when connecting to version
> > 6.3 or earlier, would it be a good practice to use the 7.1 java api to
> > write clients even when the server is an old version? I suspect the
> > 7.api is more "Java" than the old one...
> >
> > --
> > Jarl
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
> Answers Are"
>

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

Reply via email to