简体   繁体   English

Google App Engine和Android?

[英]Google App Engine and Android?

I want to create to applications one written for Google App Engine (strictly Java) and the other an Android app. 我想为一个应用程序创建一个,该应用程序是为Google App Engine(严格地说是Java)编写的,另一个是Android应用程序。 I want the android app to connect to the GAE server. 我希望Android应用程序连接到GAE服务器。 Via what API will I get support for JAX-WS? 我将通过什么API获得对JAX-WS的支持?

Google App Engine from what I've seen promotes the usage of RESTful architectural style and thus is a JAX-RS reference implementation which is pretty straightforward (annotations on WebService methods, parameters etc.) 我所见过的Google App Engine促进了RESTful架构风格的使用,因此是一个JAX-RS参考实现,非常简单(有关WebService方法,参数等的注释)。

Plus, some of the packages you need in order to marshal-unmarshal request and responses are not included 另外,不包括用于编组请求和响应的某些软件包

If you so insist on using JAX-WS I would suggest you take a look at this blog entry. 如果您坚持使用JAX-WS,建议您看一下博客条目。

I would strongly advice you not to delve into a web service implementation with this approach, google app engine has already the endpoints API in order to deal with developers wanting just a backend to their apps. 我强烈建议您不要用这种方法来研究Web服务的实现,Google App Engine已经具有终结点API,以便与只需要后端应用程序的开发人员打交道。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM