This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Best way to use sockets in JBoss or WebLogic? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Best way to use sockets in JBoss or WebLogic?" Watch "Best way to use sockets in JBoss or WebLogic?" New topic
Author

Best way to use sockets in JBoss or WebLogic?

Chris Johnston
Ranch Hand

Joined: Dec 13, 2004
Posts: 85
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


www.fuzzylizard.com
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best way to use sockets in JBoss or WebLogic?
 
Similar Threads
socket programming on 2 ports
SocketException Using Pooled Sockets
Sending data to an applet.
JBOSS keeps creating the UDP socket connections without closing it
Connected vs. Unconnected protocol