Re: Streaming to db
Re: Streaming to db
- Subject: Re: Streaming to db
- From: Andrew Lindesay <email@hidden>
- Date: Mon, 13 Jun 2005 00:58:25 +1200
Hello, I'm currently working on an application that will need to be
able to insert big objects in the db.
The object are sent by the client via file upload, and a webdav
interface when implemented.
The maximum theorical size must be unlimited (not limited by server
memory). [...]
Hello Kuon;
I have recently written an "java.io.InputStream" and
"java.io.OutputStream" subclass pair that streams to and from a
series of BLOBs in a database. This approach obviously provides a
level of buffering and can be wrapped in a standard java gzip input/
output stream to provide for inline compression and decompression
when reading and writing.
This approach seems to work quite well indeed and might be good for
your situation as well.
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
+64-21-47-0929
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden