From: Vitaly Logvinchuk
[mailto:Vitaly.Logvinchuk@xxxxxxxxxxxxxxx]
Sent: Friday, July 28, 2006 8:45
AM
To: Etienne Studer
Subject: RE: [ULC-developer]
Sending messages from Server to Client after finishing roundtrip
Hi Etienne,
Thank you for quick answer!!!
I think it cover my problem.
Best
regards,
Vitaly Logvinchuk
From: Etienne Studer
[mailto:estuder@xxxxxxxxx]
Sent: Friday, July 28, 2006 6:32
PM
To: Vitaly
Logvinchuk; ulc-developer@xxxxxxxxxxxxxxx
Subject: RE: [ULC-developer]
Sending messages from Server to Client after finishing roundtrip
My suggestion, short answer: use an
asynchronous ULCPollingTimer to query the state of your long running task. Once
the task is done, make a synchronous call through another ULCPollingTimer to
update the state of the UI.
Etienne
From:
ulc-developer-admin@xxxxxxxxxxxxxxx
[mailto:ulc-developer-admin@xxxxxxxxxxxxxxx] On
Behalf Of Vitaly Logvinchuk
Sent: Friday, July 28, 2006 7:17
AM
To: ulc-developer@xxxxxxxxxxxxxxx
Subject: [ULC-developer] Sending
messages from Server to Client after finishing roundtrip
Hi all,
I have a Client-Server application based on EJB’s (I
use JBoss application server).
I implement some difficult (with long executing time)
calculating logic on server. User runs this logic from client.
I want to lunch this logic in background; User must be able
to continue work with application.
For executing this algorithm we run another thread; and
finish ULC roundtrip on Server.
Is it possible to send message to client after executing
algorithm? And how can I do it?
Best regards,
Vitaly
Logvinchuk