O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Java Network Programming Recipes

Video Description

Implement fundamental, hands-on networking concepts in Java 9 with the IP/UDP and TCP protocols and implement application protocols with Java NIO programming

About This Video

  • Explore protocols that underlie the Internet, such as TCP/IP and UDP/IP.
  • Learn to deliver superior server-to-server communication through the networking channels
  • Write servers and network clients, using Java’s low-level socket classes.

In Detail

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.