-
Book Overview & Buying
-
Table Of Contents
IBM WebSphere eXtreme Scale 6
By :
In this chapter, we covered how to integrate our ObjectGrid code with the Spring framework. For those familiar with Spring, this should be a good introduction to what you can do with ObjectGrid and Spring. It should now be easy to create Spring-managed, ObjectGrid-backed persistence layers, and plug them into existing applications with little modification to your existing beans.
We saw how to write interfaces using Spring-managed, declarative transactions. This removes a lot of invasive transaction-handling code and exception-checking from our business logic. The business logic is the business logic, and the persistence logic exists safely in a data-access layer. Any Spring transaction advice can be given to the transaction manager associated with an ObjectGrid instance.
We wrote an example application.xml file that showed how to build a small application using the Spring framework. This configuration created all of the ObjectGrid classes and instances that we needed to use an ObjectGrid...
Change the font size
Change margin width
Change background colour