ORMs review

2,760 views

Published on

Brief review of current Java ORM solutions

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,760
On SlideShare
0
From Embeds
0
Number of Embeds
902
Actions
Shares
0
Downloads
34
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ORMs review

  1. 1. Java ORMs <ul><li>Vitalii Tymchyshyn (tivv00@gmail.com) </li></ul>JPA JDO MyBatis Small ORMs
  2. 2. JPA <ul><li>J2EE standard
  3. 3. Own query languages
  4. 4. Attached beans
  5. 5. The most popular thing </li></ul>
  6. 6. JPA implementations <ul><li>Hibernate – the thing standard evolved from
  7. 7. TopLink – Oracle's implementation
  8. 8. Cayenne – Mature Apache JPA implementation
  9. 9. OpenJPA – The same :)
  10. 10. EclipseLink – JPA 2.0 RI, Stored Procedures mappings, bytecode enhancements
  11. 11. DataNucleus Access Platform – JPA & JDO </li></ul>
  12. 12. JDO vs JPA <ul><li>JDO has single implementation of the latest standard
  13. 13. JDO is not so tied to RDBMS ( db4o, NeoDatis, LDAP, Excel XLS, Excel OOXML, ODF, XML, JSON, Google BigTable, HBase, Amazon S3, MongoDB, GoogleStorage, Cassandra, OrientDB, Salesforce.com )
  14. 14. JDO uses bytecode enhancement, JPA uses proxies
  15. 15. JDO claims to support more features then JPA
  16. 16. JPA is much more popular </li></ul>
  17. 17. JDO implementations <ul><li>DataNucleus Access Platform
  18. 18. Castor
  19. 19. GAE
  20. 20. JPOX </li></ul>
  21. 21. MyBatis <ul><li>Was iBatis
  22. 22. Main idea: write a query for each DAO call and define POJO mappings
  23. 23. No JPA ”magic” you often look workarounds for
  24. 24. No JPA ”magic” to perform simple things instead of you yourself. </li></ul>
  25. 25. Small ORMs <ul><li>Julp – ultra light, similar to basic MyBatis
  26. 26. jOOQ – creates objects from DB schema and provides OO API to db
  27. 27. ActiveObjects, OrmLite, Avaje Ebean – simplistic JPA-like </li></ul>

×