I have a quick and simple question: what is the best way of using sockets within an application server (specificaly JBoss or WebLogic)? I have read about JCA, but this seems more geared towards accessing other systems as opposed to simply opening a socket and receiving data.
The general idea is that we have an old system that communicates using sockets, we are thinking about opening a listener socket within a J2EE app server in order to receive information from it. The old system is a home grown one. In addition, I do not think we are looking to send any data across the socket, just receive data from it.