Wednesday, May 26, 2010

Re: Flex gwt servlet

I feel, it's a bit tough job entering into GWT context even from
ExternalInterface way. As in, what is the function that we can ever
call for making RPC call ?
Coming to the actual question, treat even the GWT service as a normal
servlet. But only the trickier part being, input that the servlet
expects before the control gets passed over to the actual service
class that we write / register. Since, the input is a bit different
one, the call would probably fail and return you an unexpected
output.

On May 26, 4:43 pm, bladedancer <bladedancer.ga...@gmail.com> wrote:
> I've never done it specifically to a gwt service but no reason you
> couldn't. You probably have two options - use ExternalInterface to
> call the gwt generated js or do the rpc/json serialization natively in
> flex and make the call from flex. Personally I'd go with the
> ExternalInterface - that way the serialization is automatically
> generated for you and you don't have to manage it.
>
> gavin
>
> On May 26, 11:42 am, "gadaleta.marco" <gadaleta.ma...@gmail.com>
> wrote:
>
> > Hi, i'm developing an hybrid system.
> > It's possible to call gwt servlet from flex?
>
> > Thank you
> > Marco
>
>

--
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