O'Reilly logo

Scripting in Java™: Languages, Frameworks, and Patterns by Dejan Bosanac

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required