My Account Log in

2 options

Learning network programming with Java : harness the hidden power of Java to build network-enabled applications with lower network traffic and faster processes / Richard M. Reese.

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Reese, Richard M., author.
Series:
Community experience distilled.
Community Experience Distilled
Language:
English
Subjects (All):
Java (Computer program language).
Computer networks.
Physical Description:
1 online resource (292 p.)
Edition:
1st edition
Place of Publication:
Birmingham, England : Packt Publishing, 2015.
System Details:
text file
Summary:
Harness the hidden power of Java to build network-enabled applications with lower network traffic and faster processes About This Book Learn to deliver superior server-to-server communication through the networking channels Gain expertise of the networking features of your own applications to support various network architectures such as client/server and peer-to-peer Explore the issues that impact scalability, affect security, and allow applications to work in a heterogeneous environment Who This Book Is For Learning Network Programming with Java is oriented to developers who wish to use network technologies to enhance the utility of their applications. You should have a working knowledge of Java and an interest in learning the latest in network programming techniques using Java. No prior experience with network development or special software beyond the Java SDK is needed. Upon completion of the book, beginner and experienced developers will be able to use Java to access resources across a network and the Internet. What You Will Learn Connect to other applications using sockets Use channels and buffers to enhance communication between applications Access network services and develop client/server applications Explore the critical elements of peer-to-peer applications and current technologies available Use UDP to perform multicasting Address scalability through the use of core and advanced threading techniques Incorporate techniques into an application to make it more secure Configure and address interoperability issues to enable your applications to work in a heterogeneous environment In Detail Network-aware applications are becoming more prevalent and play an ever-increasing role in the world today. Connecting and using an Internet-based service is a frequent requirement for many applications. Java provides numerous classes that have evolved over the years to meet evolving network needs. These range from low-level socket and IP-based approaches to those encapsulated in software services. This book explores how Java supports networks, starting with the basics and then advancing to more complex topics. An overview of each relevant network technology is presented followed by detailed examples of how to use Java to support these technologies. We start with the basics of networking and then explore how Java supports the development of client/server and peer-to-peer applications. The NIO packages are examined as well as multitasking and how netwo...
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Network Programming; Network addressing using the InetAddress class; NIO support; Using the URLConnection class; Using the URLConnection class with buffers and channels; The client/server architecture; Creating a simple echo server; Creating a simple echo client; Using Java 8 to support the echo server and client; UDP and multicasting; Creating a multicast server; Creating the multicast client; Scalability; Creating a threaded server
Using the threaded serverSecurity; Creating a SSL server; Creating an SSL client; Generating secure keys; Summary; Chapter 2: Network Addressing; Networking basics; Understanding network basics; Network architectures and protocols; Using the NetworkInterface class; Getting a MAC address; Getting a specific MAC address; Getting multiple MAC addresses; Network addressing concepts; URL/URI/URN; Using the URI class; Creating URI instances; Splitting apart a URI; Using the URL class; Creating URL instances; Splitting apart a URL; IP addresses and the InetAddress class
Obtaining information about an addressAddress scoping issues; Testing reachability; Introducing the Inet4Address; Private addresses in IPv4; IPv4 address types; The Inet4Address class; Special IPv4 addresses; Introducing the Inet6Address class; Private addresses in IPv6; The Inet6Address class; Special IPv6 addresses; Testing for the IP address type; Using IPv4-compatible IPv6 addresses; Controlling network properties; Summary; Chapter 3: NIO Support for Networking; Java NIO; Introduction to buffers; Using channels with a time server; Creating a time server; Creating a time client
The chat server/client applicationsThe chat server; The chat client; Server/client interaction; The HelperMethods class; Handling variable length messages; Running the chat server/client application; Handling multiple clients; The parts server; The parts client handler; The parts client; Running the parts client/server; Asynchronous socket channels; Creating the asynchronous server socket channel server; Creating the asynchronous socket channel client; Other buffer operations; Bulk data transfer; Using a view; Using read-only buffers; Controlling socket options; Summary
Chapter 4: Client/Server DevelopmentThe HTTP protocol structure; The nature of HTTP messages; Initial request line format; Header lines; Message body; Client/Server interaction example; Java socket support for HTTP client/server applications; Building a simple HTTP server; Building a simple HTTP client; Client/server development using standard Java classes; Using the HttpURLConnection class; URL encoding; Using the HTTPServer class; Implementing a simple HTTPServer class; Managing response headers; Open source Java HTTP servers; Server configuration; Handling cookies; Summary
Chapter 5: Peer-to-Peer Networks
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed May 17, 2017).
ISBN:
9781785882562
1785882562
OCLC:
935744766

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account