Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

chat program without sockets

807607Jan 19 2007 — edited Jan 20 2007
I wrote a small chat program that pairs sockets together and the server just sends the messages back and forth. It turns out that the server I have access to will not give me access to a private port to which I can bind a serversocket.
Does anyone know another good way of writing a chat program without using sockets in a webserver (Tomcat/Resin) environment. I was told that writing the socket in a command line app could solve that problem but I'm not sure how to run that from a webserver (ie - you still need to provide a port number when creating the serversocket). Anyone understand how to do this?
I heard SOAP or REST is a good way but I don't understand how it keeps track of all the client 'pairs'. Any help is greatly appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2007
Added on Jan 19 2007
10 comments
319 views