I recommend apply Command Pattern. So you'll have only one servlet listen rpc request. So there you can perform some operations around any rpc request.
PD: Check gwt-dispatch <http://code.google.com/p/gwt-dispatch/> and gwt app architectures best practices<http://dl.google.com/io/2009/pres/Th_0200_GoogleWebToolkitArchitecture-BestPracticesForArchitectingYourGWTApp.pdf> page 20 2011/8/18 George Agiasoglou <[email protected]> > Hi there, > > I have to run an rpc call before any other rpc call. So far I have managed > to centralize Rpc to handle showing loading widgets. > > What is your suggestion? > > > Thanks, > George > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/l3BMvwEcIC0J. > 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. > -- 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.
