1. A method comprising: executing, in an electronic device, a first application constrained from calling a middleware subsystem, wherein the middleware subsystem is able to access at least one feature selected from among a basic input/output system (BIOS) and hardware; and accessing, by the first application, the middleware system through a proxy, wherein accessing the middleware subsystem allows the first application to communicate with the at least one feature.