Re: [SEMI-SOVLED] WOFileUpload + WORepetition, how to?
Re: [SEMI-SOVLED] WOFileUpload + WORepetition, how to?
- Subject: Re: [SEMI-SOVLED] WOFileUpload + WORepetition, how to?
- From: Mike Schrag <email@hidden>
- Date: Thu, 20 Jul 2006 14:23:34 -0400
And for more info than you ever wanted, see:
http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Applications/
Development/Database_vs_Filesystem
On Jul 20, 2006, at 2:15 PM, Chuck Hill wrote:
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:
40mdimension.com
This email sent to email@hidden
_______________________________________________
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