Hello all,
I am best at C++, but Java is my second language. I know about logic operators, data types, I/O, etc. But I was wondering what would I need to know to make a Chat Client using Java. Say I had a server (like a Dell PowerEdge) and I used it, would it be able to communicate with say my laptop and other Desktops (if they were connected to the server)? I'd also want to talk externally from the server.
Thanks.
Chat Client
Started by hetra, Apr 25 2010 03:09 AM
8 replies to this topic
#1
Posted 25 April 2010 - 03:09 AM
|
|
|
#2
Posted 25 April 2010 - 03:22 AM
Maybe Turk4N's tutorial may help you: http://forum.codecal...hat-client.html
#3
Posted 25 April 2010 - 04:40 AM
Seen it,
Didn't understand all of it. I want to know what things I should be looking up and researching.
Didn't understand all of it. I want to know what things I should be looking up and researching.
#4
Posted 25 April 2010 - 04:56 AM
xmmm you have many ways to make to processes to "speak" remotely... So first of all you have to know to use the Objects of java...after that you may move to the main process of learning about rmi package... Take a look here: Trail: RMI (The Java™ Tutorials)
You can do that in many ways...Such as two clients talking with a server and the server forwarding the messages that it accepts or you can make a distributed edition. As you wish... Good luck :)
You can do that in many ways...Such as two clients talking with a server and the server forwarding the messages that it accepts or you can make a distributed edition. As you wish... Good luck :)
#5
Posted 25 April 2010 - 10:33 AM
hi dude,
first it would be wise if you learn more things about java such as objects and its uses. If you already be familiar with this you could move to the next step... RMI package is what you need... it is the way to invoke remotely objects between two processes in the same or in different pc's in different rules such as server-client, destributed processes etc... take a look here :Trail: RMI (The Java™ Tutorials)
This project it would works fine with sockets and unicast or multicast whatever you want... Nice idea therefore and good luck mate :thumbup1:
first it would be wise if you learn more things about java such as objects and its uses. If you already be familiar with this you could move to the next step... RMI package is what you need... it is the way to invoke remotely objects between two processes in the same or in different pc's in different rules such as server-client, destributed processes etc... take a look here :Trail: RMI (The Java™ Tutorials)
This project it would works fine with sockets and unicast or multicast whatever you want... Nice idea therefore and good luck mate :thumbup1:
#6
Posted 25 April 2010 - 06:18 PM
I would suggest that you look up the API for a java server. It explains how to set up a connection, designate port access, and how to set it up.
#7
Posted 25 April 2010 - 06:25 PM
Hunter100 said:
Seen it,
Didn't understand all of it. I want to know what things I should be looking up and researching.
Didn't understand all of it. I want to know what things I should be looking up and researching.
Which parts didn't you understand? Google the terms or concepts you don't follow, read until you do understand. Return to the tutorial. Wash, rinse, repeat.
#8
Posted 25 April 2010 - 07:31 PM
try out some of rmi packages...it is the remoted invoke of objects in java... you can use also sockets if your familiar with them from c-based languages...try to google for RMI in Java
Edited by Dreamcatcher, 26 April 2010 - 01:02 AM.


Sign In
Create Account


Back to top









