spring data couchbase: pojo centric data access for spring developers: couchbase connect 2014
DESCRIPTION
Spring Data Couchbase: POJO Centric Data Access for Spring Developers The Spring Data project provides easy access to non-relational databases, map-reduce frameworks, and cloud based data services. Spring Data Couchbase is part of this project and brings easy NoSQL persistence, query mechanism and caching for Spring Developers. After introducing the Spring Platform and its ecosystem, we will create a simple project example showcasing the main features of Spring Data Couchbase.TRANSCRIPT
Introducing
Spring Data CouchbaseLaurent Doguin
@ldoguin
Couchbase Developer Advocate, Couchbase
Josh Long (龙之春)
@starbuxman
Spring Developer Advocate, Pivotal
©2014 Couchbase, Inc.
Couchbase
2
Couchbase Developer Advocate
Laurent Doguin
@ldoguin [email protected] |
@starbuxman @starbuxman
Spring Developer Advocate
Josh Long (龙之春)
@starbuxman [email protected] |
Jean Claude
van Damme! Java mascot Duke some thing’s I’ve authored...
About Spring
Spring.io & Spring Boot
About Spring
WEB
Controllers, REST,WebSocket
INTEGRATION
Channels, Adapters,Filters, Transformers
BATCH
Jobs, Steps,Readers, Writers
BIG DATA
Ingestion, Export,Orchestration, Hadoop
DATA
NON-RELATIONALRELATIONAL
CORE
GROOVYFRAMEWORK SECURITY REACTOR
GRAILS
Full-stack, Web
XD
Stream, Taps, Jobs
BOOT
Bootable, Minimal, Ops-Ready
About Spring Data
Spring Data Couchbase
©2014 Couchbase, Inc.
You could use the XML configuration…
9
©2014 Couchbase, Inc.
but Java configuration is bootiful…
10
@Configuration
@EnableCouchbaseRepositories
public class Application extends AbstractCouchbaseConfiguration {
@Override
protected List<String> bootstrapHosts() {
return Arrays.asList( “127.0.0.1" );
}
@Override
protected String getBucketName() {
return "default";
}
@Override
protected String getBucketPassword() {
return "";
}
}
modeling entities
using views and repositories
building a service
what it looks like in Couchbase
validation
caching
Laurent Doguin
@ldoguin
Couchbase Developer Advocate, Couchbase
Josh Long (龙之春)
@starbuxman
Spring Developer Advocate, Pivotal
http://couchbase.com
http://spring.io/projects/spring-data-couchbase
http://github.com/joshlong/spring-data-couchbase-talk
Questions?