Looks like you are using client side code on the server. You need to make sure you have a clear understanding of how you are handling communications. It looks to me that you have JSNI is a server class. Remember, anything that has a nitave method cannot be loaded by the server unless that native method is JNI not JSNI. My preferred method of communication is to use Jersey(JAX-RS) for the server-side JSON generation and use the RequestBuilder/OverlayType method for the client side. This is not the only way to do this, this is just the method that I have chosen to use the most modular and open approach. If you are only going to be communicating back and forthe between your own application, why not use GWT's RPC. But if you are set on JSON, I would suggest not writing any client code first, just the server and use your browser to access the webservice and ensure that you are indeed getting the expected JSON, then once you have verified that you can use RequestBuilder to access the same URL and get the JSON as a string at which point you can process it into an overlay type and use it within GWT.
On Jul 7, 5:05 pm, Ahmed Shoeib <ahmedelsayed.sho...@gmail.com> wrote: > The Problem line > > java.lang.UnsatisfiedLinkError: > com.apphuset.eventbuddy.server.MembersServiceImpl.asArrayOfMember_JSON(Ljava/ > lang/String;)Lcom/google/gwt/core/client/JsArray; > at > com.apphuset.eventbuddy.server.MembersServiceImpl.asArrayOfMember_JSON(Native > Method) > at > com.apphuset.eventbuddy.server.MembersServiceImpl.doPost(MembersServiceImpl.java: > 43) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 511) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1166) > at > com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: > 51) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: > 43) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: > 122) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > 388) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: > 216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > 182) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > 765) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 418) > at > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: > 70) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) > at com.google.appengine.tools.development.JettyContainerService > $ApiProxyHandler.handle(JettyContainerService.java:349) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > 542) > at org.mortbay.jetty.HttpConnection > $RequestHandler.content(HttpConnection.java:938) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: > 409) > at org.mortbay.thread.QueuedThreadPool > $PoolThread.run(QueuedThreadPool.java:582) > > On Jul 7, 8:29 pm, Marcus Vinícius Bastos de Andrade > > <mynameisf...@gmail.com> wrote: > > Use JSON in GWT ? It looks like PHP programming! > > > On Wed, Jul 7, 2010 at 1:41 PM, Ahmed Shoeib > > <ahmedelsayed.sho...@gmail.com>wrote: > > > > i need to convert JSON to/From Java Object > > > > how to do it ? > > > i don't know how to use this way > > > > On Jul 6, 10:35 pm, eggsy84 <jimbob...@hotmail.com> wrote: > > > > Hi all, > > > > > With the latest versions of GWT you don't have to use any other > > > > libraries. > > > > > GWT now comes with something known as Javascript Overlays that you can > > > > utilise to convert JSON into Objects. > > > > > See here: > > > > >http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOver... > > > > > Also I have made a bit of a discussion on my blog here: > > > > >http://eggsylife.co.uk/2010/04/22/gwt-2-jsonp-and-javascript-overlays... > > > > > Hope this helps, > > > > > Eggsy > > > > > On Jul 6, 1:38 pm, Harald Pehl <harald.p...@googlemail.com> wrote: > > > > > > You cannot use gson in GWT. Seehttp:// > > > groups.google.com/group/google-gson/browse_thread/thread/6c3d6... > > > > > for more infos. > > > > > > If you need a JSON parser for GWT take a look at Piriti (http:// > > > > > code.google.com/p/piriti/). > > > > > > - Harald > > > > > > On 6 Jul., 12:30, Ahmed Shoeib <ahmedelsayed.sho...@gmail.com> wrote: > > > > > > > Welcome , > > > > > > > i add gson lib version 1.4 > > > > > > > and i face a problem when trying to inherit it in the gwt.xml file > > > > > > > how i can fix this problem ??? > > > > > > > thanks , > > > > > > ahmed shoeib > > > > -- > > > 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-tool...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > Marcus Vinícius Bastos de Andradehttp://twitter.com/mynameisflaw > > +55 31 9823-3606 -- 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-tool...@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.