Another, more recommended method is to isolate the business process
away from the GWT RPC. So you have a stand alone "middle-tier" that
you communicate with via GWT-RPC and Swing Clients and whatever else
you want to do. Don't try to reuse GWT-RPC....go around it. It's a
better design...
On May 28, 9:40 am, Sripathi Krishnan <
sripathi.krish...@gmail.com>
wrote:
> Having said that, I wouldn't build a production app that relies on the
> library.
>
> If you really want to develop your services for multiple clients, I'd
> recommend staying away from GWT RPC. JSON is well suited for the browser,
> while XML is better suited for a Swing application. If you build your
> services to support both with the same codebase, you can reuse your services
> from a wide range of clients (Mobile apps / Swing / GWT etc)
>
> --Sri
>
> On 28 May 2010 21:07, Sripathi Krishnan <
sripathi.krish...@gmail.com> wrote:
>
>
>
> > Seehttp://
www.gdevelop.com/w/blog/2010/01/10/testing-gwt-rpc-services/.
> > That's the best solution that's out there at the moment.
>
> > --Sri
>
> > On 28 May 2010 20:36, ussuri <
michael.glas...@gmail.com> wrote:
>
> >> Hello! I know that the question has been asked several times, but the
> >> last discussion I was able to find dates back to 2009, so I'll ask the
> >> question again:
>
> >> Can I _easily_ call GWT-RPC server side from a pure java client
> >> application? If not, is the ability on the roadmap? What are the best
> >> alternatives?
>
> >> Basically, what I need to do:
>
> >> 1. a GWT-based client
> >> 2. a GAE-based server (java flavor)
> >> 3. a Java desktop client (Swing)
>
> >> As everything is developed in Java, we are going to re-use a lot of
> >> code; ideally we would prefer to have only the GUI part to be
> >> different b/w our GWT and our Swing clients. However, we can't find a
> >> way to call into GAE from GWT and stand-alone java other than low-
> >> level HTML calls.
>
> >> Thanks,
> >> MG
>
> >> --
> >> 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-we...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >>
google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubs
cr...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>
http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text -
>
> - Show quoted text -