Apache Tomcat: Enabling Scripting Languages in JSPs
summary
A JSP taglib implements a JSR-223 taglib for JSP that lets any javax.script or BSF engine run as if it were a servlet, receiving request, response and out; it loads scripts from files with caching/compilation options and emits detailed debug bindings. It runs under works on Tomcat 9 and 10 (javax vs jakarta namespaces), the provided demo WAR with SQLite inserts from Rex, JavaScript, Groovy, Jython, PHP shows cross-language sharing of a DB connection, and a known Jython argument bug requires arguments="false".
AI-written summary · about
chapters (6)
- 0:00Introduction and motivation
- 3:00Teaser demo and goals
- 10:28Implementation and taglib details
- 17:34Nutshell examples in scripting
- 29:18Utility scripts and server info
- 33:13Summary and resources
related talks
24mTomcat 11 and Jakarta EE 11
50mApache Tomcat + Java EE 6 Web Profile = Apache TomEE
44mPaving the road with Jakarta EE and Apache TomEE
16mScripting JS and Python with Project Detroit
45mEverything YOU need to Know About Jakarta EE 10
43mJavaScript? No. Java scripts! — Creating scripts with Java
41mJava9 and REPL. Forget debugging, welcome joy and productivity
14mREPL : Java developers new friend
