File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes need advice re: static content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "need advice re: static content" Watch "need advice re: static content" New topic

need advice re: static content

Castor Castro

Joined: Feb 03, 2008
Posts: 13
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


"A quest to find the best bean in town"
Joe Ess

Joined: Oct 29, 2001
Posts: 9189


[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: need advice re: static content
It's not a secret anymore!