http://www.menofactionscript.com/index.php/2011/03/14/google-appengine-getting-started-4 1341932780 item_IDs_on_this_page:34 Content-type: text/html; charset=iso-8859-1 Google App Engine Getting Started #4
« Setting up new laptop for Flex DevelopmentGoogle App Engine Getting Started #3 »

Google App Engine Getting Started #4

Permalink 03/14/11 22:48, by alevicki, Categories: Google App Engine , Tags: appengine, eclipse, google, jsp, web.xml

The next topic in the getting started with Google App Engine was working with storing data.  There are two options to persistence in the Google App Engine world, JDO and JPA.  JPA is probably familiar to anyone who is doing enterprise development in Java.  I had personally never heard of JDO before.  The example for this getting started guide uses the JDO option for persistence.

By default, a new Google App Engine sets up everything that you'll need for persisting objects so all you haev to do is create your objects and add the appropriate annotations to them.  I followed the steps from the guide except I named my PersistenceManagerFactory "PersistenceManagerFactory" since PMF tells nothing to someone trying to read your code.  This conflicts with the built in class, but since that class should only be referenced by your own PersistenceManagerFactory I didn't view this as much of a negative.

This part of the guide can be found here:

http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html

The results are located here:

http://alevicki.appspot.com/guestbook.jsp

 

 

No feedback yet

July 2012
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Search

XML Feeds

multi-blog