Java Network Programming, 4th Edition Developing Applications Networked 21107

This practical guide provides a complete introduction to developing network programs with Java. You'll learn how to use Java's network class library to quickly and easily accomplish common networking tasks such as writing multithreaded servers, encrypting communications, broadcasting to the local network and posting data to server-side programs. Author Elliotte Rusty Harold provides complete working programs to illustrate the methods and classes he describes. This thoroughly revised fourth edition covers REST, SPDY, asynchronous I/O, and many other recent technologies. Explore protocols that underlie the Internet, such as TCP/IP and UDP/IP Learn how Java's core I/O API handles network input and output Discover how the InetAddress class helps Java programs interact with DNS Locate, identify, and download network resources with Java's URI and URL classes Dive deep into the HTTP protocol, including REST, HTTP headers, and cookies Write servers and network clients, using Java's low-level socket classes Manage many connections at the same time with the nonblocking I/O

Chapter 1 : Network Basic Concepts
Networks
The Layers of a Network
IP, TCP, and UDP
The Internet
The Client/Server Model
Internet Standards
Chapter 2 : Streams
Output Streams
Input Streams
Filter Streams
Readers and Writers
Chapter 3 : Threads
Running Threads
Returning Information from a Thread
Synchronization
Deadlock
Thread Scheduling
Thread Pools and Executors
Chapter 4 : Internet Addresses
The InetAddress Class
Inet4Address and Inet6Address
The NetworkInterface Class
Some Useful Programs
Chapter 5 : URLs and URIs
URIs
The URL Class
The URI Class
x-www-form-urlencoded
Proxies
Communicating with Server-Side Programs Through GET
Accessing Password-Protected Sites
Chapter 6 : HTTP
The Protocol
HTTP Methods
The Request Body
Cookies
Chapter 7 : URLConnections
Opening URLConnections
Reading Data from a Server
Reading the Header
Caches
Configuring the Connection
Configuring the Client Request HTTP Header
Writing Data to a Server
Security Considerations for URLConnections
Guessing MIME Media Types
HttpURLConnection
Chapter 8 : Sockets for Clients
Using Sockets
Constructing and Connecting Sockets
Getting Information About a Socket
Setting Socket Options
Socket Exceptions
Sockets in GUI Applications
Chapter 9 : Sockets for Servers
Using ServerSockets
Logging
Constructing Server Sockets
Getting Information About a Server Socket
Socket Options
HTTP Servers
Chapter 10 : Secure Sockets
Secure Communications
Creating Secure Client Sockets
Choosing the Cipher Suites
Event Handlers
Session Management
Client Mode
Creating Secure Server Sockets
Configuring SSLServerSockets
Chapter 11 : Nonblocking I/O
An Example Client
An Example Server
Buffers
Channels
Readiness Selection
Chapter 12 : UDP
The UDP Protocol
UDP Clients
UDP Servers
The DatagramPacket Class
The DatagramSocket Class
Socket Options
Some Useful Applications
DatagramChannel
Chapter 13 : IP Multicast
Multicasting
Working with Multicast Sockets
Two Simple Examples
Index
Colophon

  • Автор
    Elliotte Rusty Harold
  • Категорія
    Програмування
  • Мова
    Англійська
  • Рік
    2014
  • Сторінок
    504
  • Формат
    170х240 мм
  • Обкладинка
    М'яка
  • Тип паперу
    Офсетний
  • Ілюстрації
    Чорно-білі
  • Номер видання
    4-е вид.
29.10
750 ₴
Відділення Нова Пошта80 ₴
Поштомат Нова Пошта40 ₴
Кур’єр Нова Пошта120 ₴
Відділення УкрПошта50 ₴
Кур’єр за адресою90 ₴
Java Network Programming, 4th Edition Developing Applications Networked - фото 1
21107
Залиште свій відгук про книгу,
допоможіть тим, хто ще не читав