Marco;

This is primarily a portability issue. In order to
guarantee portability you should avoid the use of i/o,
sockets etc, but you are not *prevented* from using
them.

//Nicholas



--- Marco Pas <[EMAIL PROTECTED]> wrote:
> Why is File I/O in a bean not a good idea ?
>
> I have to create a bean that reads a file and splits
> the file...
> I thought it was a very good idea to do this in an
> EJB,
> because you can take advantage of the security
> mechanisms, etc...
>
> Kind Regards,
> Marco
>
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans
> development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mikko
> Laanti
> Sent: woensdag 3 januari 2001 15:49
> To: [EMAIL PROTECTED]
> Subject: Reading Properties from EJB?
>
>
> Hi,
>
> In EJB Spec. there was mentioned that using direct
> file io from Ejb is
> not a "good idea". People also talked about this in
> this newsletter.
>
> How about using Properties class? I know it's based
> on file IO but does
> Ejb container support it?
>
> Anyone know?
>
> Br
>
> - Max
>
>
> email: [EMAIL PROTECTED]
>
>
===========================================================================
> 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".
>
>
===========================================================================
> 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".
>


=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (973) 615 9646
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.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