Optimizing resources on gateways using OSGi | IEEE Conference Publication | IEEE Xplore