Spring Data and MongoDB

  • 3,018 views
Uploaded on

 

More in: Technology , Design
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,018
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    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

  • 1. Spring Data & MongoDB Oliver Gierke
  • 2. Oliver GierkeSpringSourceSpring Data (JPA)ogierke@vmware.comwww.olivergierke.deolivergierke
  • 3. Spring Data
  • 4. Spring Data JDBC JPA
  • 5. Spring Data JDBC JPA
  • 6. Spring Data JDBC JPA
  • 7. Spring Data JDBC JPA
  • 8. Spring Data JDBC JPA
  • 9. Building blocks
  • 10. Spring
  • 11. Templates
  • 12. Mapping
  • 13. Repositories
  • 14. DEMO
  • 15. Wrap up
  • 16. Wrap up• MongoTemplate• Sophisticated mapping support• Repositories• Spring namespace
  • 17. Road ahead
  • 18. Road ahead• Log4J appenders• GridFS• Cross-store persistence• Geospatial support
  • 19. Questions?
  • 20. www.springframework.org/spring-datagithub.com/SpringSource/spring-data-document
  • 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