Software mechanism for efficient compiling and loading of java server pages (JSPs)
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 16.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
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 serv
- Claim 2Depends on #1
The method of claim 1 , wherein the Java® server pages are processed during an initialization of a Web application.
- Claim 3Depends on #1
The method of claim 1 , further comprising selecting the at least one Java® server page by selecting server pages wh
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "JavaServer Pages(TM) Whitepaper: A Simplified Guide", Sun Microsystems, accessed on Nov. 23, 2005 and archived Aug. 6, 2001 at <http://web.archive.org/web/20010806084239/http://java.sun.com/products/jsp/jspguide-wp.html>.
- "Preloading and compiling JSP's", Jul. 23, 2002, Usenet newsgroup ibm.software.webshpere.application-server.as400, archived by Google Groups and printed on Dec. 6, 2005.
- Doug Welzel, "Java Servlets", Oct. 1999, Linux Journal, Specialized Systems Consultants, Inc. Issue 66es, Article No. 27.
- John Szuch, "Using the WAS 4.0 Pre-Touch Tool to Improve JSP Performance", Mar. 2003, MSP Custom Communications, eserver Magazine, accessed and printed Dec. 8, 2005 at <http://msptechmedia.com/iseries/tips/index.asp?sid=11&id=567&p=2>.
- Marty Hall, "More Servlets and JavaServer Pages(TM)", Dec. 26, 2001, Prentice Hall, ISBN: 0-13-067614-4, Sections 2.1, 3.1, 3.2, 5.5, 11.5.