Hello,
You may do things differently. Following the "Audio/Video Streaming Service"
(http://www.cs.wustl.edu/~schmidt/PDF/av.pdf) available in the TAO CORBA
ORB, the ORB is primarly used to negotiate the use of a protocol, format,
... and the subsequent "streaming" is done thanks to other protocols that
are a lot more optimized for their dedicated mission.
You may try to use the same approach with EJBs: you create a bean that
represent you image, you can use this bean to manage/modify this image, ...
and negociate the download of this file through any means (socket, ...) the
problem with ORBs in general is that if you pass the information in method
calls, the information is generally completely loaded in memory and then
marshalled over the network. You should then use a kind of iterator to
reduce this problem, but this may become un-natural for an image and will
generate many network round-trips.
Just my .02$...
JMS may help?
Cheers,
Sacha
> -----Message d'origine-----
> De : A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]De la part de aashish agarwal
> Envoyé : lundi, 29 janvier 2001 12:38
> À : [EMAIL PROTECTED]
> Objet : Entity beans and Images-Suggestions Please!
>
>
> 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".
>
>
===========================================================================
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".