XAP66 == "XAP9NET" || XAP66 == "XAP9" || XAP66 == "XAP9NET")

Remoting (SVF)

Search XAP 6.6
Searching XAP 6.6 Documentation
Browse XAP 6.6
Offline Documentation

Download latest offline documentation in HTML format:
xap-6.6.1-documentation.zip (20.6MB)

                                                              

Summary: Remoting allows you to use remote invocations of POJO services, with the space as the transport layer.

Overview

Spring provides support for different remoting technologies. OpenSpaces uses the same concepts to provide remoting, using the space as the underlying protocol.

Some benefits of using the space as the transport layer include:

  • High availability – since the space by its nature (based on the cluster topology) is highly available, remote invocations get this feature automatically when using the space as the transport layer.
  • Load-balancing – when using a space with a partitioned cluster topology, each remote invocation is automatically directed to the appropriate partition (based on its routing handler), providing automatic load-balancing.
  • Performance – remote invocations are represented in fast internal OpenSpaces objects, providing fast serialization and transport over the net.
  • Asynchronous execution – by its nature, remoting support is asynchronous, allowing for much higher throughput of remote invocations. OpenSpaces allows you to use asynchronous execution using Futures, and also provides synchronous support (built on top of it).

OpenSpaces supports two types of remoting, distinguished by the communication protocol performed between the client and the server, called Async Remoting and Executor Remoting (which replaces Sync Remoting).

Scripting over Remoting

Remoting can form the basis for several features to be built on top of it. Scripting over remoting allows you to run scripting and dynamic languages easily using remoting.

Section Contents

  • Executor Remoting ComponentExecutor Remoting allows you to use remote invocations of POJO services, with the space as the transport layer using OpenSpaces Executors.
  • Sync Remoting ComponentSync Remoting allows you to use remote invocations of POJO services, with the space as the transport layer.
  • Async Remoting ComponentAsync Remoting allows you to use remote invocations of POJO services, with the space as the transport layer.
  • Dynamic Language Support
    • Scripting ComponentScripting over remoting allows to simply execute scripting and dynamic languages as remote "jobs".
For concrete examples of how to use the GigaSpaces Remoting framework, please refer to the OpenSpaces Data Example and the Executors and Remoting examples in our Solutions and Best Practices Section.
IMPORTANT: This is an old version of GigaSpaces XAP. Click here for the latest version.

Labels