This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes File storing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "File storing" Watch "File storing" New topic
Author

File storing

georgejk
Greenhorn

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.
Thanks
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 ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: File storing
 
Similar Threads
Retrieving image file from the database and displaying in the browser
Image Databases
storing values in an array and accessing them elsewhere in the program
Beginner at Image manipulation...
Need some advice on designing a scanned document archive system.