Re: [SEMI-SOVLED] WOFileUpload + WORepetition, how to?
Re: [SEMI-SOVLED] WOFileUpload + WORepetition, how to?
- Subject: Re: [SEMI-SOVLED] WOFileUpload + WORepetition, how to?
- From: Chuck Hill <email@hidden>
- Date: Thu, 20 Jul 2006 11:15:37 -0700
On Jul 20, 2006, at 10:14 AM, Miguel Arroz wrote:
Also, how can I put the file data in an EO (and save it to the
DB) without having to read the whole file into memory?
I'm thinking that it might be better to store the files as files
on the file system instead of the DB, it should perform better for
large files (and concurrent access, the DB channel will get jammed).
What does your valuable experience say about this? :)
For large files, putting them in the file system makes sense. You
can stream directly from the browser to the file system and then, for
download, from the filesystem back to the browser without using huge
amounts of JVM memory. Of course, keeping the database and the file
system in synch can be tricky.
Chuck
--
Coming sometime... - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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