There were several that others mentioned, I was adding the idea that
your EJB container vendor may or may not develop the app server
you use based upon assumptions from the spec.

>From: Marco Pas <[EMAIL PROTECTED]>
>Reply-To: A mailing list for Enterprise JavaBeans development
><[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: File I/O in an session EJB
>Date: Thu, 4 Jan 2001 07:59:08 +0100
>
>John,
>
>the spec indeed mention the text you provide,
>but what will be the drawbacks/penalties in still using the i.o package ?
>
>Marco
>
>-----Original Message-----
>From: A mailing list for Enterprise JavaBeans development
>[mailto:[EMAIL PROTECTED]]On Behalf Of John Crupi
>Sent: woensdag 3 januari 2001 16:56
>To: [EMAIL PROTECTED]
>Subject: Re: File I/O in an session EJB
>
>
>This is a quote from the EJB spec:
>
>An enterprise bean must not use the java.io package to attempt to access
>files
>and directo-ries
>in the file system.
>
>The file system APIs are not well-suited for business components to access
>data. Business components
>should use a resource manager API, such as JDBC API, to store data.
>
>� An enterprise bean must not attempt to listen on a socket, accept
>connections
>on a socket, or
>use a socket for multicast.
>
>jc
>
>--
>John Crupi
>Chief Java Architect
>COM Consulting
>Sun Java Center
>
>Cell: 301.526.7890
>
>
>Nicholas Whitehead wrote:
>
> > 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".
>
>===========================================================================
>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".
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.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