Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6738623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:23:26+00:00 2026-05-26T11:23:26+00:00

I’ve never used Google App Engine backends and I’m very confused by lack of

  • 0

I’ve never used Google App Engine backends and I’m very confused by lack of samples and detailed documentation.

Let’s say I have a voting app. I want to collect votes in regular stateless GAE servlet and then pass the data to backend instance that is resident and it processes my data. How can I pass data from regular servlet to backend servlet ? How do I assign what servlet class is normal servlet and what servlet should be handled only in backend instance? I don’t see how I can assign servlet to backend in config xml.

Or what if I have two backends – class B1 and class B2. How can I choose in code of stateless servlet what backends are active right now? I heard that I should use URL Fetch to talk to backends but how ? I didn’t find how I can iterate through backend instances.

Please advise 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:23:27+00:00Added an answer on May 26, 2026 at 11:23 am

    You should start by reading the documentation on backends

    How can I pass data from regular servlet to backend servlet ?

    You have a few options – pass it indirectly by sticking data in memcache or the datastore. Or pass it directly by using URLFetch to make requests to your backends (see addressing info below)

    How do I assign what servlet class is normal servlet and what servlet should be handled only in backend instance?

    The doc on Backend Configuration explains that you can’t do that (yet), though you can mark them as admin only so they are not available to the public:

    Backends share the set of servlets defined in web.xml with your main application version. It is not possible at the moment to configure a separate set of servlets for each backend.

    The “Addressing Backends” section includes info on how to connect to a specific backend:

    A backend instance can be targeted with HTTP requests to http://[instance].[backend].[app].appspot.com, or at your application’s custom domain. If you target a backend without targeting an instance using http://[backend].[app].appspot.com, App Engine selects the first available instance of the backend.

    When you configure your backends , you give them names, which go into the [backend] slot in the url scheme described above. If you wanted to send a http request to the first available B1 instance, you would use something like http://B1.ruslansapp.appspot.com/dosomething/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I used javascript for loading a picture on my website depending on which small
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.