In my project, I have my own data proxy class that behaves pretty much
like what you describe.  It's a singleton that proxies all requests to
the actual RPC (generated) proxy.  It is the layer into which I make
all RPC calls.  It performs caching and notification for certain data
queries.  It supports a 'reference data set', which is expected to be
static for the duration of a client session, which is retrieved once
and cached.  It has the ability to register listeners on certain data
sets (including the refrence data), and will invoke their callbacks
whenever that set gets refreshed from the server.  Is this what you
had in mind?

BTW, Remember that after your code is compiled by the GWT compiler,
it's not Java, and so Java class loading is the wrong paradigm.

Walden

On Sep 29, 4:40 pm, rty <[EMAIL PROTECTED]> wrote:
> Hi
>
> I want to write one common class which does some startup things for my
> project.I want to make sure that class is loaded first and all the gwt
> rpc calls should go through that class first. How should I proceed for
> it.
>
> thanks
> rty
--~--~---------~--~----~------------~-------~--~----~
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