Web app in Java with Template Engine

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • jte

    Secure and speedy templates for Java and Kotlin.

    There are still a lot of JSP templates around, which we're migrating step by step to jte (faster, type-safe and proper output escaping) https://jte.gg/

  • jstachio

    Java type safe statically compiled mustache

    I believe this latter one is a noteworthy production booster, a better choice if you choose to go with templates. In which case, thymeleaf is the wrong call. You can look at jstachio which is someone's hobby project they posted to this very reddit recently.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • JHipster

    JHipster, much like Spring initializr, is a generator to create a boilerplate backend application, but also with an integrated front end implementation in React, Vue or Angular. In their own words, it "Is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures."

  • jhipster-sample-app-vuejs

    This is a sample application created with JHipster, with the Vue.js blueprint

  • javalin.github.io

    Javalin website source code

  • Grails

    The Grails Web Application Framework

    I don't have any direct experience and am only suggesting it because you mentioned RoR...But Grails (https://grails.org/) is basically the JVM version of RoR (Groovy on Rails -> Grails).

  • htmx

    </> htmx - high power tools for HTML

    Then have the components like the main body or content area or some form done with jstachio. This is especially useful in a htmx/unpoly/hotwired/pjax world where the layout is not continuously loaded anyway.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • stripes

    Stripes is a Java framework with the goal of making Servlet/JSP based web development in Java as easy, intuitive and straight-forward as it should be. It's stripey and it doesn't suck. (by Chrono24)

    Using Stripes at work, it's quite simple to reason about, but unmaintained. We're by now maintaining our own fork of it and remove some of the footguns we found due to > 10 years using this in production. This is the fork, in case you're interested https://github.com/chrono24/stripes This is the latest Stripes version that's currently published to maven central.

  • Pebble

    Java Template Engine (by PebbleTemplates)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts