Leveraging JPA with Amazon’s SimpleDB
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!
About Andrew Glover
Andrew is the founder of the easyb BDD framework and the co-author of Addison Wesley's "Continuous Integration", Manning's "Groovy in Action" and "Java Testing Patterns". He is an author for multiple online publications including IBM's developerWorks and Oreilly's ONJava and ONLamp portals. He actively blogs about software at thediscoblog.com.
More About Andrew »NFJS, the Magazine
December Issue Now AvailableBDD and REST
by Brian SlettenMocks and Stubs in Groovy Tests
by Kenneth KousenAlgorithms for Better Text Search Results
by John GriffinKnowns and Unknowns of Scrum and Agile
by Brian Tarbox