Hi

I'm trying to do what's stated in the subject.  I thought I could use
javaongems to do that with the following code :

-----------------------------
import org.javaongems.core.jclient.Gwt;
import com.google.gwt.user.client.rpc.ServiceDefTarget;

public class JavaRpcClient {
                static public void main(String[] args) throws Exception {
                Object myService = Gwt.create(my.package.MyService.class);
                ((ServiceDefTarget) rpc).setServiceEntryPoint("http://
service-url.com");

                [...]

        }
}
-----------------------------

However when I try and run this code, I get :

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/
gwt/user/server/rpc/impl/ServerSerializableTypeOracle
        at org.javaongems.core.jclient.Gwt.create(Gwt.java:29)
        at
org.bioversityinternational.webmgis.server.rpcclient.JavaRpcClient.main
(JavaRpcClient.java:14)

My guess is, ServerSerializableTypeOracle is an old class which is not
any more distributed with GWT (the javaongems jar I found is almost
2.5 years old).  Well all this makes sense, but now my question is, is
there an alternative?

Thanks in advance,

Guilhem
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to