Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

saving photo files in server

  Asked By: Annie    Date: Nov 21    Category: Java    Views: 554

I'm developing a photo gallery web application.
a major question has risen for me:
what is the best way to store the photos in server. should I use database or filing systems?
tnx in advance.



4 Answers Found

Answer #1    Answered By: Daimon Jones     Answered On: Nov 21

My suggestion is LDAP.....................

Answer #2    Answered By: Aabirah Khan     Answered On: Nov 21

There is no "best" way. It depends on your requirements.

How many pictures will there be? Can they be easily organized into
folders / directories?

Does your database  support BLOBs? Do you already have connectivity to a

Answer #3    Answered By: Utsav Shah     Answered On: Nov 21

I'm using spring, hibernate and mysql, so the database  supports blob.
the problem is I don't have enough experience in designing project architectures like this.
the result is supposed to look like something similar to yahoo photos page.
users login, create/edit photo  albums. share them with others.
I don't know if using database for such projects is a routine task.

Answer #4    Answered By: Ziza Mizrachi     Answered On: Nov 21

Another important factor, although it is not
technical, is the size of the database. If you want to
(or it is likely to) deploy your application  on a host
with limited database  size, it is reasonabale not to
waist your database space.
As you may know, Orkut (unlike yahoo photo  album)
saves the pictures in the folders.

Didn't find what you were looking for? Find more on saving photo files in server Or get search suggestion and latest updates.