Java definitions for Internet of things