Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Best way to use sockets in JBoss or WebLogic?

 
Chris Johnston
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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.

Any ideas or is this just a bad idea all round?

Chris
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think opening a Socket would be a bad idea, and think it would be better off to have a Web Service fronting the "legacy" application, instead.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic