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".