Subject | Re: "Procedural engine" modules |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-11-17T20:55:07Z |
Hi Jim,
is Java implementation of GDS API, layers above map engine semantics
into JDBC semantics. So, if we get GDS-like API we will be able to
create JNI proxy between engine and JayBird. Rest is almost trivial
then. Or am I wearing pink glasses?
in JNI, but if there is call from engine to JVM to execute some Java
code, there must be some call to stop execution, right? Also when the
code is executed, call we be returned back to the engine anyway. Correct?
Thanks!
Roman
> It's a little more complex than this. The Java code needs to beThere must be some API for BTC anyway. :)
> able to call back into the engine, so some API is needed.
> I suppose a low level ad hoc interface could be cobbled together, butI planned to reuse JayBird for this. The bottom-most layer of JayBird
> JDBC is almost certainly the right answer. A JDBC implementation
> requires a layer to map JDBC semantics into engine semantics (one
> could be recycled from my ODBC driver).
is Java implementation of GDS API, layers above map engine semantics
into JDBC semantics. So, if we get GDS-like API we will be able to
create JNI proxy between engine and JayBird. Rest is almost trivial
then. Or am I wearing pink glasses?
> It also requires a mechanism to synchronize JDBC objectWill this not automatically handled by JVM? I have little experience
> lifetimes with corresponding engine objects/blocks. The work is
> well worth doing, but non-trivial, particularly if you're going to
> "do it right."
in JNI, but if there is call from engine to JVM to execute some Java
code, there must be some call to stop execution, right? Also when the
code is executed, call we be returned back to the engine anyway. Correct?
Thanks!
Roman