• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to know best approch to store a photo/video/audio/pdf in j2ee application  RSS feed

Shahid Pathan
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement where user can upload resources like photo/audio/pdf/video.
I want to know what will be the best way to maintain that resources.

Right now i am using hard drive location to store that data according to userId. When user send a request to view the resource, application fetch the data from drive and write into response stream.

As i know we can store that data in to database in the form bytes.

Can any one explain me which one is the best way to maintain? Or any other alternative.

Ulf Dittmer
Posts: 42972
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!