GateNLP / gatelib-interaction

Various bits and pieces for interacting between GATE plugins and other software via command line or microservice
Apache License 2.0
0 stars 0 forks source link

Consider websockets #9

Open johann-petrak opened 5 years ago

johann-petrak commented 5 years ago

This may be a more direct duplex way of interacting in comparison to HTTP/Rest, so it feels more like the pipe-based approach without actually using the brittle pipes for it.

Resources: https://github.com/facundofarias/awesome-websockets

johann-petrak commented 5 years ago

On the python side:

On the java side:

johann-petrak commented 5 years ago

A text oriented protocol that seems to be common over websockets is stomp: http://jmesnil.net/stomp-websocket/doc/

Python:

Java: