How can I create a backend?
The GAE teaches how to configure, but there is no line showing how define the java class that will be called or what request will be done!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
From the docs:
Backends run all the same servlets that your front end does. It is up to you to call the appropriate URLs for whatever tasks you need performed.
For example, if you want your backend to calculate all the prime numbers from 1 to a million, you would create a servlet that uses your GeneratePrimeNumber class, and have that servlet configured to respond to requests to some url, like myapp.appspot.com/calculatePrimes. You would then need to call that URL to make your backend do the work. You could call it from a frontend instance, you could call it from a task in the task queue, or you could call it from a cron job.
See this recent question for more answers to basic back end issues.