S2Remoting is a common platform to allow components defined in dicon file to be made available as remote objects and it also allows remote objects to be easily accessed as components.
S2Remoting is not a standalone software. It is used in combination with S2RMI, S2Axis, and S2Remoting.
After downloading the S2Remoting-Vx.y.z.zip file, extract files to a directory. (If the files were extracted to the workspace directory, rename the s2-remoting-x.y.z directory to s2-remoting.
Start Eclipse and select [File]-[Import]
From [Import] wizard, select [Existing Projects into Workspace] and then select the [Next>] button.
Select [Select root directory] radio button and then select the [Browse] button to the right of it. Browse through directories to the s2-remoting-x.y.z directory where the archive files where extracted. Select the [OK] button to select this directory.
Select the [Finishi] button to import from this directory.
S2Remoting is a common platform that enables application to call remotely without directly calling RMI nor web service (JAX-RPC).
When remote call is not used, client application or client component is related to components managed by S2 as follows (client may also be managed by S2 container):
When S2Remoting is used, distributed components may be called as follows. Client and components does not have to be modified.
S2Remoting is the interceptor in the above diagram.
S2Remoting also offers connector interfaces and abstract classes, but it does not offer any implementation classes. Connector and adapter implementations are offered by related packages such as S2RMI and S2Axis which offers different protocol implementation.
Component's interface is specified as <component> element's attribute. Value of a name attribute differs by protocol but is commonly remote object location. Refer to software document for the protocol for details on what this value should be set to.
Interceptor should be set to a connector. Usually, an interceptor is defined in the same dicon file as a connector so S2 S2 will automatically set it by injection.