From: SampleClient.java /** * Create a remote service proxy to talk to the server-side Greeting service. */private final GreetingServiceAsync greetingService = GWT .create(GreetingService.class);
From: GreetingServiceAsync.java /** * The async counterpart of <code>GreetingService</code>. */ public interface GreetingServiceAsync { void greetServer(String input, AsyncCallback<String> callback) throws IllegalArgumentException; } When GreetingServiceAsync is an interface, from which we obtain an object. - Yet... What the hell is in that thing! Can I answer my own question? What the heck does GWT do? FROM: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/core/client/GWT.html com.google.gwt.core.client Class GWT java.lang.Object com.google.gwt.core.client.GWT public final class GWT extends java.lang.Object Supports core functionality that in some cases requires direct support from the compiler and runtime systems such as runtime type information and deferred binding. Ok, sounding pretty hardcore. Lets grok this deferred binding thing: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html Crazy, -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.