Java Socket Programming: Build a Chat Application
4.3 (50 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,205 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.3 (50 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,205 students enrolled
Created by Abhay Redkar
Last updated 9/2016
English
Current price: $10 Original price: $20 Discount: 50% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 2 hours on-demand video
  • 2 Articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
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
Requirements
  • Basic knowledge of Java is required
Description

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.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
25 Lectures
01:50:03
+
Introduction
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
01:36
+
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
03:47

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

IP Address and Port Number
02:30
+
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
04:39

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
04:48

Simple Client-Server Application: Part 2
10:38

Simple Client-Server Application: Part 3
08:16

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

Get an introduction to Java Swing GUI component library.

Introduction to Swing
03:32

Get an introduction to multithreading in Java.

Introduction to Multithreading
04:38

Chat Application: Part 1
05:47

Chat Application: Part 2
08:35

Chat Application: Part 3
05:09

Chat Application: Part 4
07:18

Chat Application: Part 5
04:01

Chat Application: Part 6
05:33

Chat Application: Part 7
01:55

Chat Application: Part 8
05:09

Chat Application: Part 9
04:27


Source Code: Chat Application
03:20

Conclusion
00:41
About the Instructor
Abhay Redkar
4.2 Average rating
233 Reviews
7,683 Students
4 Courses
Java/JSF developer

I have around 5 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.