so do I need to implement all this in the layer to which we make RPC
calls(singleton).?or do u think there is some better way of doing this?

On Wed, Oct 1, 2008 at 12:23 PM, walden <[EMAIL PROTECTED]> wrote:

>
> What is it about that that you think you can't implement in GWT?
>
> On Oct 1, 11:54 am, "sumanth s" <[EMAIL PROTECTED]> wrote:
> > Hi walden
> >
> > One more question
> >
> > we currently Create your own RequestProcessor  to execute some business
> > logic at a particular point during the request-processing phase. For
> > example, we extend RequestProcessor  to check that the user is logged in
> and
> > he has one of the roles to execute a particular action before executing
> > every request. How can achieve this in GWT?
> >
> > Thanks in advance
> > rty
> >
> > On Tue, Sep 30, 2008 at 10:08 AM, walden <[EMAIL PROTECTED]
> >wrote:
>  >
> >
> >
> >
> >
> > > rty,
> >
> > > google 'singleton pattern'.  if it's not that, then i don't understand
> > > what you are missing.
> >
> > > walden
> >
> > > On Sep 30, 10:06 am, "sumanth s" <[EMAIL PROTECTED]> wrote:
> > > > Hi walden
> >
> > > > thanks for ur reply. Your are saying  It is the layer into which you
> make
> > > > all RPC calls.so what you are saying is every RPC call from client
> class
> > > > will go first to this so called proxy class before calling
> implementation
> > > > class..is it right? How did u do that?How can u call a common class
> from
> > > all
> > > > the client classes? This is what I need to do in my project.I need to
> > > call
> > > > one common class which inturn should call the specific implementation
> > > > classes.
> >
> > > > Thanks in advance
> > > > rty
> >
> > > > On Tue, Sep 30, 2008 at 7:38 AM, walden <[EMAIL PROTECTED]
> >
> > > wrote:
> >
> > > > > 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- Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
>  >
> > - Show quoted text -
> >
>

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