Here's how you'd do it using Guice on the server:

public MyServlet {

  @Inject
  OtherServlet otherServlet;

  public void someMethod(){
    otherServlet.doSomething();
    ...
  }

}

On May 23, 6:18 am, wilberforce <[email protected]> wrote:
> If I want to organize my server code into multiple classes how do I
> call a method form one RemoteServiceServlet from the method of another?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" 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 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en.

Reply via email to