I'm having the problem of splitting up a large RPC service into smaller chunks. I found the basics here GWT RPC - Multiple RPC Services Per App , but I'm struggling with the implementation. I can't find any good guide, anywhere. I'm confused with the following part. (The goal is to split up one large RPC into two smaller ones)
I create a servlet class in the module xml file
in web.xml i create a servlet and one servlet-mapping with 2 servlet-urls. The first servlet is the 'main servlet' and is the same as in the module xml file. The second is an authentification servlet.
I have a sync and async interface for both servlets and an server side implementation for both servlets.
I create the servlets in the code with GWT.create(). I can call methods in the 'main servlet' without problems. But I can't call methods in the authentification servlet. When I try this I get the following error:
[ERROR] [project] - Unable to load module entry point class com.projects.client.Project (see associated exception for details)
com.google.gwt.user.client.rpc.ServiceDefTarget$NoServiceEntryPointSpecifiedException: Service implementation URL not specified
at com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.doPrepareRequestBuilderImpl(RemoteServiceProxy.java:430)
at com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.doInvoke(RemoteServiceProxy.java:368)
at com.google.gwt.user.client.rpc.impl.RemoteServiceProxy$ServiceHelper.finish(RemoteServiceProxy.java:74)
at com.projects.client.AuthService_Proxy.signIn(AuthService_Proxy.java:44)
at com.projects.client.Authentication.signIn(Authentication.java:38)
at com.projects.client.Project.onModuleLoad(Project.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
15:48:13.877 [ERROR] [project] Failed to load module 'project' from user agent 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11' at 127.0.0.1:2588**