Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Getting Started with Hazelcast, Second Edition
  • Table Of Contents Toc
Getting Started with Hazelcast, Second Edition

Getting Started with Hazelcast, Second Edition

By : Matthew Johns
3.3 (3)
close
close
Getting Started with Hazelcast, Second Edition

Getting Started with Hazelcast, Second Edition

3.3 (3)
By: Matthew Johns

Overview of this book

This book is a great introduction for Java developers, software architects, or DevOps looking to enable scalable and agile data within their applications. Providing in-memory object storage, cluster-wide state and messaging, or even scalable task execution, Hazelcast helps solve a number of issues that have troubled technologists for years.
Table of Contents (14 chapters)
close
close
13
Index

Caching by standard


As our applications have scaled up and beyond, caching has become more commonplace in various technologies. As we have seen from our earlier examples, there are lots of different ways and libraries to help us cache data within our application. However, most of these libraries use their own self-defined interfaces, so what if we want to move between technologies? As we have seen earlier, JPA provides a standardized way to persistently store data, with a number of technologies providing compliant implementations, so what if there was an equivalent for relatively short-term cache data?

Well, now, there is, in the form of the long awaited standard, JCache.

In order to use it, first, we will need to add the JCache API library to our classpath; if we are using a dependency manager such as Maven, this should be pretty trivial.

<dependency>
  <groupId>javax.cache</groupId>
  <artifactId>cache-api</artifactId>
  <version>1.0.0</version>
...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Getting Started with Hazelcast, Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon