Spring Data &  MongoDB     Oliver Gierke
Oliver GierkeSpringSourceSpring Data (JPA)ogierke@vmware.comwww.olivergierke.deolivergierke
Spring Data
Spring Data  JDBC   JPA
Spring Data  JDBC   JPA
Spring Data  JDBC   JPA
Spring Data  JDBC   JPA
Spring Data  JDBC   JPA
Building blocks
Spring
Templates
Mapping
Repositories
DEMO
Wrap up
Wrap up• MongoTemplate• Sophisticated mapping support• Repositories• Spring namespace
Road ahead
Road ahead• Log4J appenders• GridFS• Cross-store persistence• Geospatial support
Questions?
www.springframework.org/spring-datagithub.com/SpringSource/spring-data-document
Sources•   Building blocks - http://www.sxc.hu/photo/297189•   Mapping - http://www.sxc.hu/photo/1253374•   Questions - ht...
Upcoming SlideShare
Loading in...5
×

Spring Data and MongoDB

3,129

Published on

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

No Downloads
Views
Total Views
3,129
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • Umbrella projects for Data Access 2.0\n
  • Variety of stores supported (or planned)\n
  • Key/Value stores\n
  • Document stores\n
  • Other ones (graph)\n
  • Starring today… MongoDB\n
  • \n
  • - Spring already provides support for JDBC, JPA, Hibernate etc.\n- add functionality on top of that\n- leverage well known Spring concepts\n - DI, AOP, Spring namespaces, JMX\n
  • Template pattern\n- Resource management\n- Exception translation\n- simple Query API\n
  • POJO based mapping\nAnnotation based mapping (Morphia and beyond)\n- Persistence constructor\n- (deeply nested) Generics\n- DBRef -> embeds by default\n- Document -> specify collections\n
  • Eliminate boilerplate code\n\n- interface-only approach\n- finder methods\n- annotations for query tweaking\n- QueryDsl integration for type safe queries\n
  • \n
  • \n
  • JMX support\n
  • \n
  • \n
  • \n
  • Upcoming talks:\n- BEDCON -> Spring Data\n- JUG BB -> Spring Data JPA\n
  • \n
  • Transcript of "Spring Data and MongoDB"

    1. 1. Spring Data & MongoDB Oliver Gierke
    2. 2. Oliver GierkeSpringSourceSpring Data (JPA)ogierke@vmware.comwww.olivergierke.deolivergierke
    3. 3. Spring Data
    4. 4. Spring Data JDBC JPA
    5. 5. Spring Data JDBC JPA
    6. 6. Spring Data JDBC JPA
    7. 7. Spring Data JDBC JPA
    8. 8. Spring Data JDBC JPA
    9. 9. Building blocks
    10. 10. Spring
    11. 11. Templates
    12. 12. Mapping
    13. 13. Repositories
    14. 14. DEMO
    15. 15. Wrap up
    16. 16. Wrap up• MongoTemplate• Sophisticated mapping support• Repositories• Spring namespace
    17. 17. Road ahead
    18. 18. Road ahead• Log4J appenders• GridFS• Cross-store persistence• Geospatial support
    19. 19. Questions?
    20. 20. www.springframework.org/spring-datagithub.com/SpringSource/spring-data-document
    21. 21. Sources• Building blocks - http://www.sxc.hu/photo/297189• Mapping - http://www.sxc.hu/photo/1253374• Questions - http://www.sxc.hu/photo/860327• Repository - http://www.sxc.hu/photo/1042408• Road ahead - http://www.sxc.hu/photo/1293269• Spring - http://www.sxc.hu/photo/1291358• Umbrella - http://www.sxc.hu/photo/834905• Template - http://www.sxc.hu/photo/619819• Wrap up - http://www.sxc.hu/photo/922227

    ×