MG>brief comment
> 
> I would argue that, architecturally, this kind of work doesn't belong in
> the "request processing" portion of the application. I generally do this
> kind of thing with cron jobs. Otherwise, you can have HTTP requests
> kicking-off lots of long-running processes. That may be possible in
> Java, but I'm not sure it's always advisable.
MG>agreed offloading subordinate tasks is a always a good idea
> 
> On the other hand, a background thread (in the same JVM) that serially
> processes some jobs scheduled by request processors (say, like sending
> an email message) is often a good idea. Just as long as you don't run
> "new Thread().start()" during request handling, which is a bit scary.

MG>whats the concern ..not identifying ThreadGroup?..checkAccess() error?
MG>thread already started?

> 
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAknI+3sACgkQ9CaO5/Lv0PD+nwCgsCnQrQmKxAZQEN3wVap5Knxz
> zr0AoLKsUjDYMvCWQMxRb2Pe8ib/r88L
> =O3Ls
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_________________________________________________________________
HotmailĀ® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009

Reply via email to