Norman Maurer wrote:Netty is general purpose network framework which can be used to implement any network protocol. Netty itself ships with support for many different protocols already, which includes http / web sockets and many more. You can find some examples on how you would use it for this job in the examples or in Netty in Action:
https://github.com/netty/netty/tree/4.0/example/src/main/java/io/netty/example/http
https://github.com/normanmaurer/netty-in-action/tree/2.0-SNAPSHOT/chapter11/src/main/java/nia/chapter11
Beside this Netty has a rxtx transport which can be used to talk to serial devices:
https://github.com/netty/netty/tree/4.0/transport-rxtx
Rob Spoor wrote:There's the root of your problem. Is this EntityBase your own class? Does it have a void _persistence_set(String, Object) method?