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

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -