Am Donnerstag, Juli 28, 2011, 20:12:47 schrieb Chris Stier:
> Sorry this was meant to be titled "Threading inside TNTNet".
> Stupid iPhone :)
> 
> On Jul 28, 2011, at 12:09 PM, Chris Stier <[email protected]> wrote:
> > Hi all,
> > Gotta say I'm loving TNTNet. I have a quick question about threading. In
> > java web containers, it's frowned on to make threads inside the
> > container. Does TNTNet have the same frownie-ness?:) I writing a TNTNet
> > page as a service to crunch through gigs of data. So, if I could do any
> > of this crunching concurrently... It would compete much faster. Anyway,
> > just would like to get input into this before I thread my service out.
> > Thanks!!
> 
> ---------------------------------------------------------------------------
> --- Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> Tntnet-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tntnet-general

Nice to hear, that you like tntnet:-)

Tntnet is really more or less normal application, where you can really do 
whatever you need to do. So starting threads is really ok. Of course you need 
to take care, what happens to the thread after it ends. But that is always the 
case when you write multithreaded stuff.

If you use the trunk version of tntnet you may want to look at 
sdk/demos/backgroundjob. We implemented a facility, where you can start 
asyncrounous actions from a web application without blocking the actual 
request. Tntnet takes care of the threading stuff then.

Tommi

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to