You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by César Lesc <ce...@gmail.com> on 2009/05/19 23:21:25 UTC
[T5] TapestryIoC Registry Interop with other Servlets
Hi,
I have a Tap5 Webapp that define some services
How i can access these services from another servlet in the same webapp?
there is any reference to the Registry that i can use?
Thanks
César.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] TapestryIoC Registry Interop with other Servlets
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Tue, 19 May 2009 21:03:42 -0300, César Lesc <ce...@gmail.com>
escreveu:
> Thanks a lot Thiago!
You're welcome
> That i did was to integrate BlazeDS (Flex) with Tapestry5, and it was
> pretty easy, if someone is interested, there is a little project in
> google code ( http://code.google.com/p/guice-blazeds/ ) that did the
> most (if not all) of the work.
Tapestry-IoC had some features inspired by Guice. :) They're more similar
between them than they are similar with Spring.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] TapestryIoC Registry Interop with other Servlets
Posted by César Lesc <ce...@gmail.com>.
Thanks a lot Thiago!
That i did was to integrate BlazeDS (Flex) with Tapestry5, and it was
pretty easy, if someone is interested, there is a little project in
google code ( http://code.google.com/p/guice-blazeds/ ) that did the
most (if not all) of the work.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] TapestryIoC Registry Interop with other Servlets
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Tue, 19 May 2009 18:21:25 -0300, César Lesc <ce...@gmail.com>
escreveu:
> Hi,
Hi!
> I have a Tap5 Webapp that define some services
> How i can access these services from another servlet in the same webapp?
> there is any reference to the Registry that i can use?
Get the ServletContext and invoke
servletContext.getAttribute(TapestryFilter.REGISTRY_CONTEXT_NAME). It'll
return the Registry instance created by Tapestry.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org