Readablewiki

WebMacro

Content sourced from Wikipedia, licensed under CC BY-SA 3.0.

WebMacro is a Java Servlet framework that enforces Model-View-Controller (MVC). It keeps code separate from HTML templates, making the design clearer. It is open source and BSD-licensed.

WebMacro began in the mid-2000s, created by Justin Wells of Semiotek Inc., and was later continued by a SourceForge team. Discussions on the Java Servlet-Interest mailing list helped influence Sun Microsystems to adopt MVC for JavaServer Pages.

Besides generating web pages, WebMacro can produce any text from templates, a feature useful for automated code generation. Its template language is very similar to Apache Velocity, and there’s a migration tool to switch between them. Velocity started as a separate project after licensing disagreements.

Current license: BSD.


This page was last edited on 2 February 2026, at 08:28 (CET).