JavaScript? No. Java scripts! — Creating scripts with Java
summary
Shows how to write and run small automation scripts using Java instead of JavaScript, covering tools and techniques for scripting in Java (such as using the Java shell/jshell, lightweight APIs, scripting-friendly libraries, and build or runtime invocation). Explains the problems Java scripting solves (automation, quick tasks, replacing ad-hoc JavaScript) and demonstrates practical approaches to create, run, and integrate Java scripts in workflows.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:06Bash or Python for scripting?
- 4:15Single-file Java scripts
- 8:58Compact source files
- 11:54Multi-file Java programs
- 15:51Adding dependencies
- 19:37JBang for Java scripting
- 24:44CLI app with JBang
- 32:14TUI app in Java
- 36:30Native image with JBang
- 39:39Summary
- 40:20Q&A
related talks
47mJava for Small Coding Tasks
41mJava9 and REPL. Forget debugging, welcome joy and productivity
51mThe Best of Java Shorts Show: 100 Snippets in 50 Minutes
16mJBang, One Java File to Rule Them All? 💍
44mThe Best of Java Shorts Shorts Show: 100 Snippets in 45 Minutes
14mShare Your Java CLI Apps with Ease
45mAdvanced "Java 101"
49mNot Your Father's Java, Not Your Mother's JavaScript
