Hello,
I want to create a Chat Application in Java.
I would like to create a server and client and any messages that need to be sent between one client to another is to be done via the server.
Could anyone give suggestions on how to do this?
Thank You!
there's 3 main ways of doing this. sockets, rmi and corba. i would suggest learning sockets first, then rmi and lastly corba. you will get a better understanding of them that way.
I'd forget about CORBA - its a fairly outdated concept these days, and only really worth looking at if you have a legacy application that speaks it, and you need to interface with it.
Now seriously, I don't think the CORBA concept is out of date. Today there a lot of attempts to make interoperable architectures to connect heterogeneus systems. They claim to be brand new concepts, but there are just CORBA implementatios with a little less overhead.
I'd suggest sockets, it's a very good place to start since the knowledge can be applied to a lot of languages, while RMI is more just Java.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.