They're examples. Clue's in the question :-)
In real life you'd probably want to use an inner class e.g.
public class Example implements EntryPoint
{
@Override
public void onModuleLoad()
{
}
class X implements AsyncCallback<T>
{
}
}
Depending on circumstances, you might want it as a top level class (i.e. in
a file of its own)
Ian
http://examples.roughian.com
2009/8/22 jack <[email protected]>
>
> In every RPC example I've seen, AsyncCallback are all defined inline?
> Why is this so? What are the advantages?
>
> Thanks in advance
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---