Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You're question is kind of general (no snark intended) so my answer is general too. Even though my answer is general, the information should get you pointed in the right direction. If your question becomes more specific, either edit your original question or ask another if it is specific enough. </p> <p>I would say the easiest way to do this would be to get Eclipse, and use the GAE Eclipse plugin (if you haven't already).</p> <p>Follow the instructions here to install, create, and run a project: </p> <p><a href="http://code.google.com/appengine/docs/java/tools/eclipse.html" rel="nofollow">http://code.google.com/appengine/docs/java/tools/eclipse.html</a></p> <p>Once you've done all of this, in your servlet, rewrite the doGet method to use any code you have to hit your datastore. Once you have the code you want to get your object from your datastore, I would serialize the resulting Object(s) to JSON using GSON. <a href="http://code.google.com/p/google-gson/" rel="nofollow">http://code.google.com/p/google-gson/</a></p> <p>Again, this isn't all of the information you're going to need. Feel free to edit your question or comment and ask for more specific information. Also, you mentioned you've been looking at other 3rd party libraries to do this as well. Be careful here. You have to keep in mind that if you're using google app engine, something that works locally might not work when you deploy it. This is kind of an inconvenience but its part of what allows Google to simplify app engine and offer as much hosting for free as it does. There is a list of 3rd party libraries which have been battle tested in the app engine environment for Java; but I wasn't able to find it with a cursory google search. I know its somewhere in the app engine docs though. And, for what its worth, I did a small smoke test of GSON in app engine and it seemed to work fine.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload