Patent ID: 8510728

Claim:
A data processing system configured for dynamic selection of a runtime classloader for a generated class file, the system comprising: a computer with at least one processor and memory; an operating system hosting an application server supporting the execution of a modular component execution environment; an object repository of program objects coupled to the computer; and, dynamic container selection logic hosted by the operating system and coupled to the modular component execution environment and the object repository, the logic comprising program code that when executed in the computer extracts meta-data from a program object in the object repository that has been directed for execution in the application server, determines from the meta-data a container identity for a container in which the program object had been compiled, selects a container according to the meta-data, and classloads the program object in the selected container; wherein the meta data is generated by receiving a directive in a container to compile source code compliant with a programming language native to the container, identifying in the source code an embedded script in a language not native to the container, translating the embedded script into the programming language native to the container, compiling the source code with the translated embedded script into a program object, and including in the compiled code meta data identifying the container and its version.