US 9,811,360 B2
Dynamic determination of application server runtime classloading
Erik J. Burckart, Durham, NC (US); Andrew Ivory, Wake Forest, NC (US); Todd E. Kaplinger, Raleigh, NC (US); Stephen J. Kenna, Cary, NC (US); and Aaron K. Shook, Raleigh, NC (US)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Sep. 29, 2015, as Appl. No. 14/869,967.
Application 13/407,663 is a division of application No. 12/828,286, filed on Jun. 30, 2010, granted, now 8,510,728, issued on Aug. 13, 2013.
Application 14/869,967 is a continuation of application No. 13/407,663, filed on Feb. 28, 2012, granted, now 9,183,007.
Prior Publication US 2016/0019072 A1, Jan. 21, 2016
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 9/44 (2006.01); G06F 9/445 (2006.01)
CPC G06F 9/44521 (2013.01) [G06F 9/445 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for dynamic selection of a runtime classloader for a generated class file, the method comprising:
loading in a container of a modular application execution environment source code of a program object in a programming language that is native to the container;
disposing a script within the source code of the program object conforming to a language not native for the container in the modular application execution environment;
translating the script into additional source code conforming to the programming language that is native for the container; and,
compiling the source code of the program object including the additional source code into a container class object; and,
writing meta-data to the compiled container class object, the meta-data indicting an identity of the container;
the meta-data being extracted from the container class object at run-time in an application server and being used to determine a container identity for a container in which the program object had been compiled so that the container is selected from a pool of containers according to the determined container identity and, so that the program object is classloaded in the selected container.