The present invention is a method, system and apparatus for reducing the
run-time cost of invoking a server page. The system can include a server
page translation unit configured to translate a server page document into
program code. The system also can include a program code compiler
configured to compile the program code into a program object. Finally,
the system can include an optimization processor programmed to modify the
program code to permit direct invocation of the program object by
external program objects bypassing a server engine typically used to
invoke the server page. Notably, in a preferred aspect of the invention
the server page can be a JSP. Similarly, the program code can be Java
source code and the program object can be a Java class. Finally, the
external program objects can be servlets.