Java Non-Blocking IO with Java.NIO and Design Patterns (Udemy.com)

Mini-Course on how non-blocking network communication is done in Java. Level: difficult

Created by: Heinz Kabutz

Produced in 2018

icon
What you will learn

  • Understand how non-blocking Java NIO works
  • Appreciate how Design Patterns can be used to support reusability

icon
Quality Score

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 92 / 100

icon
Course Description

Java.NIO has been with us since Java 1.4. Yep, that's over 15 years ago! And you still don't know how it works?
No worries, we're here to help :-)
In this mini-course, we start by learning how the "old" Java.IO works by writing three different servers.
Wethen move over to Java.NIO, which stands for "New IO", not as mostpeople think "Non-blocking IO". Our first example uses a blockingJava.NIO server, to show this.
We then write a pollingnon-blocking Java.NIO server, which consumes a lot of CPU, but is ableto support more sockets than the blocking varieties.
Finally, we write two slightly different non-blocking servers using the Selector to react to events that might happen on our sockets.
This mini-course is designed for you to code along. By the end, youshould have a working understanding of how to communicate over socketsin a blocking and non-blocking fashionWho this course is for:
  • Good Java programmers who want to become better

icon
Instructor Details

placeholder

Dr Heinz Kabutz is a computer scientist who specializes in the Java Programming Language. He is a Java Champion and a JavaOne Rock Star Speaker. He has been teaching Java since 1999 to thousands of programmers in many different countries. His primary focus is offering in-house courses to companies to teach professional Java programmers to be even more effective at their coding. He is a regular speaker at conferences around the world, such as Devoxx, Voxxed Days, Java One, JAX and many JUG events.

icon
Reviews

4.6

43 total reviews

5 star 4 star 3 star 2 star 1 star
% Complete
% Complete
% Complete
% Complete
% Complete

Concise, clear and knowledgable explanations.

Cool stuff so far

Amazing course

Thoroughly enjoyed the course thus far.

Teacher's approach is great.

Very interesting and well explained topic.

The course is great! A lot new information. Although that code is rather complex and It would nice to have notes (author comments at least the most crucial ones) in written form.

I always saw many books in the surface, but it didn't attract me. But this simple and easy starter made me to dive into your course.

This course is extremely well presented and Heinz Kabutz constantly explains why he is doing something, rather than just what he is doing. I have learnt a great deal, both about Java and about general design principles.

Great course! I liked the hands-on experience. I agree with Heinz Kabutz on the importance of doing the exercises, in particular typing in all the code.

Showing all the IntelliJ shortcuts used is a nice touch.

What could make the course better is some diagrams showing what is happening behind the scenes. For example, it really needs a sequence diagram of interactions between the main thread and the workers in ExecutorService.

Quick paced and hands on coding all thru!

Thanks, Heinz - I have enjoyed reading your newsletters past few years and this video course is just as fun and enjoyable :)

Highly recommend it to fellow Java developers.

One tiny suggestion - a couple of smaller sections could be rolled in.

Short, effective and spontaneous - Heinz will show you basics of NIO and guide you to typing your own non blocking java server. Easy to recommend.