On Fri, 16 Nov 2012 14:28:17 -0200, Lenny Primak <lpri...@hope.nyc.ny.us> wrote:

Any kind of a singleton service can be used as a data pool
See http://tapestry.apache.org/defining-tapestry-ioc-services.html

In other words: put the application-scoped data as fields in a class, write some methods to read and write them, declare it as a Tapestry-IoC singleton service (which is the same as declaring it as a service, as singleton is the default service scope in Tapestry-IoC), use the service, that's it. The application scope in JSP and servlets is a very bad idea from times in which webapps were a huge mess in terms of architecture.

--
Thiago H. de Paula Figueiredo

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

Reply via email to