Re: [PLUG] Faces and threads

2011-08-04 Thread Carlos Konstanski
Thanks for your reply. I probably won't be able to make the meeting because I live in Pocatello. Otherwise I would be delighted to see your implementation. My issue is not so much _how_ to spawn a thread. It's more a question of _where_ to do it. Thanks, Carlos On 08/03/2011 10:42 PM, Wayne E.

[PLUG] Faces and threads

2011-08-03 Thread Carlos Konstanski
I am writing my first Java Server Faces app. It needs to launch a long-running proces in a background thread. What is the best way to handle the spawning of new threads that don't tie up the request from within the Faces framework? Thanks, Carlos ___

Re: [PLUG] Faces and threads

2011-08-03 Thread Bill Ensley
I think you might want the PJUG list. javam...@pjug.org -Bill Ensley www.bearprinting.com On 8/3/2011 1:33 PM, Carlos Konstanski wrote: I am writing my first Java Server Faces app. It needs to launch a long-running proces in a background thread. What is the best way to handle the spawning

Re: [PLUG] Faces and threads

2011-08-03 Thread Wayne E. Van Loon Sr.
Carlos: I know nothing about Java, but I just finished learning a bit about writing POSIX threads in a C program. I wanted my threads to execute concurrently with the process that spawned them. To make the CPU cores available for other threads and processes, I wanted my threads to terminate