java - Real singleton service on tomcat's and Spring -
we have following server infrastracture:
2 gui (handle user gui request) tomcat nodes separate jvms 2 processing (background processing) tomcat nodes separate jvms
all nodes have spring + oracle backend (all node have same databse)
we need implement tcp listener (based on fix protocol receive messages). important part here runed on 1 server node. because protocol doesn't support multiple connections.
in other words need create tcp listener on 1 server node (processing node above). so question here how can achieve this? think need kind of communication mechanism between nodes. can simple create database table , register services creation/destroy lifecycle there. , recheck status before bean creation. souns "reinventing wheel".maybe know existing ways or tools this?
Comments
Post a Comment