Using A Java Application As Client to App Engine?

23 views
Skip to first unread message

Eric Atkinson

unread,
Jul 16, 2011, 9:06:13 PM7/16/11
to google-a...@googlegroups.com
For various reasons, I don't want to use a browser as my client. Why? Because, for example, although the Chrome browser can render my rather complex GWT client just fine, IE can't render it even if you install the Chrome Frame Plug-In, so I simply don't trust browsers as clients (too many uncontrollable unknowns). Consequently, instead of using a browser as client, I want to use a Java Application as client installed from GAE using JNLP (and I've got this part working on GAE after a bit trial and error on my part).  My question is: If I use a Java Application as client then the GWT (not GAE) documentation seems to be saying that I'll need to use com.google.gwt.http.client.* to make my calls to the servleta using XML to pass data, and then converting the XML into JDO objects for the datastore. Does this sound right? I only ask because I don't want to do a lot of work trying this if GAE requires the client to be a browser (in which case I have to forgo using GAE because I hate browsers as clients).

Wilson MacGyver

unread,
Jul 16, 2011, 9:13:11 PM7/16/11
to google-a...@googlegroups.com
there are plenty of examples of people using GAE with non-browsers.
Using it as a web
service isn't uncommon. I know there are android apps and iOS apps that uses GAE
as the backend web services. So I don't think you are doing anything
unusual or uncommon.

JSON, XML is all fair game. Heck, python side google even added ProtoRPC.

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/tK37sl8zhngJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

--
Omnem crede diem tibi diluxisse supremum.

Jeff Schnitzer

unread,
Jul 17, 2011, 2:44:48 AM7/17/11
to google-a...@googlegroups.com
For Java<->Java, Hessian works well - no fuss, just Java methods and Java objects.

Jeff
Reply all
Reply to author
Forward
0 new messages