You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stephan Windmüller <st...@tu-dortmund.de> on 2010/11/02 13:36:50 UTC

Application Scope

Hi!

Since the ApplicationState annotation has been renamed to SessionState,
I am wondering if there is a usable Application scope in Tapestry where
I can store data globally for the application?

TIA
 Stephan

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


Re: Application Scope

Posted by George Christman <gc...@cardaddy.com>.
Thanks Robert

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Application-Scope-tp3246646p4716851.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: Application Scope

Posted by Robert Zeigler <ro...@roxanemy.com>.
See: http://tapestry.apache.org/community.html

And check out the various modules and tutorials listed.

Cheers,

Robert

On Aug 19, 2011, at 8/192:46 PM , George Christman wrote:

> Is there any examples on how to create my own service?
> 
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Application-Scope-tp3246646p4716830.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


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


Re: Application Scope

Posted by George Christman <gc...@cardaddy.com>.
Is there any examples on how to create my own service?

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Application-Scope-tp3246646p4716830.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: Application Scope

Posted by Mats Andersson <ma...@ronsoft.se>.
One solution is to implement your own tapestry service for this.

BR
Mats


Stephan Windmüller skrev 2010-11-02 13:36:
> Hi!
>
> Since the ApplicationState annotation has been renamed to SessionState,
> I am wondering if there is a usable Application scope in Tapestry where
> I can store data globally for the application?
>
> TIA
>   Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>

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


Re: Application Scope

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Tue, 02 Nov 2010 10:46:57 -0200, Ulrich Stärk <ul...@spielviel.de> wrote:

> Not build-in but you can write yourself some singleton service around a  
> hashmap or something.

I'd like to add that Tapestry never had an application scope.  
ApplicationState was renamend to SessionState exactly to prevent this kind  
of confusion.

The application scope in the Servlets API is, in my humble opinion, a very  
bad idea. As Mats suggested, just create a service that encapsulates the  
data you need.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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


Re: Application Scope

Posted by Ulrich Stärk <ul...@spielviel.de>.
Not build-in but you can write yourself some singleton service around a hashmap or something.

Uli

On 02.11.2010 13:36, Stephan Windmüller wrote:
> Hi!
>
> Since the ApplicationState annotation has been renamed to SessionState,
> I am wondering if there is a usable Application scope in Tapestry where
> I can store data globally for the application?
>
> TIA
>   Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>

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