• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Streaming to db
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: WebObjects and Standard Java
  • Next by Date: Another WO 5.3 (cosmetic) bug
  • Previous by thread: Streaming to db
  • Next by thread: EOModeler java generation 5.3
  • Index(es):
    • Date
    • Thread