The only docs I can find say say "click 'generate endpoint class' and then something magic happens".
我能找到的唯一文档说“点击'生成端点类'然后发生了一些神奇的事情”。
I'm looking for a bit more detail.
我正在寻找更多细节。
Specifically what I am trying to achieve is to generate Endpoint classes that use Objectify in place of JDO for persistence.
具体来说,我想要实现的是生成使用Objectify代替JDO进行持久化的Endpoint类。
For clarity, I am not interested in generating client classes since I will be accessing the endpoints from Erlang.
为清楚起见,我对生成客户端类不感兴趣,因为我将从Erlang访问端点。
1 个解决方案
#1
0
All the features that you describe are things you need to do in your own server-side logic. Those are not generated for you. After that, you need to annotate your APIs (entry points).
您描述的所有功能都是您需要在自己的服务器端逻辑中执行的操作。那些不是为你生成的。之后,您需要注释您的API(入口点)。
Then you can use the endpoint tools to generate the endpoint classes on the client side.
然后,您可以使用端点工具在客户端生成端点类。
https://developers.google.com/appengine/docs/java/endpoints/annotations
https://developers.google.com/appengine/docs/java/endpoints/annotations
#1
0
All the features that you describe are things you need to do in your own server-side logic. Those are not generated for you. After that, you need to annotate your APIs (entry points).
您描述的所有功能都是您需要在自己的服务器端逻辑中执行的操作。那些不是为你生成的。之后,您需要注释您的API(入口点)。
Then you can use the endpoint tools to generate the endpoint classes on the client side.
然后,您可以使用端点工具在客户端生成端点类。
https://developers.google.com/appengine/docs/java/endpoints/annotations
https://developers.google.com/appengine/docs/java/endpoints/annotations