Interfaces and APIs

  Search Here
Searching XAP 6.0 Documentation

                                               

Section Summary: Interfaces and APIs supported by GigaSpaces.

Section Contents

  • .NETGigaSpaces .NET provides efficient interoperability between Java and .NET, unmatched levels of high-throughput and low-latency, the PONO, and support for Portable Binary Serialization (PBS).
  • CPPC++ applications can communicate with the space by wrapping objects using the C++ projection of the ExternalEntry class, and using the C++ projections of the JavaSpaces methods.
  • JavaSpacesJavaSpaces is the native API of the space, based on four methods: write(), read(), take(), and notify(). JavaSpaces supports local and distributed transactions, and allows applications to register for notifications on space data.
    • About EntriesAn Entry is a typed set of objects, each of which may be tested for exact match with a template.
    • About JiniJini is an open architecture that allows the implementation of network services - One such service is JavaSpaces.
    • About Space OperationsA description of Entries, templates, the four primary kinds of operations – write, read, take, and notify, and the UpdateModifiers.UPDATE_OR_WRITE modifier.
    • Batch OperationsAn extension of the JavaSpaces API, enabling operations with multiple objects in one call.
    • Compute Server - Master-Worker PatternDemonstrates how the master-worker is used to implement a parallel computing engine that calculates whether or not a given number is prime.
    • Continuous QueryEnables continuous queries of the space with advanced matching, including boolean operators and inequalities.
    • Custom Query PatternThe purpose of the custom query pattern is to extend the existing query capabilities by enabling users to write code and execute it as part of the query path.
    • ExternalEntryA wrapper that allows any Java class to be written to the space, even if it does not comply with JavaSpaces requirements.
    • Externalizable SupportUsing Externalizable to boost remote space performance with JavaSpaces operations.
    • FIFO SupportHow to get objects in the same order in which they were written to the space.
    • Inheritance SupportGigaSpaces provides implicit access to the inheritence capabilities in the JavaSpaces specification.
    • JavaSpaces IteratorUsed to read objects matching multiple templates in one call.
    • JavaSpaces NotificationsRegistering to receive notifications when objects are added or modified in the space – unicast, multicast and tokenized notifications.
    • JavaSpaces POJOGigaSpaces JavaSpaces API Plain Old Java Object support - the POJO.
    • JavaSpaces Transaction SupportHow to use distributed transactions (with Jini Transaction Manager), or local transactions.
    • JavaSpaces UID SupportHow to access space objects using their unique identifiers (UID).
    • Managing Resources LeaseThe LeaseRenewalManager provides systematic renewal and overall management of a set of leases associated with one or more remote entities on behalf of a local entity.
    • Moving From Outrigger to GigaSpacesHow to migrate from Outrigger with no re-compilation or re-deployment of code to clients.
    • Partial UpdateUpdating only some of the fields of an object in the space.
    • POJO Class and Field Level AnnotationsPOJO class and field level decorations using annotations and XML configuration files.
    • Querying the SpaceAn extension to the JavaSpaces API which allows object matching by SQL syntax or regular expression.
    • Schema EvolutionThe space schema can be evolved using codebase downloading and Java extentions, or an explicit data migration process.
    • Session Based Messaging APIThe new Notify Session API provides a unified and consistent mechanism for event registration.
    • Space Administration APIAllows applications to start and stop a space; get status, statistics, and cluster mode; and shutdown a container.
    • Space Locking and BlockingUsing optimistic and pessimistic locking to preserve the integrity of changes in multi-user scenarios.
    • Typical JavaSpaces WorkflowHow an application allocates a space and then uses the space to share information with another application.
  • JMSGigaSpaces allows applications to use the space as a messaging hub. Applications use JMS to create topics and queues as usual; these are transparently translated into space Entries.
  • Map-JCacheGigaSpaces provides a Map/JCache interface, which allows applications to write to a space/cache using the Map APIs – put(), get(), remove(), transaction() – or the richer JCache specification.
    • Map ExceptionsThe two main exceptions thrown for cache problems: EntryVersionConflictException and CacheTimeoutException.
    • Map IteratorUsed to get objects matching multiple templates in one call.
    • Map NotificationsHow to register to be notified when objects are put to or removed from the space/cache.
    • Map Optimistic LockingHow to you write applications under the assumption that put operations may fail, if the updated object is changed by someone else since it was read.
    • Map Pessimistic LockingHow to explicitly prevent multiple users from from performing get, put or remove operations with the same key under a transaction.
    • Map TransactionsPerforming distributed and 'local' transactions on space/cache instances.
    • Writing Your First Map API ApplicationEnvironment setup and writing a Map hello world application.
  • More Interfaces and APIs
    • J2EE-JCAApplications can interact with the space from a Session/Entity Bean or Servlet by obtaining a reference to a GigaSpaces connector, which shares the connection-pooling policy and transaction with the caller bean.
    • JDBCGigaSpaces allows applications to connect to a space/cache using JDBC. A GigaSpaces JDBC driver accepts SQL statements, translates them to space operations, and returns standard result sets.


GigaSpaces 6.0 Documentation Contents (Current Page in Bold)

    Java

    C++

    .NET

    Middleware Capabilities

    Configuration and Management

Add GigaSpaces wiki search to your browser search engines!
(works on Firefox 2 and Internet Explorer 7)

Labels

 
(None)