Software mechanism for efficient compiling and loading of java server pages (JSPs)
AssigneeInternational Business Machines Corporation
InventorsByron Lewis Bailey, Arthur Douglas Smet
Life of this patent
Estimating the term…
Abstract
Method and apparatus for processing java server pages (JSPs) which reduces the delays resulting from a first time invocation of a JSP. One embodiment provides a method for processing JSPs for a java virtual machine (JVM), comprising: selecting one or more JSP files to be processed for the JVM; translating the JSP files to java source code files; inserting quick exit codes to java source code files; compiling java source code files to servlet class files; and loading servlet class files into the JVM.
Claims26
A method for processing java server pages (JSPs) for a java virtual machine (JVM), comprising:
- selecting at least one JSP files to be processed for the JVM;
- translating the at least one JSP files to java source code files;
- inserting quick exit codes to java source code files;
- compiling java source code files to servlet class files;
- and
- loading servlet class files into the JVM.
A computer readable medium containing a program which, when executed, performs an operation, comprising:
- selecting one or more JSP files to be processed for a JVM;
- translating the JSP files to java source code files;
- inserting quick exit codes to java source code files;
- compiling java source code files to servlet class files;
- and
- loading servlet class files into the JVM.
A computer for processing JavaServer pages (JSPs), comprising:
- an application server computer comprising one or more processors and a memory, the memory containing a JSP processor and a Java Virtual Machine (JVM), wherein the JSP processor is configured to selectively load one or more JSP class files into the JVM prior to user requests for JSP files.
A method for processing JSPs for a JVM, comprising:
- initializing a web application containing the JVM;
- selecting one or more JSP files to be processed for the JVM;
- translating the JSP files to java source code files;
- inserting quick exit codes to java source code files;
- compiling java source code files to servlet class files;
- loading servlet class files into the JVM;
- and
- invoking servlet class files which exceed a size threshold value.
A method for processing a JSP for a JVM prior to a user request for the JSP, comprising:
- loading the JSP into the JVM;
- invoking the JSP;
- and
- terminating execution of the JSP prior to execution of user codes in the JSP.
Dependencies are inferred from the claim text.