Hi people. I am building an ESB (enterprise Service Bus). This means i need to set up tcp connections and communicate with JSON (well not NEED.. but json is light and easy) I made a server who is able to set up a TCP socket and receive json. This is all very nice but i need to be able to call methods via a tcp connection.
so for example to call a method:
{server:pictures, method:changeImage('name')}
This is just an example and could change.
my question is: Is there a framework that is able to:
- set up tcp server
- receive json messages and call the appropriate method
- return an answer (in json).
of course json could also be xml but i would rather use json (much cleaner)
thanxs in advance!