
Get a quick introduction and overview of the course and the topics that will be covered in this course.
Understand how to setup the work environment before starting.
Understand the concept of client-server architecture computer networks.
Understand the TCP/IP Protocol which we will be using in our Chat Application
Understand the concept of IP Address and Port Number which will be needed in our Chat Application
Understand the concept of Java I/O streams (i.e Input stream and output stream).
Understand the concept of socket in networking and try to establish a connection between a client and a server in Java.
Explore a Java socket client-server application, where the server waits for connections, handles add, subtract, multiply, divide operations, and supports an exit option.
Get an introduction to Java Swing GUI component library.
Get an introduction to multithreading in Java.
Learn how a Java socket chat server enforces unique usernames by maintaining username and print writer lists, validating input, and broadcasting accepted names.
Wire an action listener to the send button and enter key to send input via the socket output stream, and read and broadcast messages to all clients using print writers.
Socket programming is used for developing client-server applications in Java. In client-server architecture, the server provides some service and the client can use this service to get the desired output or result. Sockets also allow two or more computers to communicate with each other over the network using TCP/IP protocol.
This course is for anyone who has basic knowledge about core Java concepts and who is totally new to Java socket programming. This course may not be suitable for students/programmers who are not familiar with Java.
This course is going to teach you how to write client-server applications in Java using socket programming. It will also teach you how to write a multi-user/group chat application in Java with chat logging functionality. All the concepts are explained in a very simple language. This course is highly practical-based with a very few power-point presentations. Apart from socket programming, this course also gives you a short introduction to some of the Java concepts which are required for understanding our chat application. This chat application will give you a concrete understanding of all socket programming fundamentals.
And finally, a chat application could be a good topic for your school/college mini-project. It is also an area which is quite unique to work on rather than regular Java projects. As it’s a short course, it wont be boring at all. You need to invest only around 2 hours of your time.
I believe you will enjoy this course and learn a lot. Happy Coding :)