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
Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets ( ...
code. WebMacro is
open source software
Open-source software (OSS) is Software, computer software that is released under a Open-source license, license in which the copyright holder grants users the rights to use, study, change, and Software distribution, distribute the software an ...
.
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
SourceForge is a web service founded by Geoffrey B. Jeffery, Tim Perdue, and Drew Streib in November 1999. SourceForge provides a centralized software discovery platform, including an online platform for managing and hosting open-source soft ...
. Extensive discussions of WebMacro on the Java Servlet-Interest mailing list at that time may have been influential in
Sun Microsystems
Sun Microsystems, Inc., often known as Sun for short, was an American technology company that existed from 1982 to 2010 which developed and sold computers, computer components, software, and information technology services. Sun contributed sig ...
decision to move their
Java Server Pages product to a
Model-View-Controller architecture.{{Fact, date=December 2007
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
Apache Velocity first released in April 2001, is a Java-based template engine that provides a template language to reference objects defined in Java code. It aims to ensure clean separation between the presentation tier and business tiers in a W ...
and there is an automated script to perform the migration.
The
Apache Velocity
Apache Velocity first released in April 2001, is a Java-based template engine that provides a template language to reference objects defined in Java code. It aims to ensure clean separation between the presentation tier and business tiers in a W ...
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.
External links
WebMacroOld website (broken link)
Maven generated current site
Template engines
Java enterprise platform