Subject | Re: [IB-Java] Re: JDBC Development |
---|---|
Author | Jim Starkey |
Post date | 2001-04-29T15:29:52Z |
At 06:17 AM 4/29/01 -0000, alberola@... wrote:
The XDR appeared on the scene at the instance I was starting to
design the protocol. In retrospect, it is unnecessary overkill.
It will be faster and simpler without XDR.
I would make a subclass of DataInputStream and DataOutputStream
translate to/from 8 bit null terminated strings, and do everything
with inline readInt/writeInt, etc., calls.
Jim Starkey
>Whoa! Skip the XDR stuff all together and use simple in-line code.
> But, I have most of the line protocol like XDR stuff finished. And
> I will release this code in a second stage as soon as it matures a
> bit.
>
The XDR appeared on the scene at the instance I was starting to
design the protocol. In retrospect, it is unnecessary overkill.
It will be faster and simpler without XDR.
I would make a subclass of DataInputStream and DataOutputStream
translate to/from 8 bit null terminated strings, and do everything
with inline readInt/writeInt, etc., calls.
Jim Starkey