Here a short tutorial on Google Cloud Endpoints (briefly presented in the previous post ( http://googlielmo.blogspot.it/2013/04/google-cloud-endpoints.html )). For this tutorial I am referring to Eclipse Indigo and the Google Eclipse Plugin with the App Engine SDK 1.7.6. A little knowledge of the Google Plugin and the Google App Engine is required to better understand this tutorial. Project creation Open Eclipse and then create a new Web Application Project through the Google Plugin button. Select a name and the default package for the project and uncheck the GWT usage: we don't need a front end. The project name chosen for this tutorial is endpointtutorial . Coding Suppose you have this simple entity: public class MyEntity { public String entityName; public String entityDescr; } and the business logic to access this kind of object: public class MyBusinessClass { public MyEntity getMyEntity() { MyEntity myEntity = new MyEntity(); myEntity.entityName = ...
Sharing thoughts and tips on Python, Java, Scala, Open Source, DevOps, Data Science, ML/DL/AI.