O'Reilly logo

IBM WebSphere eXtreme Scale 6 by Anthony Chaves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Spring-managed eXtreme Scale configuration

Before we go any further, we need to make sure that the $OG_HOME/lib/ogspring.jar file is on the classpath.

WebSphere eXtreme Scale allows us to wire Spring-defined beans into our plugin collections. We do this by defining the Spring bean elsewhere and pre-pending {spring} to the bean name when wiring it in to the plugin collection. An eXtreme Scale configuration file may contain any number of {spring} referenced beans.

There isn't a Spring bean factory defined in our objectgrid.xml configuration file, so we must be using some default file. By default, eXtreme Scale looks for a file named GridName_spring.xml in the classpath root. The grid defined in the objectgrid.xml file is "MyGrid", so eXtreme Scale ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required