On 25 avr. 06, at 12:55, Kieran Kelleher wrote:Also, when I said the "DA can run the code", I really mean the "DA should spawn off your CheckRemoteTask into a separate thread" in case your checking code is longer than the allowable 30 seconds for R-R loop. This is really easy if your just use use
Also, when I said the "DA can run the code", I really mean the "DA should spawn off your CheckRemoteTask into a separate thread" in case your checking code is longer than the allowable 30 seconds for R-R loop. This is really easy if your just use use an ExecutorService to run your CheckRemoteTask
You could always use a timer and then create a connection to the web service whenever the timer fires. A standard java timer would work, but you could also use WOTimer.On Apr 24, 2006, at 10:56 AM, Philippe Lafoucrière wrote:Hello,First of all, "hi list, I'm a complete noob in wo".Is there a way
WO is java these days so you can certainly do it with that. Unless
you want to be all trendy and risky and go the AJAX route?
Ho no no,
getting data from the webservice is done in background. My
application is just some business logic running in background, and a
few dynamic pages for
Philippe,
On Apr 24, 2006, at 4:56 PM, Philippe Lafoucrière wrote:
First of all, hi list, I'm a complete noob in wo.
Welcome!
Is there a way to create a continous loop in wo ?
Scores :)
I have to check a distant webservice every 30 seconds and fetch new
data if available.
In this
Er, here it is again... hoping I am less than 30K moderator limit this time!---Create a class, say "CheckRemoteTask" that extends java.util.TimerTask and put your webservice checking code in the run() method. If you are interaction with EOF, then create an editing context in
By the way, it's colorized eclipse copy/paste that does this ... I
paste into vi or anything else that doesn't preserve the rich-text,
and then re-copy/paste into the email. Apparently the representation
of eclipse content in the pasteboard is crazy inefficient.
ms
On Apr 24, 2006, at
Learn something new every day ... You just saved me 30 seconds of
total annoyance every time I paste a code sample :)
On Apr 24, 2006, at 3:18 PM, Mark Morris wrote:
Hi Mike,
If that's the case, would a straight copy and Paste and Match
Style (Command-Option-Shift-V) accomplish the same