Modeling domain objects for almost any type of application is a breeze using a relational framework like Grails, but what about SimpleDB? This article published by IBM DeveloperWorks entitled “Cloud storage with Amazon’s SimpleDB, Part 2″ shows you how to use SimpleJPA, rather than the Amazon SDK, to persist objects in SimpleDB’s cloud storage.
SimpleJPA automatically converts primitive types to the string objects that SimpleDB recognizes; what’s more, SimpleJPA also handles SimpleDB’s no-join rules for you automatically, making it easier to model relationships. The bottom line: SimpleJPA can help you access significant, inexpensive scalability quickly and easily.
Don’t forget to check out the previous article in this short series on SimpleDB of this article, entitled “Cloud storage with Amazon’s SimpleDB, Part 1” — and while you are at it, check out my other articles related to NoSQL and the like!
