Patent ID: 8352911

Claim:
A machine-implemented method residing in a non-transitory computer-readable storage medium for execution by a processor, comprising: determining, by the processor, Java Stored Procedure (JSP) methods being used by an application by using a combination of: mining execution history for the application to resolve the JSP methods, parsing a source file for the application to resolve the JSP methods, receiving information via an interface that interacts with one or more applications users, wherein the information is used to resolve the JSP methods, and wherein when the application processes the execution history is tracked, recorded, and then mined to resolve at least some of the JSP methods; accessing, by the processor, a plurality of JAVA Archive (JAR) files to acquire each of the JSP methods; extracting, by the processor, each of the JSP methods from one of the JAR files; assembling, by the processor, a new packed JAR file having each of the JSP methods; replacing, by the processor, definitions for JSPs called in the application to call a new JSP that accesses each of the JSP methods via the new packed JAR file; installing the new packed JAR file for the application to access when the application executes and calls the JSPs, which results in the new JSP being called and processing each of the JSP methods via the new packed JAR file; and caching, by the processor, the new packed JAR file in memory after its first use by the application for future use by the application during its execution cycle.