Re: Integrating Hessian with UI

From: Andy Depue <andy@xxx-man.com>
Date: Mon Jul 26 2004 - 10:40:29 PDT

Well, the point in making it a single call to begin with was to reduce round
trips. The application is making these calls from across the internet,
converting it to a number of calls would greatly increase the transmission
time - especially if I wanted a small enough granularity to drive a progress
bar. Moreover, the single call is necessary so that the entire logical
transaction can occur within a single actual transaction on the server side.
I can see two possible solutions. One would be to supply Hessian with my own
input and output streams, if this were possible (maybe it is?). I would then
need to know how many bytes Hessian would transmit as the return value.
Then, I could just count the number of bytes transmitted and so drive a
progres bar.
The other solution would be to provide Hessian with my own factory, so that as
it instantiates each part of the return value I could determine its progress
and so drive the progress bar.
Is either of these options feasible, and if so, how do I approach implementing
this with Hessian?

  Thanks,
    Andy

On Friday 23 July 2004 10:05 pm, John D. Mitchell wrote:
> >>>>> "Andy" == Andy Depue <andy@xxx-man.com> writes:
> >
> > Hello, I'm using Hessian between a (Swing) rich client and a server.
> > When the client starts up, it loads an initial large dataset from the
> > server via a Hessian call. I would like to display a progress bar (very
> > much like a download progress) while the data is being transmitted. Is
> > there currently a way to "hook" into Hessian so I can track the progress
> > of data being transmitted?
>
> Break down the transmission into a number of calls instead of just one.
>
> Have fun,
> John
Received on Mon 26 Jul 2004 10:40:29 -0700

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:40 PDT