Do You Need The Complicated Tooling?
JavaScript Courses
Small, Powerful, Easy Server-Side Friendly Web Frameworks
- HTMX - add HTML-over-the-wire and easy interactivity with just a few attributes.
- hyperscript - very simple, easy to use, async native scripts.
Lighter Than React/Angular
- Alpine - powerful, light-weight alternative to complex tooling such as Angular, React, etc.
- Mithril
- Svelte
- Lit
- Unpoly
- Preact
NPM but for Java
- WebJars - supports automatically converting anything published in npm or Bower to a Maven-friendly WebJar with just a few clicks. Only need to do once, from that point on the library is now mirrored to Maven Central.
Crash Reporting
- RollBar - JavaScript, Java and much more. Integrates nicely with Heroku.
- Airbrake - JavaScript and Java. As of this writing just announced they have been aquired by LogicMonitor
- Other options
SASS with Java
- Sass Maven Plugin - Simple, offers both a compile and watch options.
- IntelliJ Sass Compiler
Kitchen Sink Web Frontend Maven
- wro4j - Kitchen sink web optimzation and tooling.
- frontend-maven-plugin - Allow integration of the entire Node.js and NPM dev tool chain but all through Maven. Does a lot, especially if you flip on all of the various minification, etc. so builds can take (in some cases) quite a bit more time. YMMV.
Visual Editors
Templates
- HTMX suggested include mustache, handlebars, and nunjucks.
- Handlebars is supported with both JavaScript and Java versions, making it a nice pick for a Java dev looking to reduce the number of templating languages they have to deal with.
Testing
- Spring Boot Web Testing - MockMvc, HtmlUnit, WebDriver, Geb. Go here first for writing web tests.
- v.Nu - Validate that your HTML, CSS and SVG are correct.
- Maven / Java HOWTO for v.Nu
- JUnit and jsoup validation
- QUnit
- Jest
- Mocha