Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need advice re: static content  RSS feed

 
Castor Castro
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am working on a personal project and it will deal in lots of images/thumbnails. The first thing that comes in my mind is to save the images I need to the database. But I think it will be very slow as serialization/deserialization will eat up some resources.
Would it be better if I save my images in a apache drive, and just save the location of the file/s to the database so when the need for the image comes, I can just retrieve the location and display the image?

Please advice.

Thanks in advance

Castor
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!