AE Solution Set
3D Solution Set
Parametric Sol. Set
Why to use?
webMathematica connects Mathematica to the web.
It is a server-based technology built on top of Java servlets.
A webMathematica site can return content in many formats including HTML,
various image formats, Mathematica
notebooks, MathML, and TeX. It can work conveniently with many different web
client technologies in browsers
webMathematica is also
compatible with different server technologies such as servlets and JavaServer Pages.
webMathematica provides a collection of tools that allow Mathematica
commands to be placed inside HTML pages;
each time the page is requested from the server these commands are processed by a
The answer is then sent back to you and displayed right there on your browser,
usually within a couple of seconds.
In addition, the tools control the Mathematica sessions on the
server and provide support such as
launching, initialization, session pooling, and automatic restart.
webMathematica Processes a Request:
The browser sends an HTTP request to the web server.
The request references a particular Mathematica Server Pages
(MSP) script and includes variables and their values.
The web server performs any preprocessing steps, such
as authentication, and forwards the request to the MSP
The MSP server acquires a Mathematica session
for the request from a pool of preinitialized sessions. Any
variables and values are sent to this session, which is then
instructed to load the MSP script.
The Mathematica session loads the MSP script and
processes any Mathlet tags. It builds and then returns the
The MSP server
accepts the response and adds all the necessary HTTP headers for
return to the browser. It then clears any temporary settings in the
Mathematica session and releases the session to the pool of
The web server
performs any postprocessing steps and returns the response to the
The browser accepts
an HTML response, which may use applets, plug-ins, or other features
of dynamic HTML. Alternatively, the response could be some other
format such as MathML, TeX, or a Mathematica