Thanks all for the help. There isn't any specific use case where I would
want to implement sync.RPC. I was trying to understand the GWT stockwatcher
example and was wondering if sync interface could directly be used by
creating an object of the sync. interface instead of the Async. interface.

On Mon, Jul 4, 2011 at 4:44 PM, Alain Ekambi <[email protected]>wrote:

> What is actually the reason of making a synchronus call ?
> Is there any use case where that s necessary ?
>
>
> 2011/7/4 Dennis Haupt <[email protected]>
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> you can fake synchronous execution by calling the "next thing" at the
>> end of your async callback handling
>>
>> Am 04.07.2011 23:31, schrieb Kevin Jordan:
>> > 1.  It does not.
>> > 2.  The "synchronous" interface is the contract that your server-side
>> > must implement.  GWT.create also uses that class to find the Async
>> > class.
>> >
>> > On Jul 4, 10:38 am, Gunz <[email protected]> wrote:
>> >> Hi,
>> >> I was trying to understand and implement RPC in GWT. In the
>> >> StockWatcher example provide at GWT official website they implement
>> >> the syncronous interface and also the asyncronous interface. However
>> >> it also mentions that-  "It is not possible to call this version of
>> >> the RPC directly from the client. You must create an asynchronous
>> >> interface to all your services as shown below."
>> >>
>> >> My questions:
>> >> 1. Does GWT 2.3 support synchronous RPC?
>> >> 2. If not, why are we supposed to have the synchronous interface in
>> >> the client package?
>> >>
>> >> Thanks
>> >
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.14 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iQIcBAEBAgAGBQJOEjI2AAoJENRtux+h35aGxOcP/RxSiuoJK11tNxrGEznNEQG9
>> nJyM9jJYAn98RuGSdeqe5d6yd105R4cXAUDkqTb5x88rox43w2y9csAbPDG0+wPp
>> MvzFJR8qqyD6b6g/8QxolZ/NLVxB9uz7JlSpRDYRQJkRj2dH4q5+gExlJqnj86yd
>> oYwEceiooCl/NBaUibO3bgoAjVT2whiGzYKTAjKuRlb3y1ZA/LUbsmo7fxhE/HCK
>> DToPKqCFAbuuZqr6nHKdOTk+iodEq1njfnnHWJSdD74sVgZ769eSNBpPlq5DnErk
>> 7RUfN70mtRe5De+fAfETSZ2a24PPWkhq4B5MkPSzbyrMR7JuW3+B6f/+MhUmCPBC
>> mEZfl8xkaS5O/7USzHrQifRBH19bCONauCfHaFehXQ1zMTGvqMpMlvXsgJIvNJ9Z
>> kGLXJcma10MI2rxlBEkUb35SSog1KHiLNqXKENbeAHBnGvGNLIHtkScMEoflBKuf
>> sifAzizIv0sHm+Yy1CcJJGPC9KZLFugPnHo3pSKaC4wYFWnDRHgvAZPHjkmTqgSX
>> Yin2N59P6ObcGV1FEOi9wxaP0Tx7kqFLxzOx788Qki/FPnfV3lac/2ZMbFY9R7dM
>> WZat0y0E+hQgGbGIw1Cg/ml8NpB3rbed3UEanK+CEggEunAT0IdoB4WJAlan/MiC
>> zkvdr9UcxTU1vIMvSz3H
>> =WEBR
>> -----END PGP SIGNATURE-----
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
>
> --
>
> GWT API for  non Java based platforms
> http://code.google.com/p/gwt4air/
> http://www.gwt4air.appspot.com/
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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

Reply via email to