The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by micael]

Would you make the pre-version [not perversion -- ///8--) ] of the book code
with the JDBC available?
import-bot (20211) [Avatar] Offline
#2
Re: JDBC
[Originally posted by iainshigeoka]

> Would you make the pre-version [not perversion -- ///8--) ] of the book code
> with the JDBC available?

Unfortunately I can't seem to find it. It may have gone to bit heaven. Just
before I started writing the book my PC crashed hard and I lost most of my
data. I took the crash as a sign and switched to Macintosh and MacOS X. During
that move I lost even more data. At the same time, I was working on the book
version of the jabber server and was cutting out the jdbc code. I've checked
my backups from that time and although I have the MS and cut up version of the
code, I don't have the jdbc version of the code.

It should be relatively easy to replicate though. The magic of getting the
code to work reliably was all in one or two simple SQL queries to get the
right info out at the right time.

I've been thinking that since we're re-doing it and we're using XML
everywhere, it may be even better to use an XML database like Xindice or
eXist. Actually, I've been thinking that an object database will be even
better but would need to be able to commit some time to get everything right.
An XML database would have the advantage of doing everything in XML and
XPath/XQuery.

-iain