Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
331 views
in Technique[技术] by (71.8m points)

Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?

Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I'm also curious to find the best cross-platform DNS-SD (Zeroconf, Bonjour, DNS self discovery) library exists out there.

It does sound like Apple's DNS-SD dnssd.jar is the "official" Java library that requires native library support on Windows, Linux, etc, but works out of the box on Mac OSX.

There are other pure Java DNS-SD implementations, but it's unclear if any of them offer a library that is as easy to use or fully tested as DNS-SD (some of the projects appear to be abandoned for 2 years).

  1. Official Apple DNS-SD mDNSResponder library
  2. mDNSResponder and jmDNS integration - There's been some work to create a library that provides a common DNS-SD interface to jmDNS and Apple's mDNSResponder implementation. Instructions to use the jmDNS wrapper.
  3. waiter - Described as a "modern DNS library and an effective DNS-SD (Service Discovery) library." It utilizes java NIO networking.
  4. jmDNS - JmDNS provides easy-to-use pure-Java mDNS implementation that runs on JDK 1.4 and higher
  5. JiveDNS - "JiveDNS is a fork of the defunct JmDNS library, used for multicast DNS service discovery and registration." (it itself has not seen an SVN update in over 2 years)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...