News

Couchbase Server Integrated with Spring Framework Targets Java Developers

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.

Couchbase has been integrating its Couchbase Server into the growing ecosystem of Spring-based products from Pivotal. Couchbase Server is a NoSQL document database that uses the JavaScript Object Notation (JSON) lightweight data-interchange format. Pivotal is the commercial entity behind the popular open-source, Java-based Spring Framework. Spring Data Couchbase is part of the umbrella Spring Data project at Pivotal.

"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.

About the Author

John K. Waters is the editor in chief of a number of Converge360.com sites, with a focus on high-end development, AI and future tech. He's been writing about cutting-edge technologies and culture of Silicon Valley for more than two decades, and he's written more than a dozen books. He also co-scripted the documentary film Silicon Valley: A 100 Year Renaissance, which aired on PBS.  He can be reached at [email protected].