Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg Persistence Strategies

 
harish shankar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi all,
I am trying to look up some articles which can give some comparisons for the below objective.

Explain and contrast the following persistence strategies: container-managed persistence (CMP) BMP, JDO, JPA, ORM and using DAOs (Data Access Objects) and direct JDBC technology-based persistence under the following headings: ease of development, performance, scalability, extensibility, and security.

Please let me know if are any use full material for the above objective.
 
kumar naresh
Ranch Hand
Posts: 120
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this is a question in part 1 definately JPA would be the answer.

To know about the differences or about the importance of JPA http://en.wikipedia.org/wiki/Java_Persistence_API

JPA can even win on DAO pattern as well. In DAO a query has to be fired and an object as to be populated with the database data but in case persistent object of JPA it can be detached with persistent context and can be used as plain old java object.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic