Document Server Using Oracle and Java

I am working on a document server module using Java and Oracle. I have to store files in the server. Each file is available in 5 formats:
(a) HTML
(b) Text
(c) RTF
(d) PDF
(e) TIFF
Now I have never worked on such a problem. I am still in the design phase.
I see 2 options
1. Store all the files in the database in binary and use servlets technology to retrieve them.
2. Provide a temporarily created url to retrieve the document using authentication
The first method keeps the server busy for the entire process of download while the second adds an authentication module and looks like a threat to security.
If someone has some experience in this context or has some innovative ideas kindly advise.
Thanks in advance
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!