Its not recommended but you can do it and I've successfully deployed apps that do. Several things to take care of though.
Here is a discussion on some of the stuff to consider. http://www.nabble.com/Can-servlets-safely-spawn-threads--t3135145.html ----- Original Message ---- From: benoit moraillon <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Friday, August 17, 2007 6:41:10 AM Subject: RE: [appfuse-user] Asynchronous task DIV { MARGIN:0px;} No it's impossible on a J2EE container to start a thread and if it is a big cpu consuming task you 'll slow down your container throughput. De : Ron Anderson [mailto:[EMAIL PROTECTED] Envoyé : vendredi 17 août 2007 15:38 À : users@appfuse.dev.java.net Objet : Re: [appfuse-user] Asynchronous task You can do it by starting your own Thread then. Ron ----- Original Message ---- From: benoit moraillon <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Friday, August 17, 2007 6:29:54 AM Subject: RE: [appfuse-user] Asynchronous task Thanks, but when it's not a scheduled task ? By launching an external java program and check for changes in the database ? Best regards, Benoît Moraillon -----Message d'origine----- De : Peter Schneider-Manzell [mailto:[EMAIL PROTECTED] Envoyé : vendredi 17 août 2007 08:36 À : users@appfuse.dev.java.net Objet : AW: [appfuse-user] Asynchronous task Hi! Take a look at the springframework docu: http://www.springframework.org/docs/reference/scheduling.html Bye, Peter -----Ursprüngliche Nachricht----- Von: benoit moraillon [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 16. August 2007 11:00 An: users@appfuse.dev.java.net Betreff: [appfuse-user] Asynchronous task Do you know what is the best way to perform asyncrhonous tasks with appfuse ? Thanks in advance, Benoît Moraillon. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 15.08.2007 16:55 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 15.08.2007 16:55 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]