Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Where can I store large amounts of binary data such as jpeg or gif images?  RSS feed

 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am working on a java web site that will store large amounts of binary data such as jpg or gif images. I was just wondering where to store those images: on disk or in a database? Could anyone please give me the pros and cons.
Thanks in advance,
Julien.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36634
475
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Julien,
This has been discussed a few times. See this thread for some pros and cons.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!