...
Setting up remote HTTP server:
// TODO : WRITE NORMAL DESCRIPTION. AND MAY PUT HERE WAR FILE TO DOWNLOAD
Clone our MoSKiTo-Central repository and build moskito-central-rest-webapp module. Now moskito-central-rest-webapp-${version}.war from target directory can be deployed.
You may want to configure your moskito-central instance storages. To do this follow this article.
Setting up HTTP client:
Declaring dependencies:
First add following in your project pom file:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<dependency> <groupId>org.moskito</groupId> <artifactId>moskito-central-rest-connector</artifactId> <version>1.1.4</version> </dependency> |
Configuring connector:
To enable MoSKito-Central HTTP connector, add the corresponding plug-in to moskito.json configuration file.
...
Transferring data via RMI with DistributeMe Connector:
Setting up DistributeMe MoSKiTo-Central server:
Clone our MoSKiTo-Central repository and build moskito-central-dime-server module. Now moskito-central-dime-server-${version}-jar-with-dependencies.jar is available in your target directory.
...
Where localRmiRegistryPort is port of RMI connector. Also server supports DistributeMe other supports other DistributeMe configuration options.
You may want to configure your moskito-central instance storages. To do this follow this article.
Setting up DistributeMe MoSKiTo-Central client:
Declaring dependencies:
First add dependencies to your project pom file:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<dependency> <groupId>org.moskito</groupId> <artifactId>moskito-central-distributeme-connector</artifactId> <version>1.1.4</version> </dependency> |
Configuring connector:
To enable MoSKito-Central RMI connector, add the corresponding plug-in to moskito.json configuration file.
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "connectorHost" : "localhost", "connectorPort" : 9249 } |
...