Le 21/06/2014 17:57, [email protected] a écrit : > There is a project. A hardwear use UDP/IP send messages to the server. > And an App use TCP/IP send and receive the message to server. > so I had to use a NioDatagramAcceptor and a NioSocketAcceptor > to listen 2 port. I want to make them into Spring. > But I aways try and search on Google. There is no the answer. Because your question is too vague. We don't even know if you have an issue with using two different acceptors or with Spring.
I would suggest you first make your application to work without Spring, and once it's working, then you can spend some time investigating the way you should use Spring. ll in all, I don't even see what advantage can Spring gives you anyway...
