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
The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScri ...
code. WebMacro is
open source software
Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software and its source code to anyone and for any purpose. Op ...
.
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 that offers software consumers a centralized online location to control and manage open-source software projects and research business software. It provides source code repository hosting, bug tracking, mirrori ...
. Extensive discussions of WebMacro on the Java Servlet-Interest mailing list at that time may have been influential in
Sun Microsystems
Sun Microsystems, Inc. (Sun for short) was an American technology company that sold computers, computer components, software, and information technology services and created the Java programming language, the Solaris operating system, ZFS, ...
decision to move their
Java Server Pages
Jakarta Server Pages (JSP; formerly JavaServer Pages) is a collection of technologies that helps software developers create dynamically generated web pages based on HTML, XML, SOAP, or other document types. Released in 1999 by Sun Microsystems, J ...
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 ...
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 ...
project was started as a
clean room re-implementation by
Jon Scott Stevens,
Geir Magnusson
Geir is a masculine name commonly given in Norway and Iceland. It is derived from Old Norse ''geirr'' "spear", a common name element in Germanic names in general, from Proto-Germanic '' *gaizaz'' (whence also Old High German ''gêr'', Old English ' ...
and
Jason van Zyl
Jason ( ; ) was an ancient Greek mythological hero and leader of the Argonauts, whose quest for the Golden Fleece featured in Greek literature. He was the son of Aeson, the rightful king of Iolcos. He was married to the sorceress Medea. He w ...
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