Re: Need to create a new thread for async operations

2011-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cid, On 1/9/2011 11:27 AM, Captain Cid wrote: > I am having a CXF webservice impl class. In this I want to start a new thread > in service impl constructor. This is because I need to run a thread will > continuously do some operation in background usi

Re: Need to create a new thread for async operations

2011-01-09 Thread Captain Cid
ntuitive keywords concerning > your issue should bring you very close to the solution. > -- > ..Juha > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users

Re: Need to create a new thread for async operations

2011-01-09 Thread Juha Laiho
On 01/09/2011 09:30 PM, Captain Cid wrote: I have moved the thread creation to constructor of a class which is instantiated by spring. Can you elaborate how to spawn thread in it using javax.servlet.ServletContextListener ? As for ServlerContextListener, please have a look: http://www.google.c

Re: Need to create a new thread for async operations

2011-01-09 Thread Captain Cid
m unable to find it. Any help appreciated. > -- View this message in context: http://old.nabble.com/Need-to-create-a-new-thread-for-async-operations-tp30625163p30625746.html Sent from the Tomcat - User mailing list archive at Nabble.com. -

Re: Need to create a new thread for async operations

2011-01-09 Thread Michael Ludwig
Captain Cid schrieb am 09.01.2011 um 08:27 (-0800): > I want to start a new thread in service impl constructor. That's not necessarily the best place. > This is because I need to run a thread will continuously do some > operation in background using database. And I need to be able to stop > it wh

Need to create a new thread for async operations

2011-01-09 Thread Captain Cid
that it can be done using executor etc. But still I am unable to find it. Any help appreciated. -- View this message in context: http://old.nabble.com/Need-to-create-a-new-thread-for-async-operations-tp30625163p30625163.html Sent from the Tomcat - User mailing list archive at Nabble.com