You can't communicate from the client side to the server side using
direct Java calls (or observer/observable pattern). You have to
communicate with the server using GWT-RPC, JSONP or regular a
RequestBuilder.

--
Arthur Kalmenson



On Fri, Feb 20, 2009 at 5:37 AM, frankCostello <[email protected]> wrote:
>
> Hi,
> I make a chat with gwt but I have a problem.
> I implements a Observer pattern of java.util for comunicate with the
> user, but when I deploy my app , give me an error!
>
> The class tha that implements Observer is:
> client-side.....
>
> public class ChatGui  extends Panel implements Observer{
> .....
>
>  public void update(Observable o, Object arg) {
>
>        ...
>
>    }
> }
>
> ----
> server-side
> public class Server extends Observable{
> .....
> }
>
> I must to import any library on my  gwt.xml?
>
> thanks
> >
>

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