The class file (or files, if you implement your API across multiple classes) containing your backend API.
/src/main/webapp/WEB-INF/appengine-web.xml
The web app deployment descriptor required for App Engine configuration.
/src/main/webapp/WEB-INF/web.xml
The standard Java web app deployment descriptor mapping URLs to servlets and other information.
The contents of each of these required files is documented in the following
sections.
The API class file
The required and optional contents of the class file (or files, if you use a
multi-class API) are fully described
in the topic Endpoint Annotations.
appengine-web.xml
The appengine-web.xml file is used to define the App Engine standard
environment configuration when the API is deployed.
See appengine-web.xml Reference
for more information.
The bare minimum contents required for this file are as follows:
You use the web.xml file to configure the Endpoints servlet, which handles
incoming requests and forwards them to the backend service running on
App Engine. The Endpoints servlet is required for your API to be
managed by Cloud Endpoints.
The bare minimum contents required for this file are as follows:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-11 UTC."],[[["This guide outlines the essential files needed to use Cloud Endpoints Frameworks for App Engine, including the API class file, `appengine-web.xml`, and `web.xml`."],["The API class file, located at `/src/main/java/\u003cpackagepath\u003e/\u003cyour_api_class\u003e.java`, houses your backend API code, potentially spread across multiple classes."],["`appengine-web.xml`, found in `/src/main/webapp/WEB-INF/`, is crucial for defining App Engine's standard environment configurations, with minimum required contents being the runtime, threadsafe, and system properties tags."],["`web.xml`, also in `/src/main/webapp/WEB-INF/`, configures the Endpoints servlet to handle incoming API requests and forward them to the App Engine backend, and it is a requirement to manage your API through Cloud Endpoints."],["The URL pattern in the `web.xml` file defines the URL base path for your API, and it must end with a wildcard, as demonstrated by `/_ah/api/*`."]]],[]]