You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by ReignInChaos <ri...@gmail.com> on 2015/02/19 20:55:54 UTC

Spawning Thread on button click

I am trying to spawn a thread with an arbitrarily long task associated with
it on button click.  I have tried both creating my own thread and not
creating a thread but it seems an abandoned Thread remains even after
completing.  I noticed this using the Netbeans profiler.  What is the
appropriate way to spawn a task on the server without leaving this abandoned
Thread?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Spawning-Thread-on-button-click-tp4669657.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Spawning Thread on button click

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

See http://wicketinaction.com/2014/07/working-with-background-jobs/.


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Feb 19, 2015 at 9:55 PM, ReignInChaos <ri...@gmail.com> wrote:

> I am trying to spawn a thread with an arbitrarily long task associated with
> it on button click.  I have tried both creating my own thread and not
> creating a thread but it seems an abandoned Thread remains even after
> completing.  I noticed this using the Netbeans profiler.  What is the
> appropriate way to spawn a task on the server without leaving this
> abandoned
> Thread?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Spawning-Thread-on-button-click-tp4669657.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>