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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vitaly Logvinchuk
Sent: Friday, July 28, 2006 7:17 AM
To: ulc-developer@lists.canoo.com
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

Reply via email to