Gigaspaces is an excellent product. Supplying a flexible cache, the ability to run processes, underpinned with spring, good desktop space management tools and some well thought out configurable and scalable architectures. The documentation and programmers api design could do with some effort though. Lets take a look at the GigaSpace interface and the design of the write method as a small example where improvement is much needed.
Jan
11
2010
11
2010
Dec
21
2009
21
2009
Untangling a Gigaspace Pojo
A hibernate entity class is annotated describing to hibernate how its to be persisted. Annotate this class with JAXB for a transformation, chuck in some gigaspace annotations so we can add it to a cache and things start to get messy. Worse still gigaspace has some tight restrictions surrounding what it requires from a pojo, hibernate has others. Its tempting to leave the resulting class cluttered with these soft concerns. I propose a solution using composition that allows for easier maintenance ongoing.