Tagged articles
FreeMarker
17 articles · Page 1 of 1
The article explains why running multiple template engines in a Spring Boot application becomes an operational challenge, outlines a four‑layer architecture and routing strategies, provides concrete code for a custom ViewResolver, configuration, observability, deployment, testing and migration steps, and shows how to govern the process safely in production.
FreeMarkerKubernetesObservability
0 likes · 39 min read

This article shows how to quickly generate PDF documents in a Spring Boot 3.5.0 project using the x‑easypdf library, covering both the FOP and PDFBox modules, required dependencies, configuration files, sample controller code, and a runnable example that renders a PDF in the browser.
FreeMarkerJavaPDF generation
0 likes · 8 min read

The Chengwu low-code platform chose Pebble over FreeMarker after a detailed comparison of usability, extensibility, security, and performance, emphasizing Pebble's modern collection handling, unified syntax, rich filters, native Map support, default security, and easier extensibility for non-developer users.
FreeMarkerJavaPebble
0 likes · 7 min read

This tutorial explains how to generate PDF files in Java using the iText library, covering dependency setup, a simple "Hello World" PDF example, converting complex HTML pages to PDF, and dynamic content insertion with Freemarker templates.
Backend DevelopmentFreeMarkerHTML to PDF
0 likes · 14 min read

This article walks through why repetitive CRUD code wastes development time, reviews existing generators like MyBatis‑Generator and MyBatis‑Plus, and then demonstrates step‑by‑step how to create a custom Java code generator using Freemarker, Maven, and SpringBoot, complete with template and demo code.
FreeMarkerJavaMyBatis
0 likes · 11 min read

This article walks through creating a fully automated Spring Boot and MyBatis code generator using Freemarker templates, detailing each step from extracting table metadata to generating DAO, service, controller, and entity classes, and shows how a single-table CRUD can be produced in seconds.
Backend DevelopmentFreeMarkerJava
0 likes · 25 min read

This guide walks through the need for PDF generation in business scenarios, introduces the iText library (both iText5 and iText7), shows how to add Maven dependencies, provides a minimal “Hello World” PDF example, then details converting HTML (with CSS, images, and Freemarker variables) into PDF, and discusses when custom adaptation is required.
FreeMarkerHTML to PDFJava
0 likes · 13 min read

The article shows how to avoid database pressure by recording daily comment counts in Redis sorted sets, merging the seven daily sets into a weekly ranking with a union command, and exposing the result through a Spring Boot service and a custom Freemarker tag, complete with code examples and screenshots.
CachingFreeMarkerRedis
0 likes · 17 min read

This tutorial demonstrates how to integrate OpenHtmlToPdf with a Spring Boot 3.2.8 application, using Freemarker templates and custom fonts to render HTML content and deliver high‑quality PDF files via a REST endpoint, complete with code examples and configuration details.
FreeMarkerHTML to PDFOpenHtmlToPdf
0 likes · 8 min read

This article explains how to design a backend architecture that pre‑generates article HTML with FreeMarker, stores files on cloud servers, caches data in Redis and local memory, and uses LVS, Nginx, and Sentinel to safely handle sudden traffic spikes from viral news.
FreeMarkerhigh‑traffic
0 likes · 5 min read

This article examines injection vulnerabilities in Java template engines Velocity, FreeMarker, and Thymeleaf, details payload extraction, demonstrates how to generate automated detection rules and security operation capabilities, and discusses future directions for comprehensive attack‑chain analysis.
FreeMarkerJavaSecurity Automation
0 likes · 12 min read

This article explains why and when to create custom scaffolding for large-scale Java projects, compares popular options like Spring Initializr and Aliyun, and provides a step‑by‑step guide—including project structure, FreeMarker templates, and code generation classes—to build your own Spring Boot scaffolding tool.
FreeMarkerscaffolding
0 likes · 16 min read

This article continues a series on server‑side template injection by presenting four hands‑on labs covering Tornado (Python), Velocity (Java), Freemarker (Java) and a Freemarker sandbox‑escape, detailing syntax basics, attack surfaces, exploit payloads, defensive measures, and step‑by‑step exercises.
FreeMarkerServer-Sidepayload
0 likes · 13 min read

This article introduces an OA office automation system built with Spring Boot, MySQL, Freemarker, and Bootstrap, outlines its project structure, front‑end and back‑end components, provides step‑by‑step deployment instructions, and shares screenshots and the repository link for developers.
Backend DevelopmentFreeMarkerMySQL
0 likes · 3 min read

This article explains the scenarios, workflow, and implementation details of creating a Java code generator using Freemarker templates, including template design, data binding, and sample code that produces POJO classes automatically.
FreeMarkerJavaPOJO
0 likes · 9 min read

This article explains how to disable template caching in Spring Boot for Thymeleaf, FreeMarker, Groovy, and Velocity, and compares several hot‑deployment methods including Debug mode, spring-boot-devtools, Spring Loaded, and JRebel, providing configuration snippets and practical guidance.
DevToolsFreeMarkerHot Deployment
0 likes · 3 min read

This tutorial walks through creating a Maven project in IntelliJ IDEA, configuring Maven settings, adding required dependencies, setting up Spring, MyBatis, FreeMarker, Log4j, and web.xml, and integrating Spring MVC to build a complete SSM framework application.
FreeMarkerIntelliJMaven
0 likes · 21 min read
