Looking for a good tutorial for creating chat messenger in Java
I'm looking for a good tutorial for creating a chat messenger in java. I checked this link but it was not good and clear, was poor tutorial without clear explanation and details.
Can you help me with another tutorial? Tutorial video or text both are good.
(Let me mention that i'm new to java)
Hello Niloofar24! :)
Creating a chat box (or chat messenger) will likely use Threads. You're going to want to learn about those to handle the messages going back and forth. But this is a bit of an advanced topic. How new are you to Java? If you're a Novice you'll want to work your way up by learning the basics first.
You will need to create a user interface, create a IP server and an IP client, make a network connection, send data by using streams, and do all that in multiple threads. If you are new to Java this is far too much to tackle in one go. Have a look a our thread on projects for beginners (at the top of the forum listing) and try something simpler first.
Yes, it's my second day in Java. I decided to create a chat messenger so i have started to learn Java. Of course i'm not new to programming, i code in c++, Python and php.
I thought maybe it's better to start with a good tutorial for creating chat messenger from the first step.
OK, if you really really want.. Here's an excellent tutorial on client/server messaging. It' part of the Oracle tutorials, which are by far the most complete, accurate and up-to-date tutorials for Java. Get started here.
Many other tutorials on the web are either out of date or downright wrong, so be careful out there.
I checked the link many times but unfortunatelly i faced with a blank page, i don't know why! Is there any other good and clear tutorial? Or at least can you help me with telling me where i should start from to create a chat messenger? What is better for now for the first step to start from? Can you suggest me where i can start from and what is better for now to learn? Well i know it's not easy to answer those questions and you all are not here to answer these kinds of questions but just want to know the primary form, model and shape of the way i should go through. Just need to find the first step:)
Thank you for your help and answers.
Niloofar: you should start by the links James provided you, since they are the official tutorials about how to use sockets, and the official tutorial on learning the language.
my advise: start with the second one.
just want to know the primary form, model and shape of the way i should go through. Just need to find the first step:)
The first step is to learn the language. Knowing other languages is a plus, but it can work against you if you know their syntax by heart, and don't know Java's at all.
Yes. The tutorial on Sockets that I linked is the best place to start, but it's very clear that you do not yet have the basic knowledge to attempt such a complex application. Please start with something a lot simpler to build your skills.
Wow, that's bad.
I see you are in Iran, and it seems Oracle have decided that they cannot supply Java technology to Iran under US law. Most people seem to think that they are wrong about that, but there's nothing you can do.
The tutorial problem is annoying, but the lack of Java security updates is really dangerous. To be honest if you can't get a secure version, then I would advise you to forget Java and use something that you can get maintained (C#/.NET?) in your country. This is very sad.
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
OK, so HostGator for some reason no longer allows gcc/g++ access unless you have a Designated Server account, which is a lot of money to spend just to compile my "Hello World" program. Thus I figured I'd compile at home, then upload. Program is your regular old bare-bones Hello World ...
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...