if you declare a service as model="threaded" a new instance will be created for every request of a new thread. so every thread has its individual instance. i think model="singleton" (default model) is what you are looking for.
you could also define a application state object with application scope: http://tapestry.apache.org/tapestry4/UsersGuide/state.html#state.aso g, kris xVik <[EMAIL PROTECTED]> An 26.07.2006 14:06 [email protected] Kopie Bitte antworten Thema an global hivemind service "Tapestry users" <[EMAIL PROTECTED] pache.org> i need to have global hivemind service (the only for all threads (and all users)) im not shure that treaded model is what i need more dataily: data generated by this service (sitemap for example, stored in some collection) should be accessible by all working threads (and not recalculating for each user) am i right threaded is what i need? -- View this message in context: http://www.nabble.com/global-hivemind-service-tf2003454.html#a5501986 Sent from the Tapestry - User forum at Nabble.com. --------------------------------------------------------------------- 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]
