Java 9 Recipes pp 195-219 | Cite as

Input and Output

  • Josh Juneau


Today, writing an application that does not communicate over the Internet in some fashion is rare. From sending data to another machine, to scraping information off remote web pages, networking plays an integral part in today’s computing world. Java makes it easy to communicate over a network using the New I/O (NIO) and more new I/O features for the Java platform (NIO.2) APIs. Java SE 7 included a few new features, enabling easier multicasting among other things. With the addition of these new features, the Java platform contains a plethora of programming interfaces to help accomplish network tasks. Java 9 introduces the new HTTP/2 client, which provides a simple and concise API, as well as performance improvements over the older HTTP/1.1 client.


Brittle Editing 

Copyright information

© Josh Juneau 2017

Authors and Affiliations

  • Josh Juneau
    • 1
  1. 1.HinckleyUSA

Personalised recommendations