Skip to content

hi, Spring fans! In this installment I look at the utterly absurd possibilities of using implicit classes and JBang together to handle scripting Java and Spring workloads in Java 25 or later.

License

Notifications You must be signed in to change notification settings

joshlong-attic/scriptable-java

Repository files navigation

scriptable-java

hi, Spring fans! In this installment I look at the utterly absurd possibilities of using implicit classes and JBang together to handle scripting Java and Spring workloads in Java 25 or later.

You can run this program (script.java) by first installing jbang (which you can do via the amazing SDKMAN.io installer) and then giving the script executable permissions: chmod a+x script.java and then just.. run it:

./script.java

Instant Spring Boot app!

If you have the JBang IntelliJ IDEA plugin, you can easily edit this scvript inside of IntelliJ. but, first you'll need to spin up a Maven project like this:

jbang export maven script.java

then just run idea pom.xml and make changes as you like. Easy!

About

hi, Spring fans! In this installment I look at the utterly absurd possibilities of using implicit classes and JBang together to handle scripting Java and Spring workloads in Java 25 or later.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages