Agilla: A mobile agent middleware for self-adaptive wireless sensor networks
mate : a tiny virtual machine for sensor networks .