Java Socket Programming: Build a Chat Application
4.2 (56 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,225 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Java Socket Programming: Build a Chat Application to your Wishlist.

Add to Wishlist

Java Socket Programming: Build a Chat Application

Learn Java socket programming concepts and build a multi-user chat application
4.2 (56 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,225 students enrolled
Created by Abhay Redkar
Last updated 9/2016
Current price: $12 Original price: $20 Discount: 40% off
4 days left at this price!
30-Day Money-Back Guarantee
  • 2 hours on-demand video
  • 2 Articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion

Training 5 or more people?

Get your team access to Udemy's top 2,000 courses anytime, anywhere.

Try Udemy for Business
What Will I Learn?
  • Understand Socket Programming in Java
  • Write simple Client-Server Applications in Java
  • Build a multi-user GUI Chat Application in Java
View Curriculum
  • Basic knowledge of Java is required

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 :) 

Who is the target audience?
  • Students, programmers who have some basic knowledge of Java concepts and what to learn Socket Programming
  • This course may not be suitable for students or programmers who are new to Java and are not familiar with Java core concepts.
Compare to Other Socket Programming Courses
Curriculum For This Course
25 Lectures
2 Lectures 03:29

Get a quick introduction and overview of the course and the topics that will be covered in this course.

Preview 01:53

Understand how to setup the work environment before starting.

Installation of Eclipse IDE and JDK
Networking Basics
3 Lectures 08:48

Understand the concept of client-server architecture computer networks.

Preview 02:31

Understand the TCP/IP Protocol which we will be using in our Chat Application

TCP/IP Protocol

Understand the concept of IP Address and Port Number which will be needed in our Chat Application

IP Address and Port Number
Socket Programming Fundamentals
6 Lectures 38:26

Understand the concept of Java I/O streams (i.e Input stream and output stream).

Introduction to Java I/O

Understand the concept of socket in networking and try to establish a connection between a client and a server in Java.

Preview 08:10

Simple Client-Server Application: Part 1

Simple Client-Server Application: Part 2

Simple Client-Server Application: Part 3

Source Code: Simple Client-Server Application
Chat Application
14 Lectures 01:02:24

Get an introduction to Java Swing GUI component library.

Introduction to Swing

Get an introduction to multithreading in Java.

Introduction to Multithreading

Chat Application: Part 1

Chat Application: Part 2

Chat Application: Part 3

Chat Application: Part 4

Chat Application: Part 5

Chat Application: Part 6

Chat Application: Part 7

Chat Application: Part 8

Chat Application: Part 9

Source Code: Chat Application

About the Instructor
Abhay Redkar
4.3 Average rating
270 Reviews
11,733 Students
5 Courses
Java/JSF developer

I have around 7 years of programming experience. My area of expertise is Java.

 I have completed my Bachelor’s in Computer Science and a Master’s in Computer Applications from a reputed institute.

 I am currently working in a leading US-based financial firm as a Java/JSF developer.

Ever since I started coding, I have done a lot of projects in various technologies like C++, HTML/CSS, Javascript, PHP, Java, Spring Framework, Struts, JSF  etc.

Since my college days, I used to help out my friends with a lot of programming concepts and with time I realized that I was actually enjoying teaching. And so I decided to take my teaching passion to the next level and share my knowledge with as many people as possible with this platform.