If you've been working with Java professionally for a while, then you must have at least heard of the Spring framework. Spring does a lot of things, but its most important function is that of an inversion of control container. Rather than looking up for dependencies in our class, we inject the dependencies. This opens up the possibility of injecting WebSphere eXtreme Scale beans into our Spring-wired software. Now that we have seen the different WebSphere eXtreme Scale APIs and configuration files, we can integrate it with applications built using the Spring framework.
Injecting WebSphere eXtreme Scale beans into our software implies that we can configure the WebSphere eXtreme Scale components as beans in the first place. This chapter walks through the process of creating reusable WebSphere eXtreme Scale configuration beans that can be used in any application which requires an ObjectGrid instance. The eXtreme Scale/Spring integration goes the other way too. We...