Java Template engine

Open-source Java projects categorized as Template engine

Top 19 Java Template engine Projects

Template engine
  1. Blade

    :rocket: Lightning fast and elegant mvc framework for Java8

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Thymeleaf

    Thymeleaf is a modern server-side Java template engine for both web and standalone environments.

    Project mention: Building a Simple Voucher System for Small Businesses | dev.to | 2024-12-09

    xmlns:th="http://www.thymeleaf.org"> Validar Vouchers rel="stylesheet" href="/css/style.css"> class="container"> Validar Vouchers href="/">Página Inicial class="errors" th:if="${erros}" th:text="${erros}"> action="/vouchers/validate" method="post"> for="token1">Token 1: type="text" id="token1" name="token1" required> for="token2">Token 2: type="text" id="token2" name="token2" required> for="token3">Token 3: type="text" id="token3" name="token3" required> for="token4">Token 4: type="text" id="token4" name="token4" required> for="token5">Token 5: type="text" id="token5" name="token5" required> type="submit">Validar th:if="${message}" th:text="${message}">

  4. manifold

    Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.

    Project mention: Rails is better low code than low code | news.ycombinator.com | 2024-12-01

    Yep. They demo great, but unless your use case is on the trivial end, you either find yourself making unreasonable compromises or, if the tool provides API escapes, you’re not only coding, but hacking against the tool.

    In my view, mainstream languages like Java should offer static metaprogramming for library authors to make tooling like Rails possible and more approachable in IDEs.

    The manifold project[1] has something like this for SQL, but it’s obviously providing its own static metaprogramming layer over Java. Shrug.

    1. https://github.com/manifold-systems/manifold/blob/master/man...

  5. Handlebars.java

    Logic-less and semantic Mustache templates with Java

  6. Pebble

    Java Template Engine (by PebbleTemplates)

  7. FreeMarker

    Apache Freemarker

  8. stringtemplate4

    StringTemplate 4

  9. jte

    Secure and speedy templates for Java and Kotlin.

    Project mention: Java string interpolation feature was cancelled | news.ycombinator.com | 2024-06-20
  10. j2html

    Java to HTML generator. Enjoy typesafe HTML generation.

  11. Rocker

    Java 8 optimized, memory efficient, speedy template engine producing statically typed, plain java objects (by fizzed)

  12. oh-my-email

    📪 可能是最小的 Java 邮件发送库了,支持抄送、附件、模板等功能。

  13. Apache Velocity

    Mirror of Apache Velocity Engine

  14. Kilo

    Lightweight REST for Java (by HTTP-RPC)

    Project mention: Show HN: Kilo – Lightweight REST for Java | news.ycombinator.com | 2024-04-23
  15. microconfig

    Modern tool for microservice configuration management

  16. jstachio

    Java type safe statically compiled mustache

    Project mention: Java string interpolation feature was cancelled | news.ycombinator.com | 2024-06-20

    / Generated By:JavaCC: Do not edit this line. QueryParser.java */

    I'm not claiming you're not going to see properties written out. I'm just saying that's not the majority of code you're going to see and to claim that idiomatic Java is all getters and setters is a bit far fetched.

    Here is what I would consider modern idiomatic Java, immutable records and immutable classes that may expose some of their state:

    https://github.com/jstachio/jstachio/blob/main/compiler/apt/...

  17. rife2

    Full-stack, no-declaration, framework to quickly and effortlessly create web applications with modern Java.

  18. jamal

    Jamal is document maintenance automation

  19. Josson & Jossons

    A complete query and transformation language for JSON and a template engine to generate text output.

  20. JsonBatch

    An Engine to run batch request with JSON based REST APIs

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Java Template engine discussion

Log in or Post with

Java Template engine related posts

  • Building a Simple Voucher System for Small Businesses

    2 projects | dev.to | 9 Dec 2024
  • Type-Safe Data Science

    1 project | news.ycombinator.com | 13 Nov 2024
  • Spring Boot and Thymeleaf: Building Dynamic Web Applications

    1 project | dev.to | 31 Oct 2024
  • Implementing OAuth2 in Spring Boot: A Step-by-Step Guide

    3 projects | dev.to | 30 Oct 2024
  • Automatically fix code vulnerabilities with AI

    5 projects | dev.to | 14 Oct 2024
  • Show HN: Paranormal Metaprogramming with Java

    1 project | news.ycombinator.com | 7 Oct 2024
  • Favor composition over inheritance for Java via True Delegation

    2 projects | news.ycombinator.com | 29 Sep 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Jan 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Template engine projects in Java? This list will help you:

# Project Stars
1 Blade 5,854
2 Thymeleaf 2,835
3 manifold 2,451
4 Handlebars.java 1,482
5 Pebble 1,116
6 FreeMarker 991
7 stringtemplate4 967
8 jte 888
9 j2html 770
10 Rocker 753
11 oh-my-email 721
12 Apache Velocity 381
13 Kilo 330
14 microconfig 305
15 jstachio 273
16 rife2 230
17 jamal 59
18 Josson & Jossons 36
19 JsonBatch 13

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Java is
the 8th most popular programming language
based on number of references?