Open Source Projects:

Use Case

Spring Cache

Pricing
Chat
Contact
Back to top
Overview

Hazelcast IMDG® can be used as cache for applications based on the Spring Framework for distributing shared data in real time.

The Spring Framework provides an abstraction layer for caching providers, which is a first-class citizen in Hazelcast IMDG. Within the default Hazelcast® download /lib directory, there is a JAR file titled hazelcast-spring.jar, which is included in the hazelcast-all.jar. By including hazelcast-all.jar or hazelcast-spring.jar, Hazelcast can be used as an implementation of the Spring cache abstraction layer and can annotate methods as @Cacheable.

As of version 3.1, the Spring Framework provides support for adding caching into an existing Spring application. To use Hazelcast as a Spring cache provider, you simply define a com.hazelcast.spring.cache.HazelcastCacheManager bean and register it as a Spring cache manager.

<cache:annotation-driven cache-manager="cacheManager" />
<hz:hazelcast id="hazelcast">
...
</hz:hazelcast>
<bean id="cacheManager" class="com.hazelcast.spring.cache.HazelcastCacheManager">
<constructor-arg ref="instance"/>
</bean>

Why You Should Use Hazelcast with the Spring Framework

Hazelcast has a built-in integration with Spring to easily plug in caching. And it is more than just a simple cache for your Spring environment, as it provides capabilities to run a high-volume production web application with business-critical requirements.

Performance
Performance

Hazelcast is designed to deliver the highest throughput and lowest latencies. Benchmark reports show we are faster than other popular in-memory technologies.

Security
Security

Hazelcast provides authentication, authorization, and encryption capabilities to ensure your data is protected from unauthorized access.

Elasticity/Scalability
Elasticity/Scalability

Hazelcast elastically scales by expanding or shrinking the cache to accommodate your needs. You can grow your Hazelcast cluster to extremely large sizes, so you can use it for multiple purposes at the same time including application caching, batch processing, and stream processing, in addition to the Spring cache.

Reliability
Reliability

Hazelcast has built-in replication for high availability and disaster recovery to ensure business continuity of the high speed caching layer. You can use the WAN replication feature to distribute cached data across remote locations to put the data near the end users.

Hazelcast In-Memory Computing Platform

Hazelcast In-Memory Computing Platform

The most comprehensive solution for data at rest and data in motion.

Solutions

Hazelcast In-Memory Computing Platform

Hazelcast IMDG

Hazelcast IMDG is the industry’s leading in-memory data grid (IMDG). IMDGs are designed to provide high-availability and scalability by distributing data across multiple machines. Hazelcast IMDG enriches applications by providing capabilities to quickly process, store, and access data with the speed of RAM.

Hazelcast Jet

Hazelcast Jet is an application embeddable, distributed stream processing platform for building IoT and microservices-based applications. The Hazelcast Jet architecture is high-performance and low-latency-driven, based on a parallel, distributed core engine enabling data-intensive applications to operate at real-time speeds.

Hazelcast Cloud

The benefits of moving to the cloud are well known and applicable to virtually every industry. Hazelcast offers our customers the flexibility to deploy to the cloud on their terms, whether it's a dedicated cloud, on-premise cloud, hybrid cloud, or private cloud.

In-Memory Store and Cache

High-Density Memory Store adds the ability for Hazelcast Enterprise HD IMDG to store very large amounts of cached data in Hazelcast members (servers) and in the Hazelcast Client (near cache), limited only by available RAM for extreme scale-up.

Stream Processing

Stream processing is how Hazelcast processes data on-the-fly, prior to storage, rather than batch processing, where the data set has to be stored in a database before processing. This approach is vital when the value of the information contained in the data decreases rapidly with age. The faster information is extracted from data, the better.

Free Hazelcast Online Training Center

Whether you're interested in learning the basics of in-memory systems, or you're looking for advanced, real-world production examples and best practices, we've got you covered.