Starting up a plain socket-based service
Apologies if this is a FAQ...couldn't find anything, hence this post.
I am trying to write a 'decorator' for an ancient C/plain-sockets-based Unix application.
Think of the decorator as a filter/proxy that also munges incoming/outgoing data.
The question is: how to do this in spring.
I can't see any of the available remoting strategies being useful for this situation (maybe my lack of understanding): all seems to rely on serialization and be invokable via URL, wheras I have to talk to a plain address/port and have to send a plain-text command string:
Code:
CMD:param,param,param
and get back a plain-text response stream:
Code:
row-count int
data,data,data
data,data,data
data,data,data
...
Any suggestions gratefully accepted.
The underlying server will be JBoss.
Cheers,
Alph