学习java网络的书籍推荐

发布于 2024-09-05 09:53:42 字数 402 浏览 6 评论 0原文

为了弥补我在网络基础知识方面(明显的)缺乏,我正在寻找一本理想地涵盖以下内容的书:

-> 1或2章关于传输层:tcp、udp...-

> 1、2章应用层:http、dns...-

>本书的其余部分将致力于使用 Java 相关技术通过网络发送数据的实用方法。这将涉及对现有产品(例如 hessian、protobuf、thrift、tibco...)、性能比较、案例研究...等的讨论。

是否存在这样的书?

编辑:感谢到目前为止的所有答案...但是列出的大多数书籍都重点关注网络堆栈的较低级别(即 tcp/ip、网络管理...)。 这只是答案的二分之一。我仍然渴望听到关于另一半的建议:围绕 Java 开发人员可用于传输数据的“最先进”选项的讨论、可用的产品/框架以及它们如何进行比较。

In order to cover for my (glaring) lack of knowledge in the basics of networking, I'm looking for a book which would ideally cover:

-> 1 or 2 chapters on the transport layer: tcp, udp...

-> 1 or 2 chapters on the application layer: http, dns...

-> rest of the book would be devoted to pratical way of sending data across the wire using Java-related technologies. This would involve discussions about existing products (eg. hessian, protobuf, thrift, tibco...) , performances comparisons, case studies...etc..

Does such a book exist ?

Edit: Thanks for all the answers so far... however most of the books listed focus heavily on the lower levels of the networking stack (ie. tcp/ip, network administration...).
This is one-half of the answer only. I'm still eager to hear suggestions about the other half: discussions around the "state of the art" options available to the Java developer to ferry data around, what products/frameworks are available and how do they compare.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

红焚 2024-09-12 09:53:42

O'Reilly 的 Java 网络编程,第 3 版 是学习 Java 网络编程的良好资源。

O'Reilly's Java Network Programming, 3rd Edition is a good resource for learning network programming with Java.

昔日梦未散 2024-09-12 09:53:42

我推荐java 教程的网络部分。对于核心 Java 功能,Java 教程是您应该去的地方。

I would recommend the networking section of the java tutorial. For core java features the java tutorial is the place to go.

伤感在游骋 2024-09-12 09:53:42

如果您正在寻求改进网络基础知识,那么最好查看涵盖网络基础知识的书籍。一旦您熟悉了网络基础知识,您就可以从 Java 教程中的网络部分开始,探索适当的 Java 库。网络是一个独立的领域,其理解独立于任何编程语言。

也就是说,我发现一些有用的网络书籍是:

Internetworking with TCP/IP ,第 1 卷
作者:Douglas Comer

TCP/IP 图解卷 1
作者:W.Richard Stevens

计算机网络
作者:安德鲁·S·塔南鲍姆

If you are looking for improving upon basics on networking it would be better if you look at books which cover basics of networking. Once you are comfortable with the basics of networking you can start with the networking section in Java tutorial and explore the appropriate Java libraries. Networking is an area of its own whose understanding is independent of any programming language.

That said, some of the networking books which I have found helpful are :

Internetworking with TCP/IP, Vol 1
by Douglas Comer

TCP/IP Illustrated Vol.1
by W.Richard Stevens

Computer Networks
by Andrew.S.Tanenbaum

唠甜嗑 2024-09-12 09:53:42

这是一本针对 Java 初学者的通用书籍,但有关网络的部分非常非常清晰且易于掌握。

Head First Java,第二版

It's a general book for Java beginners but the part about networking is very, VERY clear and easy to grasp.

Head First Java, 2nd Edition

彡翼 2024-09-12 09:53:42

对于 TCP/IP 文本(不以 Java 为中心)

对于 Java我会选择这本书。大多数书籍都非常过时,并且不涵盖较新的内容,这本书涵盖了 NIO 并在示例中使用了泛型。

For a TCP/IP text (Not Java centric)

For a Java Networking book I would go with this. Most books are very dated and do not cover the newer stuff, this one covers NIO as well as uses generics in the examples.

温柔嚣张 2024-09-12 09:53:42

作为一般网络方面的入门读本,我建议您阅读 TCP/IP 网络管理,第三版 ,克雷格·亨特著。本书有一章介绍 TCP/IP 堆栈,另一章介绍寻址和路由,本书的其余部分以合理的深度介绍了最常见的网络服务和诊断工具。

如需重量级参考,请获取 TCP/IP 插图,第 1 卷:协议 ,作者:Richard Stephens,如果您对网络着迷,请购买或借用第 2 卷和第 3 卷。

就 Java 特定网络介绍而言,我建议 Java 网络编程,第三版,作者:Elliotte Rusty Harold,这本书确实受到了一些批评,但我仍然相信这是一个很好的介绍,并且是一本平易近人的读物。

As a primer on networking in general, I'd recommend TCP/IP Network Administration, Third Edition, by Craig Hunt. This book provides a chapter on the TCP/IP stack, another on Addressing and routing and the remainder of the book covers in reasonable depth most common network services and diagnostic tools.

For a heavyweight reference, get TCP/IP Illustrated, Vol 1: The Protocols, by Richard Stephens, if you become obsessed with networks buy or borrow volumes 2 and 3.

As far as Java specific networking introduction, I'd suggest Java Network Programming, Third Edition, by Elliotte Rusty Harold, this book does take some critiscim but I still believe it's a good introduction and is an approachable read.

或十年 2024-09-12 09:53:42

Kurose/Ross 的计算机网络 - 自上而下的方法对 Java 有着相当浓厚的兴趣,配套网站上有大量配套 Java 项目。

章节:

  1. 计算机网络和互联网
  2. 应用层(HTTP、FTP、SMTP)
  3. 传输层(TCP、UDP)
  4. 网络层(路由器、IP)
  5. 链路层和局域网
  6. 无线和移动网络
  7. 多媒体
  8. 网络计算机网络安全
  9. 网络管理

computer networking - a top-down approach by Kurose/Ross has quite a heavy java leaning, and there are loads of companion java projects on the companion website.

chapters:

  1. Computer Networks and the Internet
  2. Application Layer (HTTP, FTP, SMTP)
  3. Transport Layer (TCP, UDP)
  4. The Network Layer (Routers, IP)
  5. The Link Layer and Local Area Networks
  6. Wireless and Mobile Networks
  7. Multimedia Networking
  8. Security in Computer Networks
  9. Network Management
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文