A distributed sensor network based on JINI technology