BackendService allows you to retrieve information about
backend servers. Backend servers are long running addressable
servers that can be used for applications that need to keep
persistent state in ram between requests.
This API allows you to retrieve information about the backend
handling the current request. It also allows you to to get the
address of a specific backend instance in such a way that a local
server is used during development and a production server is used
in production.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis content pertains to the Backends API, which provides access to long-running, addressable servers capable of maintaining persistent state between requests.\u003c/p\u003e\n"],["\u003cp\u003eThe API allows retrieving information about backend servers and obtaining the address of a specific backend instance for both development and production environments.\u003c/p\u003e\n"],["\u003cp\u003eThe API has been deprecated and replaced by \u003ccode\u003ecom.google.appengine.api.modules.ModulesService\u003c/code\u003e, urging users to update their code accordingly.\u003c/p\u003e\n"],["\u003cp\u003eKey classes related to the API include \u003ccode\u003eBackendServiceFactory\u003c/code\u003e and \u003ccode\u003eIBackendServiceFactoryProvider\u003c/code\u003e, with the latter being intended for internal use rather than end users.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackendService\u003c/code\u003e is the main interface for interacting with the API, enabling the retrieval of backend server information.\u003c/p\u003e\n"]]],[],null,["# Package com.google.appengine.api.backends (2.0.0)\n\nProvides access to long-running, addressable servers.\nSee Also: [com.google.appengine.api.backends.BackendService](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.backends.BackendService), [Backends (Java) in the *Google App Engine Developer's Guide*](http://cloud.google.com/appengine/docs/java/backends/).\n\nClasses\n-------\n\n### [BackendServiceFactory](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.backends.BackendServiceFactory)\n\nFactory for getting the Backends API implementation for the current\nenvironment.\n\n### [IBackendServiceFactoryProvider](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.backends.IBackendServiceFactoryProvider)\n\nFactory provider for [IBackendServiceFactory](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.backends.IBackendServiceFactory).\n\n**Note:** This class is not intended for end users.\n\nInterfaces\n----------\n\n### [BackendService](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.backends.BackendService)\n\n[BackendService](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.backends.BackendService) allows you to retrieve information about\nbackend servers. Backend servers are long running addressable\nservers that can be used for applications that need to keep\npersistent state in ram between requests.\n\n\nThis API is deprecated and has been replaced by\n[com.google.appengine.api.modules.ModulesService](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.modules.ModulesService). Please update your code as soon as\npossible. See the modules documentation for more information:\n\u003chttps://developers.google.com/appengine/docs/java/modules/converting\u003e\n\n\nThis API allows you to retrieve information about the backend\nhandling the current request. It also allows you to to get the\naddress of a specific backend instance in such a way that a local\nserver is used during development and a production server is used\nin production.\n\n### [IBackendServiceFactory](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.backends.IBackendServiceFactory)\n\nFactory for getting the Backends API implementation for the current\nenvironment."]]