
This video will give you an overview about the course.
In this video, we will go through an overview about this course.
In this video, will learn about the basics of Network programming in general.
In this video, we will have a look at Network Layers and learn something about it
In this video, we will learn something about Java’s support for common network protocols.
In this video, we will look at how to Resolve host names to IP addresses
In this video, we will look at how to create a UDP echo server.
In this video, we will get an overview on TCP protocol.
In this video, will learn how to create a simple TCP echo server.
In this video, we will have a look at how multi-thread TCP echo server works
In this video, we will learn about scalability of network programs.
In this video, we will look at how to handle threads with thread pools.
In this video, we will look at how filtering clients work.
Learn how to limit the accepted clients to a certain IP range
Learn how to create a black-list and a white-list of client IP addresses
Modify the application so that it rejects connections if the client is coming from a certain IP range
In this video, we will look at how Advanced filtering clients work.
Parse IP addresses using regex
Extend the black-list, whitelist with wild card
Show how an IP address can be parsed using regular expression
In this video, we will look at how clients filtering using name work.
Resolve the connecting IP to name and filter the client using general regular expressions based on the name
Extend the black-list, whitelist with names containing regular expression
In this video, we will look at the working of IRC bot.
Creating an IRC bot using pircbotx
Create a simple IRC bot that says hello when someone greets it
Log into a server using the bot and also using Lime Chat client and then greet the bot and see if the bot answers to us
In this video, we will look at how to send mail using Network Programming.
Send an e-mail using SMTP and also JavaMail protocol
Create a sample program that connects to an SMTP server and sends a simple mail to the address of a test account
Open the Gmail account and check if the mail has arrived
In this video, we will look at how to get mail using network programming.
Learn how to receive mail using POP3 protocol
Create sample program that downloads the mail from the demo Gmail account
In this video, we will look at how to use FTP from Java.
Learn the basics of handling FTP
Create a sample code that uploads a file to an FTP server, lists the files on the server
Download a file from the server
In this video, we will look at how to use SSH from Java.
Login to a remote server using SSH from Java programmatically
Create sample application that logs into a server
Execute a management command and fetch the output from the executed program
In this video, we will have a look at the structure of Java NIO.
Explore the concept of NIO, Buffers, Channels, and Selectors
In this video, we will learn about Java NIO Buffers.
Understand what a Buffer is in NIO and how to handle them
Detail the model of a Buffer
Create a Sample code that reads from a file using NIO and calls read, flip, and clear
In this video, we will learn about Java NIO scatter and gather.
Learn how to write to different buffers in one read and how to read from different buffers to a channel in one read
Learn why it is good and what it can be used for
Create sample application that reads from a file a fixed size header and body and then writes to a different file a similar structure
In this video, we will learn about JNIO transfers.
Learn how to transfer data from a file to a channel and the other way around using transferFrom and transferTo
Create a sample application that copies a file to another
In this video, we will learn about JNIO select.
Learn how to use NIO select to handle multiple channels in a single thread
Create sample application that reads from multiple web sites parallel in a single thread and displays on the screen
In this video, we will learn about JNIO socket.
Understand the details of the SocketChannel and the ServerSocketChannel
Sample server that creates a server using NIO
In this video, we will talk about the summary of the entire course.
Get a gist of the entire course in a nutshell
Java provides numerous classes that have developed over the years to meet evolving networking needs. These range from low-level socket and IP-based approaches to those encapsulated in software services.
This practical tutorial provides a complete introduction to developing network programs with Java. We start with the basics of networking and then explore how Java supports the development of clients/servers. You’ll explore how to use Java’s network class library to rapidly and effortlessly accomplish common networking tasks such as writing multithreaded servers, network scalability, implementing application protocols, and filtering clients and client names. Java NIO packages are examined as well as multitasking, building hands-on NIO buffers, scatter and gather, and transferring data to channels and selectors.
By the end of this video tutorial, you will have mastered networking fundamentals (and advanced concepts) in Java to ensure you understand (and are capable of building) networked programs.
Author
Peter Verhas is a senior developer and software system architect with more than 30 years of software development experience. He currently works for EPAM as a senior developer, where he is involved in many customer projects and actively participates in the education activities of the company. Peter writes a technical blog and is committed to open source software development. He has been using Java since 2005 and is also an author at Java Code Geeks.