• Save
Spring Data and MongoDB
Upcoming SlideShare
Loading in...5
×
 

Spring Data and MongoDB

on

  • 2,718 views

 

Statistics

Views

Total Views
2,718
Views on SlideShare
2,717
Embed Views
1

Actions

Likes
3
Downloads
0
Comments
0

1 Embed 1

http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \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

Spring Data and MongoDB Spring Data and MongoDB Presentation Transcript

  • 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 - 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