Thursday, February 23, 2012

Re: Multiple RequestFactory servlets for a single GWT application

Hi Thomas

I'm not talking about two instances of the same RequestFactory class,
but rather on two different RFs with different services.
Does your explanation apply in that case too?

Thanks,
Gilad.

On Feb 18, 1:09 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> Because RF works with reflection and stores some state in static variables,
> you cannot expose only a subset of proxies/services on a given endpoint
> (servlet instance). You can however do some runtime checks using
> ServiceLayerDecorators, just take care of overriding only the methods that
> are really "runtime" (in other words, do not override any method that's
> overriding in the internal ServiceLayerCache class). On the non-secured
> endpoint, you could for instance report() or die() when someone tries to
> invoke() any method that's annotated with some @Secure annotation.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment