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?