... | ... | @@ -15,15 +15,12 @@ The goal of VSB is to allow developper to perfectly interconnect services and t |
|
|
* Websocket
|
|
|
* DPWS
|
|
|
|
|
|
|
|
|
In addition, the VSB provides a monitoring API for this interconnected services and things.
|
|
|
|
|
|
**2. Requirements**
|
|
|
|
|
|
**2. Requirements**
|
|
|
|
|
|
VSB ensures interoperabiliy of services and things developped in Java.
|
|
|
VSB ensures interoperability of services and things developped in Java.
|
|
|
|
|
|
|
|
|
**3. Inteconnecting services and things**
|
|
|
|
|
|
To interconnect services and things, developer has to generate a middleware artifact that we call Binding Component (BC) that ensures this interconnection :
|
... | ... | @@ -56,18 +53,18 @@ Add dependecy : |
|
|
</dependency>
|
|
|
```
|
|
|
|
|
|
|
|
|
* Generate BC as follow :
|
|
|
|
|
|
|
|
|
```
|
|
|
VsbManager vsbm = new VsbManager();
|
|
|
vsbm.generateWar(PATH_TO_GIDL, ProtocolType.COAP, "REST_to_COAP");
|
|
|
vsbm.generateWar(PATH_TO_GIDL, ProtocolType.REST, "REST_to_COAP");
|
|
|
```
|
|
|
|
|
|
After executing this lines of codes, the BC will be generated into the temporary folder of the system.
|
|
|
|
|
|
**4. Monitoring services and things**
|
|
|
|
|
|
To monitor services and things,
|
|
|
|
|
|
**5. Who do I talk to?**
|
|
|
|
|
|
Patient NTUMBA: patient.ntumba AT inria.fr (main developer)
|
... | ... | |