aspose file tools
The moose likes Beginning Java and the fly likes Need to know best approch to store a photo/video/audio/pdf in j2ee application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Need to know best approch to store a photo/video/audio/pdf in j2ee application" Watch "Need to know best approch to store a photo/video/audio/pdf in j2ee application" New topic
Author

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

Shahid Pathan
Greenhorn

Joined: Dec 28, 2010
Posts: 23
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.

Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35222
    
    7
This may help: http://www.coderanch.com/t/301885/JDBC/java/Storing-image-it-good-keep


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Need to know best approch to store a photo/video/audio/pdf in j2ee application
 
Similar Threads
Java and Multimedia
Play audio/video/swf/flv in jsp
Need to know best approch to store a photo/video/audio/pdf in j2ee application
This weeks giveaway XML@Whiz
Window Media Player In Java