Gain Immediate access to our Essays
FREE access exchanged for your work, or pay £9.99
Words: | Submitted: Fri Aug 15 2003
... and restarted. * Associative - spaces are a type of associative memory. This means that objects within a space can be located according to their contents. That is we can search all the objects in a space according to criteria based on their contents, only objects matching the criteria will be returned. We look up and retrieve objects with templates which implement the Java Entry interface and fulfil certain other conditions described below. * Transaction based - we can bundle space operations together into transactions. this enables us to implement higher level synchronisation and security mechanisms. * Object based - the things we store in a apace are objects, This means that they can have methods - executable code- associated with them and hence provide a mechanism for distributing software not just data. Using Spaces Firstly we need to find a space: JavaSpace space = SpaceAccessor.getSpace(); will find a space ...
FREE access exchanged for your work, or pay £9.99