Dear Ulrich,
It worked like a charm! Thanks!

Ulrich Stärk wrote:
> 
> A Tapestry service is by default singleton. So just create a singleton
> service and store the 
> information you want to store there. See here 
> http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html for more
> information. Don't forget to 
> synchronize access to your data.
> 
> Uli
> 
> olip schrieb:
>> Hi everyone,
>> 
>> I am having the problem that I need some information not for every page
>> of
>> one session (ASO) but instead between all sessions of a VM. In my example
>> every user/session has the possibility to run an external program (in a
>> seperate thread) which I would like to limit the parallel access to (so
>> storing the count of started and not finished runs...)
>> I think about something like a singleton thread which could be shared
>> between sessions. I tried ASO but though its called Application... it
>> only
>> works within a session.
>> Is there a mechanism in Tapesty/Java for doing this?
>> 
>> Thank you for your help
>> Oliver 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/VM-State-Objects...share-information-between-sessions-of-a-VM-tp2490484p2491323.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to