Bob Would you try new GwtRpcServerImpl() and call the method directly?
Maybe you can refactory your code and separating business logic as a new Object for testing. On 4月16日, 上午4時30分, Bob <[email protected]> wrote: > I have a bit of an unusual need. I have a server-side method which is > normally called from the client via GWT-RPC but I now want to call it > from server-side code. > > How do I do this? > > I could make a static version of the method and have the rpc- > accessible-method just wrap the static method...but alas, all the > methods that the static method would need must also be static. kudzu > being kudzu...this is a difficult (and messy) refactoring. > > I'm bouncing this question off the grand-masters in this group to see > if there is yet a cleaner and simpler solution to my query. > > Any help would be very much appreciated. > > Thank you!! -- 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.
