Reference articles on history, science, culture and more
Encyclopedia

WebMacro

WebMacro is a framework for developing Java Servlets. It enforces a Model-View-Controller framework on a project allowing for a clean separation of concerns in the design. In particular, WebMacro keeps program source code absolutely separate from presentation HTML code. WebMacro is open source software.

WebMacro was initially created and designed by Justin Wells at Semiotek Inc. in the mid-2000, when the project was taken over by a team at SourceForge. Extensive discussions of WebMacro on the Java Servlet-Interest mailing list at that time may have been influential in Sun Microsystems decision to move their Java Server Pages product to a Model-View-Controller architecture.

WebMacro can also be used to generate arbitrary text output from templates (one of its uses is automated code generation).

The template language is very similar to the language used in Apache Velocity and there is an automated script to perform the migration.

The Apache Velocity project was started as a clean room re-implementation by Jon Scott Stevens, Geir Magnusson and Jason van Zyl after agreement could not be reached on adoption of the Apache License.

The current version of WebMacro is BSD licensed.

Watch videos about WebMacroExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article WebMacro, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.