mDNS
Description
This bundle provides a service and a shell command to publish and retrieve references with mDNS.
For more details on how to use this bundle, refer to the /doc/readme.html file embedded in the bundle jarfile.
Contributors
Felix Project Team
License
ASL2
Services
- org.apache.felix.sandbox.mdns.MDnsService
- org.apache.felix.shell.Command
Properties
The bundle property mdns.debug
is the debug level of the JmDns registry.
(default : 0)
Requirements
Build
- build with Maven :
mvn clean install
Usage
run commands in this script mdns.txt
Options of the mdns
command are:
mdns help - Show this help message.
mdns types - list the service types.
mdns services <type> - list the services.
mdns info - mDNS information.
mdns register <type> <name> <port> <text> - register a service.
mdns register <type> <name> <port> <priority> <weight> <key=value;key=value;...> - register a service.
mdns unregister all - register all the services.
mdns browser - open a gui browser (DISABLED since the mdns:mdns:1.0 must be patched).
Usage
- register web pages served by the Http Service Impl
- register JMX service url served by the connectors and adapters of a OSGi-based JMX agent such as M-OSGi
- expose OSGi service with remoting connector (SOAP, RMI, XML-RPC, ...)
Screnshoots
Tested gateways (testers are welcome)
- Oscar under Windows 2000/XP
- Felix under Windows 2000/XP and Linux
TODOLIST (contributions are welcome)
- fix problem with WiFi interface
- browse similar to http://developer.apple.com/documentation/Java/Reference/DNSServiceDiscovery_JavaRef/index.html
Links
- Karl Pauls and Richard S. Hall, Eureka - A Resource Discovery Service for
Component Deployment, http://www.inf.fu-berlin.de/inst/ag-ss/papers/eureka_cd_20040520.sxw.pdf
- Fen Zhu; Mutka, M.W.; Ni, L.M., Service Discovery in Pervasive Computing Environments
IEEE Pervasive Computing, Volume 4, Issue 4, Oct.-Dec. 2005 Page(s): 81 - 90, Digital Object Identifier 10.1109/MPRV.2005.87
Summary: Pervasive computing environments pose unique service discovery challenges, especially with regard to integrating computing devices with people and their ambient environments. Extremely dynamic environments and computing resources and security issues...