Couchbase Server Integrated with Spring Framework Targets Java Developers
- By John K. Waters
Couchbase this week announced the integration of its Couchbase Server NoSQL document database with the Spring Framework. The resulting Spring Data Couchbase provides Java developers with "a familiar and consistent programming model" for building JVM-based systems and applications that run on the company's database, the company said.
"Spring provides the world's largest community of Java developers with a comprehensive and open programming model to build better enterprise applications," said Randy MacBlane, Pivotal's vice president of engineering, in a statement. "As Couchbase has rapidly gained in popularity, we have seen growing demand from both Couchbase and Spring Open Source communities to bring distributed data management from Couchbase to Spring Framework apps…."
Both Couchbase and Pivotal have published lists of capabilities and features provided by the Spring Data Couchbase integration, which include:
- Spring configuration support using Java based @Configuration classes or an XML namespace for the Couchbase driver.
- CouchbaseTemplate helper class for performing common Couchbase operations. (Includes integrated object mapping between documents and POJOs.)
- Exception translation into Spring's portable Data Access Exception hierarchy.
- Annotation-based mapping metadata that is extensible to support other metadata formats.
- Automatic implementation of Repository interfaces, including support for custom finder methods (backed by Couchbase Views).
- JMX administration and monitoring.
Mountain View, Calif.-based Couchbase made several announcements this summer around the upcoming 2.0 release of its Java/JVM software development kit (JDK), codenamed "Armstrong." Now in beta, the Couchbase JDK includes both the JMV core package (core-io) 1.0.0-beta and the Java SDK 2.0.0-beta.
Spring is a layered Java/J2EE framework based on code published in Rod Johnson's book Expert One-on-One Java EE Design and Development (Wrox Press, October 2002). Johnson also wrote the first version of the framework and co-founded SpringSource, the company that supported it commercially.
Pivotal has provided a code snippet for getting started using Spring Data Couchbase.
John has been covering the high-tech beat from Silicon Valley and the San Francisco Bay Area for nearly two decades. He serves as Editor-at-Large for Application Development Trends (www.ADTMag.com) and contributes regularly to Redmond Magazine, The Technology Horizons in Education Journal, and Campus Technology. He is the author of more than a dozen books, including The Everything Guide to Social Media; The Everything Computer Book; Blobitecture: Waveform Architecture and Digital Design; John Chambers and the Cisco Way; and Diablo: The Official Strategy Guide.