how to develope self adaptive framework using JADE platform