Hi,

After looking at these messages, I got a question.

Some of U people suggested not to perform any kind of I/O operations (using
flat files) with EJBs.
We are thinking of using EJBs in our product.  And in our product, we use
some third party libraries written in "C", which will create some indexs
into flat files.  For all queries, this (third-pary) library acesses these
flat files.  Then do U say that, EJBs is not for us.

Thanks in advance for any clue.

- Raj.

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dave King
> Sent: Friday, November 03, 2000 2:29 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Writing files with EJBs
>
>
> Larry,
>
> use sax, pipe the input stream from the network connection strait
> into sax,
> you don't need to hit the disk and you don't need to
> create a big string to parse things in memory.  I've done it
> before and I'll
> do it again.
>
> -Peace
> Dave
>
>
> > -----Original Message-----
> > From: Larry Liu [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 03, 2000 10:43 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Writing files with EJBs
> >
> >
> > Dave :
> >
> >
> > If the file with limited size is ok, but how if it is a more
> > than 30mb to
> > 100 mb file
> > Cache this big String object will have impact on the system
> > resource and
> > performance,
> > in addition, mutliple file instance or String objects ? Could
> > you explain
> > you idea clearly?
> >
> >
> > Larry
> >
> > -----Original Message-----
> > From: Dave Wolf [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 03, 2000 8:28 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Writing files with EJBs
> >
> >
> > Technically reqding and writing to file I/O is forbidden in
> > EJB.  Why not
> > read the document into a String object, and parse it in
> > memory.  Why do you
> > need the file I/O?
> >
> > Dave Wolf
> > Internet Applications Division
> > Sybase
> >
> > ----- Original Message -----
> > From: "Mathias Bogaert" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, November 03, 2000 10:17 AM
> > Subject: Writing files with EJBs
> >
> >
> > > Hello,
> > >
> > > I figured out how to read a remote file (by using a
> > Resource Reference to
> > a
> > > java.net.Url).
> > > I need to parse a remote XML file, and now i copy the file
> > to localhost
> > and
> > > parse it using SAX (copy using IO operations directly).
> > >
> > > But is there a standard ("correct") way for writing/parsing
> > the file to/on
> > > the localhost?
> > >
> > > How can I do this? Is there more information available on
> > IO operations
> > > using EJB's?
> > >
> > > TIA
> > > Mathias Bogaert
> > >
> > >
> > ==============================================================
> > =============
> > > 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".
> >
>
> ==================================================================
> =========
> 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".

Reply via email to