Hi Nail,
I feel U are right and U are wrong. Right in the sense that EJB specs
does'nt support File I/O legally but there is a work around. U are wrong in
the sense because indirectly with the help of some helper classes which can
do the I/O job we can still do file I/O in EJB.
True servlet can do the job but what if my architecture does not support
servlet or I just don't want to do it using servlet because all other
database commits in my project is being done with EJB. So why not write and
store the files as BLOBS in database.
But the question still remains how to do it with helper classes + EJB??????
Someone please enlighten me on this one !!!!!!
Thanx,
Rashid Khan
> -----Original Message-----
> From: Nail A. [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, November 17, 2000 8:24 PM
> To: [EMAIL PROTECTED]
> Subject: RE: File I/O in EJB
>
> Hi Rashid,
> well, you know, that the EJB-Spec say's, that EJB's
> are not allowed to make I/O Operations.
>
> Try to map the data from the EJB into a servlet and
> let the servlet do the file I/O.
>
> regards
> Nail
===========================================================================
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".