发明名称 Scripting framework for business objects
摘要 A business object infrastructure may comprise a repository storing a business object having a plurality of nodes, including at least one exit node associated with a code snippet written in a programming language. The business object infrastructure may further include a scripting framework coupled to the repository. The scripting framework may, responsive to a request received from a client device, execute the business object at a processing framework until the exit node is reached. When the exit node is reached, the scripting framework may load the code snippet from the repository and, based on the programming language of the code snippet, select a virtual machine interpreter for the code snippet.
申请公布号 US9063753(B2) 申请公布日期 2015.06.23
申请号 US201012820387 申请日期 2010.06.22
申请人 SAP SE 发明人 Schaude Horst
分类号 G06F9/44 主分类号 G06F9/44
代理机构 Buckley, Maschoff & Talwalkar LLC 代理人 Buckley, Maschoff & Talwalkar LLC
主权项 1. A method comprising: storing a business object at a business object infrastructure repository, the business object having a plurality of nodes, including at least one exit node associated with a code snippet written in a programming language; responsive to a request received from a client device, executing the business object at a processing framework until the exit node is reached; loading, from the repository, the code snippet that is written in the programming language and associated with the exit node; selecting a virtual machine interpreter, from a plurality of virtual machine interpreters, for the code snippet that is associated with the exit node of the business object based on the programming language of the code snippet that is associated with the exit node of the business object; calling the code snippet via the selected virtual machine interpreter; and returning to the business object via the exit node and resuming execution of the business object; wherein the exit node that is included in the business object and associated with the code snippet written in the programming language is a first exit node that is included in the business object and associated with a first code snippet written in a first programming language; wherein the loading, from the repository, the code snippet that is written in the programming language and associated with the exit node comprises: loading, from the repository, the first code snippet that is written in the first programming language and associated with the first exit node; wherein the selecting a virtual machine interpreter, from a plurality of virtual machine interpreters, for the code snippet based on the programming language of the code snippet comprises: selecting a first virtual machine interpreter for the first code snippet based on the first programming language of the first code snippet; and wherein the returning to the business object via the exit node and resuming execution of the business object comprises: returning to the business object via the first exit node and resuming execution of the business object until a second exit node of the business object is reached, the second exit node of the business object being associated with a second code snippet written in a second programming language that is different than the first programming language in which the first code snippet that is associated with the first exit node of the business object is written.
地址 Walldorf DE