We have tried processing very large XML files (so far up to 50MB) using EJB.
It doesn't handle it and the App server crashes as it runs out of memory.
This is partly due to the actual implementation (which is being reviewed and
updated).
However one problem is that the interface to processing such large volume
data is primarily streams, and Java IO streams are not serialisable. This
means that you can't pass them around as parameters to EJBs to process.
I am currently looking at re-implementing this in Oracle using PL/SQL and
Java Stored Procedures. This is looking very promising at the moment - I
have processed stuff up to 124MB (on my portable). From my experience I
would say that you should avoid EJB to process this sort of thing directly.
Process through something else (like Oracle PL/SQL/Java Stored Procedures)
and then open a stream to it in your servlet and use that to send to your
client.
Cheers
Lawrence
> ----------
> From: Normal Sender[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for Enterprise JavaBeans development
> Sent: 28 February 2001 17:14
> To: [EMAIL PROTECTED]
> Subject: Re: Entity beans and Images-Suggestions Please!
>
> At 03:37 AM 1/29/2001 -0800, you wrote:
> >Hi All,
> > We are using images whose size can go upto 1MB. My first question is
> ,
> >should we store the images in a Database (oracle) or should we just store
> >the relative path for it in the Database.
> >My second question( which is more relavent for this list) is since we are
> >using Entitiy beans and these beans will fetch images, how does one
> handle
> >this problem. Our image size can go upto 1MB and if multiple instances
> are
> >there, the appliction server might crash. So, if anybody has used entity
> >beans for HUGE DATA TRANSFER, then could u please guide us abt this.
> >Hope , the problem is clear to you all.
> >Any comments/suggestions/questions are welcome!
> >
> >Regards
> >Aashish
> >_________________________________________________________________________
> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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".
>
>
> --------------------------------------------------------------
> QuantumLink Communications, Bombay, India
>
> ==========================================================================
> =
> 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".
>
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream International does not
accept legal responsibility for the contents of this message.
The information contained in this e-mail is confidential and may be legally
privileged. It is
intended solely for the addressee. If you are not the intended recipient, any
disclosure,
copying, distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are those of the
individual sender, except where the sender specifically states them to be the views of
Clearstream International or of any of its affiliates or subsidiaries.
END OF DISCLAIMER
===========================================================================
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".