A JXTA compliant framework for mobile handheld devices in ad-hoc networks