Costin Leau

Alumni
Recent Blog posts by Costin Leau

Spring Data Redis 1.0.0.M4 Released

Releases | July 18, 2011 | ...

Dear Spring Community,

I am pleased to announce the forth milestone release of the Spring Data Redis 1.0 project is now available!

Downloads | JavaDocs | Reference Documentation | Changelog

This release introduces several new features such as:

  • Spring 3.1 cache implementation for Redis
  • Simplified pub-sub namespace

Additionally, with this release the Spring Data Key Value project has been split into Spring Data Redis and Spring Data Riak.

For more information on Redis and Spring Redis, attend the upcoming webinar presented by Salvatore Sanfilippo (Redis author) and Costin Leau (Spring Redis lead).

We look forward to your feedback on the forum or in the issue tracker

Getting Started with Redis, Spring Data & Cloud Foundry

Engineering | April 27, 2011 | ...

One of the drivers behind the popularity of NoSQL solutions is performance (especially) under heavy loads. Due to their data model, key value stores lead the pack, providing lightweight yet flexible means of working with data. In this entry, I am going to quickly showcase what it takes to work with a key value store (Redis) using Spring (Spring Redis) through one of Spring Data samples (RetwisJ) and deploy the app into the cloud (through Cloud Foundry) to share it with the world. I am going even further by using Windows, as a deployment platform for a change.

Redis

A popular choice among key-value stores is Redis, an open source, crazy fast database written in ANSI C weighting around 200 KB (yes, kilo-bytes) for the server or 400 KB for the entire package (includes a command-line client and some administration utilities) and available virtually on all major platforms which also makes it the choice for the sample. Note that a Redis instance is not needed unless one wants to run the sample locally. If so, for Windows users (such as the author) yours truly uses (and recommends) this pre-packed version available in both 32-bit and 64-bit flavours.

Spring and NoSQL

If you are using NoSQL from a Java environment, take a look at Spring Data: it's not a project by itself but rather an umbrella of projects embracing the various new data access technologies such as non-relational databases (like Redis or MongoDB), map-reduce frameworks (think Hadoop) and cloud-base data services for Java apps. Spring Data promotes the classic Spring values, enhancing developer productivity by removing the API noise, boiler-plate code and resource management and offering a consistent programming model. It builds on top of existing Spring features and projects (such as inversion of control, life-cycle management, type conversion, portable data access exceptions, caching and so on) so one can add it right away, with minimal effort in her application. And of course, just like the rest of the Spring projects, it is open source and available under Apache license.

Spring Data Redis

In the case of Redis, Spring Data offers dedicated support through the Spring Data Redis or simply Spring Redis project. It offers both low-level and high-level features ranging from portable Redis client abstractions (allowing different Redis clients such as Jedis, JRedis or RJC to be changed with literally one configuration line) to Redis-backed atomic collections or counters or pub-sub support. The project reference documentation covers these topics in great detail.

RetwisJ, YATC - Yet Another Twitter Clone

RetwisJ source code, including the code in this blog, can be downloaded at Spring Data Key Value sample project. Further more, documentation is available at here

RetwisJ can be seen as the Java port of Redis' Retwis sample: a simple Twitter-clone that demonstrates how one can replace expensive joins in a traditional, relational database with Redis flexible data model (such as set intersections

Spring GemFire 1.0.1 Released for Java and .NET

Releases | April 26, 2011 | ...

Dear Spring Community,

I am pleased to announce that 1.0.1 GA release of the Spring GemFire project is now available for both Java and .NET! The Spring GemFire project aims to make it easier to build Spring-powered highly scalable applications using GemFire as distributed data management platform.

Download it now: Spring GemFire for Java | Spring GemFire for .NET

Java: JavaDocs | Reference Documentation | Changelog .NET :  ApiDocs  | Reference Documentation | Changelog

The Spring GemFire project aims to make it easier to build Spring-powered highly scalable applications using GemFire as…

Spring Data Key Value (Redis + Riak) 1.0.0.M3 Released

Releases | April 06, 2011 | ...

Dear Spring Community,

I am pleased to announce the third milestone release of the Spring Data Key Value 1.0 project, with support for Redis and Riak, is now available!

Downloads | JavaDocs | Reference Documentation | Changelog

This release introduces several new features for Redis, such as:

  • Support for a new Redis client, RJC bringing the number of Redis connectors to three
  • New object-hash (and vice-versa) mapping
  • Improved exception hierarchy
  • Dedicated support for SORT, SORT/GET pattern and returned bulk values

Additionally, a new sample is now available that showcases the various Spring Data features: RetwisJ a Twitter-clone based entirely on Redis.

We look forward to your feedback on this forum or in the issue tracker.

Spring 3.1 M1: Cache Abstraction

