tag:blogger.com,1999:blog-5135517.post7270722840277524933..comments2023-11-05T03:54:44.710-08:00Comments on Making it stick.: Can iTunes Accomplish What Jini Couldn't?Patrick Loganhttp://www.blogger.com/profile/02088461489050417591noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-5135517.post-62938871562935160292007-06-10T01:55:00.000-07:002007-06-10T01:55:00.000-07:00I doubt Bonjour can replace all of Jini's lookup/d...I doubt Bonjour can replace all of Jini's lookup/discovery - it assumes clients already understand the protocol of the service they're looking for. There's no support for code download.<BR/><BR/>I could imagine Bonjour being used to replace the discovery element which is all about finding lookup services.<BR/><BR/>There are also some other implications such as lease lifetimes on registered services - from the relevant IETF spec for Bonjour (excuse the formatting):<BR/><BR/>" Update Requests contain, in the LEASE field of the OPT RDATA, a<BR/> signed 32-bit integer indicating the lease life, in seconds, desired<BR/> by the client. In Update Responses, this field contains the actual<BR/> lease granted by the server. Note that the lease granted by the<BR/> server may be less than, greater than, or equal to the value<BR/> requested by the client. To reduce network and server load, a<BR/> minimum lease of 30 minutes (1800 seconds) is RECOMMENDED. Note that<BR/> leases are expected to be sufficiently long as to make timer<BR/> discrepancies (due to transmission latency, etc.) between a client<BR/> and server negligible. Clients that expect the updated records to be<BR/> relatively static MAY request appropriately longer leases. Servers<BR/> MAY grant relatively longer or shorter leases to reduce network<BR/> traffic due to refreshes, or reduce stale data, respectively."<BR/><BR/>Also worth noting the multicast magic requires the presence of a native daemon known as mDNSResponder:<BR/><BR/>"mDNSResponder is a Bonjour system service that implements Multicast DNS Service Discovery for discovery of services on the local network, and Unicast DNS Service Discovery for discovery of services anywhere in the world. mDNSResponder is built into Mac OS X and can be downloaded as part of Bonjour for Windows. Applications like iTunes, iPhoto, iChat and Safari use mDNSResponder to implement zero-configuration network music sharing, photo sharing, chatting and file sharing, and discovery of remote user interfaces for hardware devices like printers and web cameras. mDNSResponder is also used to discover and print to Bonjour printers and USB printers connected to the AirPort Extreme and Express base stations. mDNSResponder is open source, and hardware device manufacturers are encouraged to embed the mDNSResponder source code directly into their products to benefit from zero-configuration networking."<BR/><BR/>So Bonjour+Jini not trivial but not impossible either.....<BR/><BR/>Dan.<BR/>http://www.dancres.org/PetrolHeadhttps://www.blogger.com/profile/06404572533828179184noreply@blogger.com