EJB's are not really designed for streaming. I believe that EJB methods
are synchronous, if you required asynchronous operation you may want to
have a look at JMS (though I'm still unsure if you can get the amount of
data transferred etc).

Your other choice would be to create a servlet (doesn't have to use
http) send the size as say the first byte of the response serialise the
objects you are returning and count the number of bytes you have
recieved. 

k.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:jboss-user-
> [EMAIL PROTECTED]] On Behalf Of Nordahl, David C
> Sent: Friday, 13 July 2001 7:36 AM
> To: '[EMAIL PROTECTED]'
> Subject: [JBoss-user] URGENT: Monitoring data transfer
> 
> Are there any ways of monitoring the progress of data transfer of
objects
> from ejb methods.  Is there any means of accomplishing this?  If
there's
> no
> clean way of doing this, is there a way of having the ejb generate
events
> or
> messages that the client can listen for before a method execution
> completes?
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to