Mark Watson’s Artificial Intelligence Books and Blog

Share this post

My Objectify-Appengine setup

markwatson.com

My Objectify-Appengine setup

Mark Watson
Apr 20, 2010
Share

I wrote last week on using Objectify-Appengine to decrease the Google AppEngine request loading time. I did not mention my development setup so I'll do that now, hopefully saving you some time:

Start by building a JAR file from the latest source:

svn checkout http://objectify-appengine.googlecode.com/svn/trunk/ objectify-appengine-read-only
cd objectify-appengine-read-only
ant

You should now have a JAR file in target/objectify-508.jar (build number may be different for you). I use IntelliJ and after setting up a fresh AppEngine project, I copy in the generated Objectify JAR file and delete some of the generated JAR files so I have the following JAR files in web/WEB-INF/lib:

geronimo-jpa_3.0_spec-1.1.1.jar
appengine-api-labs-1.3.2.jar
objectify-508.jar

This is all you need. You can then follow the examples in the Objectify Wiki. You should re-think your data modeling, away from a relational database mindset. The AppEngine data store may seem limiting from a programming perspective but its scalability and performance advantages make the learning curve very worthwhile.

Share
Comments
Top
New

No posts

Ready for more?

© 2023 Mark Watson
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing