Interface Summary |
Destination |
Replacement for a request/response. |
Engine |
Inteface for the server, the only current implementation is MyJasper vesrion 1.0 |
JspBase |
Interface for the classes compiled from JSP's. |
ObjectConfig |
Interface defining configuration for a JSP that lives in MyJasper. |
ObjectContainerContext |
This is a kind of replacement for a ServletContext it contains method
signitures for
access to services the container might eventually provide. |
ObjectJspFactory |
Interface for JspFactories. |
ObjectJspWriter |
Interface for the kind of pointless writer that forwards to a StringWriter. |
ObjectPageContext |
Interface to the JSP Page context but hacked about a bit. |
Session |
A session that MyJasper can use. |
This package contains interfaces and exceptions to abstract the compilation from accessing the compiled results. By implementing these interfaces it is possible to plug in other templateing engines so that code that accesses the results can be independent of the template engine used.
The intension is to be able to plug in other JSP compilers from other vendors as it is an aim of Java to remain vendor independent.
This API is not to be compared to a defined Sun API it is NOT a standard. However the same principles apply. From a development point of view if these interfaces are used it should be possible to release enhancements and bug fixes to the compiler while minimising the impact on code that calls the compiler.