Universal JDBC driver for Squeak

Giovanni Giorgi jj at objectsroot.com
Fri Oct 15 10:00:50 UTC 2004


Hi all...
    I have an idea buzzing in my head from yesterday  night, and I'd 
like to share it with the squeak community, for seeing if it is 
good/fesible.
Squeak has a lot of db driver, but java has more jdbc driver for sure.

So I think it should be possible to write a small Java servlet for 
exposing a VERY VERY simple universal db driver.
Squeak (or even a python/perl/put_here_you_favorite_language) can then 
access to this mini "web service"
I have searched for such driver without much success: so I suppose 
nobody has yet written such servlet, which I can name Universal JDBC 
Driver Servlet (UJD).

The UJD would be very very simple, opening and closing a transaction in 
a single request.
It should be possible send more then one sql statement in a single 
transaction, and retrieve more then one result, for more efficency.
The servlet can distinguish mutiple client by a universal-id sent with 
the request

We can then optimize the service to auto-generate serialized binary 
squeak object ("use the byte-code, luke" :)
What do you think?
Bye bye :)


-- 
.............................................................
 Giovanni Giorgi               ObjectWay SpA - Milano
 http://www.objectway.it    via Boltraffio, 7 - 20156 Milano
.............................................................




More information about the Squeak-dev mailing list