Java network programming = Java网络编程 / 第三版.

副标题:无

作   者:Elliotte Rusty Harold.

分类号:

ISBN:9787564100421

微信扫一扫,移动浏览光盘

简介

  “直到找到这本书,我才开始理解Java的网络机制。”    ——Bruce Eckel,《Thinking in Java》的作者      《Java网络编程》(第三版)介绍了Java网络API的最新特性。本书对JDK 1.4和1.5(被命名为J2SE 5)中网络部分的所有改变和新增内容进行了讨论,涵盖了从网络基础到远程方法调用(RMI)的所有内容,包括TCP和UDP套接字、服务器套接字、URL和URI、广播、特殊用途API(如JavaMail)。本书揭示了如何使用JSSE编写安全的网络应用程序,解释了如何使用NIO API编写超高性能的服务器程序。此外,还涵盖了Java对网络代理,Web cookie和URL缓存的支持。   《Java网络编程》并不仅仅解释API,而是展示了如何在实际工作中使用它们。本书提供了大量的实例,包括数千行能够运行的代码(所有实例可从网站下载),实现了全功能的网络客户机和服务器程序。不论是编写特殊用途的Web服务器程序,安全性能要求较高的在线订单接收程序,简单的广播代理程序,还是电子邮件客户端程序,都可以在本书中找到可供学习和借鉴的代码。   无论是经验丰富的网络开发人员、Java编程新手,或是只想了解Java所能实现功能的读者,都会发现《Java网络编程》(第三版)是您的必备图书。一旦开始使用Java网络API,您会发现它能实现的功能超乎想象。   Elliotte Rusty Harold是Cafe au Lait(重要的Java新闻在线资源http://www.cafeaulait.org/)的创建者。他参与了XOM API的开发,同时也是《Java I/O》《XML in a Nutshell》等多本Java和XML相关书籍的作者。            

目录

preface

1. why networked java?
what can a network program do?

security
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 media types
server-side programs
4. streams
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
the inetaddress class
inet4address and inet6address
the networkinterface class
some useful programs
7. urls and uris
the url class
the urlencoder and urldecoder classes
the uri class
proxies
communicating with server-side programs through get
accessing password-protected sites
8. html in swing
html on components
jeditorpane
parsing html
cookies
9. sockets for clients
socket basics
investigating protocols with telnet
the socket class
socket exceptions
socket addresses
examples
10. sockets for servers
the serversocket class
some useful servers
11. secure sockets
secure communications
creating secure client sockets
methods of the sslsocket class
creating secure server sockets
methods of the sslserversocket class
12. non-blocking i/o
an example client
an example server
buffers
channels
readiness selection
13. udp datagrams and sockets
the udp protocol
the datagrampacket class
the datagramsocket class
some useful applications
datagramchannel
14. multicast sockets
what is a multicast socket?

working with multicast sockets
two simple examples
15. urlconnections
opening urlconnections
reading data from a server
reading the header
configuring the connection
configuring the client request http header
writing data to a server
content handlers
the object methods
security considerations for urlconnections
guessing mime content types
httpurlconnection
caches
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 the fits image format
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


已确认勘误

次印刷

页码 勘误内容 提交人 修订印次

Java network programming = Java网络编程 / 第三版.
    • 名称
    • 类型
    • 大小

    光盘服务联系方式: 020-38250260    客服QQ:4006604884

    意见反馈

    14:15

    关闭

    云图客服:

    尊敬的用户,您好!您有任何提议或者建议都可以在此提出来,我们会谦虚地接受任何意见。

    或者您是想咨询:

    用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问

    Video Player
    ×
    Audio Player
    ×
    pdf Player
    ×
    Current View

    看过该图书的还喜欢

    some pictures

    解忧杂货店

    东野圭吾 (作者), 李盈春 (译者)

    loading icon