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 :)
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.
Get an introduction to Java Swing GUI component library.
Get an introduction to multithreading in Java.
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.
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.