Software mechanism for efficient compiling and loading of java server pages (JSPs)
First Claim
Patent Images
1. A method for processing Java®
- server pages, comprising;
selecting at least one Java®
server page to be processed, prior to receiving any client requests for the at least one Java®
server page;
translating the at least one Java®
server page into a Java®
source code file;
inserting a quick exit code into the Java®
source code file;
compiling the Java®
source code files to generate a servlet;
loading the servlet into a memory of a virtual machine andinvoking the servlet on the virtual machine, wherein the quick exit code causes the servlet to exit before a service method associated with the servlet is invoked.
2 Assignments
0 Petitions
Accused Products
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.
-
Citations
18 Claims
-
1. A method for processing Java®
- server pages, comprising;
selecting at least one Java®
server page to be processed, prior to receiving any client requests for the at least one Java®
server page;translating the at least one Java®
server page into a Java®
source code file;inserting a quick exit code into the Java®
source code file;compiling the Java®
source code files to generate a servlet;loading the servlet into a memory of a virtual machine and invoking the servlet on the virtual machine, wherein the quick exit code causes the servlet to exit before a service method associated with the servlet is invoked. - View Dependent Claims (2, 3, 4, 5, 6)
- server pages, comprising;
-
7. A computer readable medium containing a program which, when executed, performs an operation, comprising:
-
selecting at least one Java®
server page to be processed;translating the at least one Java®
server page into a Java®
source code file;inserting a quick exit code into the Java®
source code file;compiling the java®
source code files to generate a servlet;loading the servlet into a memory of a virtual machine; and invoking the servlet on the virtual machine, wherein the quick exit code causes the servlet to exit before a service method associated with the servlet is invoked. - View Dependent Claims (8, 9, 10)
-
-
11. A computer for processing one or more Java®
- server pages, comprising;
an application server computer comprising one or more processors and a memory, the memory containing a Java®
server pages processor and a virtual machine, wherein the Java®
server pages processor is configured to;select at least one of the Java®
server pages to be processed;translate the Java®
server page file into a Java®
source code file;insert quick exit codes into the Java source code file; compile the Java®
source code file to generate a servlet;selectively load one or more servlets generated from the one or more Java®
server pages into a memory of the virtual machine prior to a user request for one of the Java®
server pages; andinvoke the servlet on the virtual machine, wherein the quick exit codes cause the servlet to exit before a service method associated with the servlet is invoked. - View Dependent Claims (12, 13, 14, 15)
- server pages, comprising;
-
16. A method for processing Java®
- server pages, comprising;
initializing a web application that includes a virtual machine; selecting at least one Java®
server pages to be processed for the virtual machine, wherein the at least one Java®
server pages is selected by selecting server pages which exceed a size threshold value;translating the Java®
server pages into a Java®
source code file;inserting a quick exit code into the Java®
source code file;compiling the Java®
source code file to generate a servlet;loading the servlet into a memory of the virtual machine; and invoking the servlet on the virtual machine, wherein the quick exit code causes the servlet to exit before a service method associated with the servlet is invoked. - View Dependent Claims (17, 18)
- server pages, comprising;
Specification