File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes File storing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "File storing" Watch "File storing" New topic

File storing


Joined: Jul 29, 2002
Posts: 24
Hi all
I would like to clarify one thing. If i want to store some image from the client side to the system, which will be the better solution as we cant do the IO operation in bean. Is it a better way if i use one servlet and proceed? Instead of storing to the disc, we can use blob to store that image to DB. Please suggest your valuable comments on this.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
It depends on your situation. Storing to the database is a definite option but I would hate to be loading images from the database on each request. If they are images that are rarely accessed but need to be cataloged then sure.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
One more thing georgejk...
Please take a look at the JavaRanch Name Policy and edit your display name appropriately.
[ October 26, 2002: Message edited by: Chris Mathews ]
wood burning stoves
subject: File storing
Similar Threads
Beginner at Image manipulation...
storing values in an array and accessing them elsewhere in the program
Retrieving image file from the database and displaying in the browser
Image Databases
Need some advice on designing a scanned document archive system.