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 5938805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:44:16+00:00 2026-05-22T15:44:16+00:00

I plan to implement a GAE app only for my own usage. The application

  • 0

I plan to implement a GAE app only for my own usage.

The application will get its data using URL Fetch service, updating it every x minutes (using Scheduled tasks). Then it will serve that information to me when I request it.

I have barely started to look into GAE, but I have a main question that I am not able to clear. Can state be maintained in GAE between different requests without using jdo/jpa and the datastore?

As I am the only user, I guess I could keep the info in a servlet subclass and so I can avoid having to deal with Datastore…but my concern is that, as this app will have very few request, if it is moved to disk or whatever (don’t know yet if it has some specific name), it will loose its status?

I am not concerned about having to restart the whole app and start collecting data from scratch from time to time, that is ok.

  • 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-22T15:44:16+00:00Added an answer on May 22, 2026 at 3:44 pm

    You could use the http session to maintain state between requests, but that will use the datastore itself (although you won’t have to write any code to get this behaviour).

    You might also consider using the Cache API (like memcache). It’s JSR 107 I think, which Google provide an implementation of. The Cache is shared between instances, but it can empty at anytime. But if you’re happy with that behaviour this may be an option. Looking at your requirements this may be the most feasible option, if you don’t want to write your own persistence code.

    You could store data as a static against your Class or in an application scoped Object, but doing that means when your instance spins down or your instance switches to another instance, the data would be lost as your classes would need to be loaded into the new instance.

    Or you could serialize the state to the client and send it back in with each request.

    The most robust option is persistence to the datastore – the JPA code is trivial. Perhaps you should reconsider?

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

Sidebar

Related Questions

I plan to be storing all my config settings in my application's app.config section
Hi i've plan to implement a feature like session in window application but not
We plan to redesign, improve our (C#) application architecture. Anyone has some framework, hompage
I plan to have 2 projects. 1. mbtech.crm.mvc 2. mbtech.crm.tests I will have a
Overall Plan Get my class information to automatically optimize and select my uni class
Although I am using drupal since the D4 series, I only started developing professionally
Do you have some information regarding browsers that implement/plan to implement this part of
All, I have a PHP Web application built using Zend Framework and MVC with
I plan to serialize a Django model to XML when it's saved or updated.
I plan to use PyInstaller to create a stand-alone python executable. PythonInstaller comes with

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.