Skip to main content

Networking

  • Chapter
  • First Online:
  • 2400 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Josh Juneau

About this chapter

Cite this chapter

Juneau, J. (2017). Networking. In: Java 9 Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1976-8_21

Download citation

Publish with us

Policies and ethics