An electronic device (100, 901) comprising: a touchscreen display; a first processor operatively connected with the touchscreen display; a first memory operatively connected with the first processor, and configured to store a first application; and a secure element operatively connected with the touchscreen display, the first processor, and the first memory and including: a second processor; and a second memory configured to store a first framework, a plurality of second frameworks, and a first applet associated with the first application, wherein the first framework is a common service framework, and wherein each of the plurality of second frameworks is a dedicated service framework that is used exclusively for a specific service, wherein the first memory includes instructions that, when executed, cause the first processor to: receive a first user input requesting an execution of the first application through the touchscreen display; and transfer target information specifying the first applet to the secure element based on the first user input thus received, wherein the second processor is configured to: select one framework of the plurality of second frameworks, based on at least a portion of information of the first applet corresponding to the target information; execute the selected framework; and drive the first applet by using the executed framework. a touchscreen display; a first processor operatively connected with the touchscreen display; a first memory operatively connected with the first processor, and configured to store a first application; and a secure element operatively connected with the touchscreen display, the first processor, and the first memory and including: a second processor; and a second memory configured to store a first framework, a plurality of second frameworks, and a first applet associated with the first application, wherein the first framework is a common service framework, and wherein each of the plurality of second frameworks is a dedicated service framework that is used exclusively for a specific service, a second processor; and a second memory configured to store a first framework, a plurality of second frameworks, and a first applet associated with the first application, wherein the first framework is a common service framework, and wherein each of the plurality of second frameworks is a dedicated service framework that is used exclusively for a specific service, wherein the first memory includes instructions that, when executed, cause the first processor to: receive a first user input requesting an execution of the first application through the touchscreen display; and transfer target information specifying the first applet to the secure element based on the first user input thus received, wherein the second processor is configured to: select one framework of the plurality of second frameworks, based on at least a portion of information of the first applet corresponding to the target information; execute the selected framework; and drive the first applet by using the executed framework. receive a first user input requesting an execution of the first application through the touchscreen display; and transfer target information specifying the first applet to the secure element based on the first user input thus received, wherein the second processor is configured to: select one framework of the plurality of second frameworks, based on at least a portion of information of the first applet corresponding to the target information; execute the selected framework; and drive the first applet by using the executed framework. select one framework of the plurality of second frameworks, based on at least a portion of information of the first applet corresponding to the target information; execute the selected framework; and drive the first applet by using the executed framework.