13. 準備
• Google App Engine Java SDK (1.7.5 or newer)
• Java 7
• Apache Maven
•
You need to be familiar with development using Google
App Engine and the Java runtime.
14. 手順
•
Create your backend API project (using Maven to do this is the
easiest method), then write your API backend code.
•
Annotate your API backend code, so classes and client libraries
can be generated from it. (Alternatively, use the Google Plugin for
Eclipse, which can annotate for you.)
•
Generate the client library using Maven, or alternatively, the
endpoints.sh command line tool. (Another alternative is to use
the Google Plugin for Eclipse to generate the client library.)
•
Write your client app, using the client library when making calls
to the API backend.
38. テストサーバーの起動
$ mvn appengine:devserver
!
…
!
[INFO] INFO: Started SelectChannelConnector@127.0.0.1:8080
[INFO] Feb 14, 2014 9:15:02 PM
com.google.appengine.tools.development.JettyContainerService startHotDeployScanner
[INFO] INFO: Full scan of the web app in place every 5s.
[INFO] Feb 14, 2014 9:15:02 PM com.google.appengine.tools.development.AbstractModule
startup
[INFO] INFO: Module instance default is running at http://localhost:8080/
[INFO] Feb 14, 2014 9:15:02 PM com.google.appengine.tools.development.AbstractModule
startup
[INFO] INFO: The admin console is running at http://localhost:8080/_ah/admin
[INFO] Feb 14, 2014 9:15:02 PM com.google.appengine.tools.development.DevAppServerImpl
doStart
[INFO] INFO: Dev App Server is now running