Chapter 10. Web Scripting Framework

As we already discussed, the initial purpose of the Java Specification Request 223 (JSR 223) was to enable native scripting languages (with PHP as a reference) to generate Web content inside servlet containers. For that purpose, as we have seen, the Scripting API was created as a general framework for integration of scripting interpreters (both native and Java interpreters) and Java applications.

On top of the Scripting API, the Web Scripting Framework was created to address this initial intention. This framework is packaged in the javax.script.http package. Although it is removed from the final version of the specification, it represents a valuable source of ideas on which future work will be based. To run ...

Get Scripting in Java™: Languages, Frameworks, and Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.