Engineering | February 23, 2011 | ...

One of the major features added in Spring Framework 3.1 M1 is the generic cache abstraction for transparently applying caching to Spring applications. Just like the transaction support, the caching abstraction allows consistent use of various caching solutions with minimal impact on the code.

Purpose

Caches are in general used to improve application performance by transparently serving frequently accessed data in a faster fashion such as serving data from local memory rather than from the network. Many of you have already used caching, whether knowingly or not: most ORM/JPA frameworks provide…

Spring Data Key Value (Redis + Riak) 1.0.0.M2 Released

Releases | February 10, 2011 | ...

Dear Spring Community,

I am pleased to announce the second milestone release of the Spring Data Key Value 1.0 project, with support for Redis and Riak, is now available!

Downloads | JavaDocs | Reference Documentation | Changelog

This release introduces several new features for both Redis and Riak, such as:

  • [Redis] Pubsub support (such as a MessageListenerContainer for message-driven POJOs)
  • [Redis] JSON and Spring Object/XML mapping serializers
  • [Redis] Full support for upcoming Redis 2.2
  • [Redis] Sorting and Pipelining functionality
  • [Riak] Asynchronous RiakTemplate
  • [Riak] Dedicated Groovy DSL for asynchronous Riak access

We look forward to your feedback on the forum or in the issue tracker.

Spring GemFire 1.0.0 Released for Java and .NET

Releases | February 02, 2011 | ...

Dear Spring Community,

We are pleased to announce that the first GA release of the Spring GemFire 1.0 project is now available for both Java and .NET! The Spring GemFire project aims to make it easier to build Spring-powered highly scalable applications using GemFire as distributed data management platform.

Download it now: Spring GemFire for Java | Spring GemFire for .NET

This release features:

  • Declarative dependency injection style configurations for the GemFire infrastructure (such as Cache, Region, Interest, etc)
  • Extensive namespace support for configuring all the major GemFire components: cache, replicated, partitioned and client regions and many more
  • Exception translation to Spring's portable DataAccess exception hierarchy
  • Template and callback support for easy native API access
  • Transaction management support
  • Spring-backed wiring for GemFire managed objects
  • Auto-generation of non-reflection based Instantiators
  • Native support for GemFire 6.5 (besides 6.0)
  • Declarative Caching Advice (for .NET)

Through Spring GemFire, Spring users should feel right at home when interacting with GemFire while developers familiar with GemFire will see the benefits and flexibility of the Spring container, its…

Spring GemFire 1.0.0.RC1 Released for Java and .NET

Releases | December 21, 2010 | ...

Dear Spring Community,

We are pleased to announce the first release candidate of the Spring GemFire 1.0 project is now available for both Java and .NET! The Spring GemFire project aims to make it easier to build Spring-powered highly scalable applications using GemFire as distributed data management platform.

The RC updates include:

  • Upgrades to the latest Spring, Spring.NET and Gemfire releases
  • Documentation improvements

To learn more about the project, visit the Spring GemFire homepage.

Download it now: Spring GemFire for Java | Spring GemFire for .NET

We look forward to your feedback!

Spring Data - Redis Support 1.0.0.M1 Released

Releases | December 13, 2010 | ...

Dear Spring Community,

I am pleased to announce the very first milestone release of the Spring Data - Redis Support 1.0 project is now available! The primary goal of the Spring Data project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services. The Redis modules provides integration with Redis key-value store.

Downloads | JavaDocs | Reference Documentation | Changelog

To learn more about the project, visit the Spring Data Homepage.

The features in 1.0.0 M1 include:

  • Connection package as low-level abstraction across multiple drivers
  • Configuration support for Redis Jedis and JRedis drivers/connectors
  • Exception translation to Spring's portable Data Access exception hierarchy for Redis driver exceptions
  • Generified RedisTemplate for exception translation and serialization support
  • Various serialization strategies
  • Atomic counter support classes
  • JDK Collection implementations on top of Redis

Spring GemFire 1.0.0.M2 Released for Java and .NET

Releases | December 08, 2010 | ...

Dear Spring Community,

We are pleased to announce the second milestone release of the Spring GemFire 1.0 project is now available for both Java and .NET! The Spring GemFire project aims to make it easier to build Spring-powered highly scalable applications using GemFire as distributed data management platform.

The new milestone updates include:

  • Native support for GemFire 6.5 (besides 6.0)
  • Extensive namespace support for configuring all the major GemFire components: cache, replicated, partitioned and client regions and many more
  • New configuration option for region lookup-only
  • More documentation (twice the size of the previous release)

To learn more about the project, visit the Spring GemFire homepage.

Download it now: Spring GemFire for Java | Spring GemFire for .NET

We look forward to your feedback!

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all