I have a GWT application which can call methods from a java server
side app in the GWT server side code, e.g. if I want to get a users
name and address I just make an RPC call to my service on my GWT
server side code which then calls some standard java code in another
project which talks to dB and send me back the data.
What I would like to know though is the syntax for some external Java
code calling my GWT server side code and making a reverse RPC call to
my client. For example, a user has just updated their name and
address and my GWT client side code needs to be notified immediately.
Many thanks.
Many thanks.
On 15 Jun, 11:59, Michael Burns <michaelbur...@gmail.com> wrote:
> 'Reverse'RPCcalls into a GWT client are not possible - what you
> could do is provide a refresh button or have your client
> poll the server at regular intervals to get the latest data.
>
> On Jun 15, 11:39 am, BlackDhalia <earthquakena...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > I have a GWT application which cancallmethods from a java server
> > side app in the GWT server side code, e.g. if I want to get a users
> > name and address I just make anRPCcallto my service on my GWT
> > server side code which then calls some standard java code in another
> > project which talks to dB and send me back the data.
>
> > What I would like to know though is the syntax for some external Java
> > code calling my GWT server side code and making areverseRPCcallto
> > my client. For example, a user has just updated their name and
> > address and my GWT client side code needs to be notified immediately.
>
> > Many thanks.- Hide quoted text -
>
> - Show quoted text -
Read: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/fd724f4099a29251
jstm4gwt is what you need. it will be released in the near furtue.
~j3t
On 15 Jun., 14:52, Reinier Zwitserloot <reini...@gmail.com> wrote:
> Server Push is -extremely- complex.
>
> Read:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
There are ways to *reduce* the number of "polls" tot he server but my
understanding is that it can get hairy pretty quick.
Search the form for things like "comet" and s"server push" as there
has been quite a lot of information posted.
- Brill Pappin