Server Side Implementation in GWT

102 views Asked by At

I am writing code in the server package in GWT. When I call a method in the server where the method implementation is the client package, my program works just fine. However, when I want to call a method that is in a different package all together, I get a "unable to get server response". Any ideas?

For instance, if I have a method in the server side, where foo() implementation is located in the client package in a seperate class, it works. If foo() is located in a different package however, it doesnt work.

Edit:What is the difference between RemoteServiceServlet and RemoteService? states that RPC should be defined in the client package. Is there any way to define it in any package outside or any package remotely created?

0

There are 0 answers