Résumé
Java Network Programming, 2nd Edition, is a complete introduction to developing network programs (both applets and applications) using Java, covering everything from Networking fundamentals to remote method invocation (RMI). It includes chapters on TCP and UDP sockets, multicasting protocol and content handlers, and servlets. This second edition also includes coverage of Java 1.1, 1.2 and 1.3. New chapters cover multithreaded network programming, I/O, HTML parsing and display, the Java Mail API, the Java Secure Sockets Extension, and more.
Table of ContentsPreface
1. Why Networked Java?
What Can a Network Program Do?
But Wait!-There's More!
2. Basic Network Concepts
Networks
The Layers of a Network
IP, TCP, and UDP
The Internet
The Client/Server Model
Internet Standards
3. Basic Web Concepts
URIs
HTML, SGML, and XML
HTTP
MIME
CGI
Applets and Security
4. Java I/O
Output Streams
Input Streams
Filter Streams
Readers and Writers
5. Threads
Running Threads
Returning Information from a Thread
Synchronization
Deadlock
Thread Scheduling
Thread Pools
6. Looking Up Internet Addresses
DNS, IP Addresses, and All That
The InetAddress Class
Some Useful Programs
7. Retrieving Data with URLs
The URL Class
The URLEncoder and URLDecoder Classes
Communicating with CGIs and Servlets Through GET
Accessing Password-Protected Sites
8. HTML in Swing
HTML on Components
JEditorPane
Parsing HTML
9. The Network Methods of
java.applet.Applet
Using java.applet.Applet to Download Data
The ImageObserver Interface
The MediaTracker Class
Network Methods of java.applet.AppletContext
10. Sockets for Clients
Socket Basics
Investigating Protocols with Telnet
The Socket Class
Socket Exceptions
Examples
11. Sockets for Servers
The ServerSocket Class
Some Useful Servers
12. Secure Sockets
Secure Communications
Creating Secure Client Sockets
Methods of the SSLSocket Class
Creating Secure Server Sockets
Methods of the SSLServerSocket Class
13. UDP Datagrams and Sockets
The UDP Protocol
The DatagramPacket Class
The DatagramSocket Class
Some Useful Applications
14. Multicast Sockets
What Is a Multicast Socket?
Working with Multicast Sockets
Two Simple Examples
15. The URLConnection Class
Opening URLConnections
Reading Data from a Server
Reading the Header
Configuring the Connection
Configuring the Client Request MIME Header
Writing Data to a Server
Content Handlers
The Object Methods
Security Considerations for URLConnections
Guessing MIME Types
HttpURLConnection
JarURLConnection
16. Protocol Handlers
What Is a Protocol Handler?
The URLStreamHandler Class
Writing a Protocol Handler
More Protocol Handler Examples and Techniques
The URLStreamHandlerFactory Interface
17. Content Handlers
What Is a Content Handler?
The ContentHandler Class
The ContentHandlerFactory Interface
A Content Handler for an Image Format: image/x-fits
18. Remote Method Invocation
What Is Remote Method Invocation?
Implementation
Loading Classes at Runtime
The java.rmi Package
The java.rmi.registry Package
The java.rmi.server Package
19. The JavaMail API
What Is the JavaMail API?
Sending Email
Receiving Mail
Password Authentication
Addresses
The URLName Class
The Message Class
The Part Interface
Multipart Messages and File Attachments
MIME Messages
Folders
Index
L'auteur - Elliotte Rusty Harold
Elliotte Rusty Harold is an internationally respected writer, programmer, and educator. He is an Adjunct Professor of Computer Science at Polytechnic University in Brooklyn, where he lectures on Java and object-oriented programming. His Cafe con Leche Web site has become one of the most popular sites for information on XML. In addition, he is the author and coauthor of numerous books, the most recent of which are The XML Bible (John Wiley & Sons, 2001) and XML in a Nutshell (O'Reilly, 2002).
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | Elliotte Rusty Harold |
Parution | 01/08/2000 |
Édition | 2eme édition |
Nb. de pages | 757 |
Couverture | Broché |
Poids | 710g |
Intérieur | Noir et Blanc |
EAN13 | 9781565928701 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse