Hello Sir,

I am trying to write an application in which I am uploading files from the
local machine to a database using a servlet to write into the database as i
have the misconception that EJB cannot be used for file I/O. I know I am
terribly wrong, and that EJB can be used to do this job . Can U pls
enlighten me as to how to go about doing this. How do I make the files which
I want to upload as Serializable so that they can be written to a database.

Please help.

Thanks in advance
Rashid.






-----Original Message-----
From: Douglas Bullard [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 12:23 PM
To: [EMAIL PROTECTED]
Subject: Re: Writing files with EJBs


EJBs should not directly access I/O.. but they can sure use helper classes
which _can_ access I/O.

Works fine for me in my latest app....

Douglas Bullard
Application Engineer, Internet Commerce Applications
GemStone Systems, a Brokat Company
20575 NW von Neumann Drive
Beaverton, OR 97007
503.533.3590
[EMAIL PROTECTED]
http://www.gemstone.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to