Reader small image

You're reading from  Getting Started with Hazelcast

Product typeBook
Published inAug 2013
Reading LevelBeginner
Publisher
ISBN-139781782167303
Edition1st Edition
Languages
Right arrow
Author (1)
Matthew Johns
Matthew Johns
author image
Matthew Johns

contacted on 6 may '16 ________ Matthew Johns is an agile software engineer and hands-on technical/solution architect; specialising in designing and delivering highly scaled and available distributed systems, with broad experience across the whole stack. He is the solution architect and lead engineer at Sky.
Read more about Matthew Johns

Right arrow

Don't pass what you need, depend on it


Most of the examples we have developed so far have created HazelcastInstance that we use to programmatically access various collections and features of the cluster. However as we begin to move away from simple conceptual examples, we will need to start passing references to various collections around our application in order to access data. This exposes the age-old problem of how to avoid passing around supporting dependencies around the application layers, but still having access to them, when and where they are required. Luckily this problem has already been solved for us in the form of dependency injection. Rather than reinventing the wheel, we should be able to use the existing technology to help solve this problem.

One of the most popular DI frameworks is Spring, and Hazelcast features complimentary support for this framework allowing us to configure our cluster in a way in keeping with it. To enable this support we need to add the hazelcast-spring...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Getting Started with Hazelcast
Published in: Aug 2013Publisher: ISBN-13: 9781782167303

Author (1)

author image
Matthew Johns

contacted on 6 may '16 ________ Matthew Johns is an agile software engineer and hands-on technical/solution architect; specialising in designing and delivering highly scaled and available distributed systems, with broad experience across the whole stack. He is the solution architect and lead engineer at Sky.
Read more about Matthew Johns