Hi, maybe I was not clear enough, or maybe I did not understand your answer.
I have the socket server ready. It's a multi-threaded standalone java application that opens a java socket and listens for client requests.
My issue is about the mechanism to use when forwarding the client data to the web service, or to a Servlet, etc.
I need something flexible and generic.
I have been advised to use the Observable/Observer
pattern but then I read that this might not be a very good idea (not very flexible?).
Also I don't know if this mechanism should be a different application, or part of the socket server application.