File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "need advice re: static content" Watch "need advice re: static content" New topic
Author

need advice re: static content

Castor Castro
Greenhorn

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

Castor


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

Joined: Oct 29, 2001
Posts: 8935
    
    9

Yes


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
 
subject: need advice re: static content