I agree.  For example, if you were serving them up in webpages, keeping them
in the file system and having the webserver deal with them would likely be
much faster then having to fetch them out of the database.  Keeping them
external to the database of course means you have to keep the files on disk
and the references in the database in sync.

In order to help you more we really need to know a little bit more about
what you are doing with these images.

Cheers
Jay Walters

-----Original Message-----
From: Frank Graves [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 10:49 AM
To: [EMAIL PROTECTED]
Subject: Re: Entity beans and Images-Suggestions Please!


Unless there is something really unusual about your image storage/processing
I would thing that using EJBs might be on the overkill side, but without
knowing exactly what you are doing I guess perhaps I could be wrong.

As for storing them physically in a database vs. a reference to the images,
I guess if you are going to use a database you might as well put the entire
image in there. But depending on the number of images and how often access
would be required I might consider other storage options other than a
traditional RDMS, including just using the file system.

Good Luck

Frank

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of aashish agarwal
Sent: Monday, January 29, 2001 3:38 AM
To: [EMAIL PROTECTED]
Subject: Entity beans and Images-Suggestions Please!


Hi All,
    We are using images whose size can go upto 1MB. My first question is ,
should we store the images in a Database (oracle) or should we just store
the relative path for it in the Database.
My second question( which is more relavent for this list) is since we are
using Entitiy beans and these beans will fetch images, how does one handle
this problem. Our image size can go upto 1MB and if multiple instances are
there, the appliction server might crash. So, if anybody has used entity
beans for HUGE DATA TRANSFER, then could u please guide us abt this.
Hope , the problem is clear to you all.
Any comments/suggestions/questions are welcome!

Regards
Aashish
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to