Monday, December 14, 2009

Tutorial: JPA on Google App Engine

clipped from www.pakzilla.com

Tutorial: JPA on Google App Engine

This project will create and delete an entity record. I have chosen JPA for datastore in app engine. You can also look JDO for this purpose. But my choice to go for JPA is due to Sun standardization on it.
UserPrefs.java: The entity class
EMFService.java: The class to create EntityManagerFactory instance.
LoginServlet.java
DonutsServlet.java
persistence.xml: Configuration file required for JPA
web.xml
run_gae_project




0 comments: