Skip to main content
Windward

Examples

engine-wiki-logo.pngOverview

Useful examples for the Java Engine.

Examples

Command Line Example

While you generally will not call Windward from the command line, this provides the simplest illustration of how to call Windward. All of these examples assume you have created a report template using AutoTag and now want to use the engine to generate a report from that template.

These files can be used to create a command-line .class file which is equivalent to the example located in the /test folder of the Java Engine installation directory as implemented in the run.bat file (java net.windward.xmlreport.RunReport template.rtf report.htm -xml order.xml).

Servlet Example

This is a basic example on how to use the Windward Reports Java engine in a web application. This example is a pure servlet implementation (no JSPs or EJBs). The application lets you select between several names and formats, then generates and displays the report in the selected output format. This sample use XML data sources but you could just as easily use SQL data sources in this sample.

Custom Functions Example

This sample allows you to create and edit custom functions to be used with the Engine. These files can be used to create a WindwardCustomFunctions.jar file containing your own custom functions, to be used with the Windward Java engine, version 10.0.0.0 or newer.

Custom CallBacks Example

These files can be used to create a WindwardCustomCallbacks.jar file containing your own custom callbacks, which are called by the Windward Java engine during particular events, version 13.0.0.0 or newer is required.

HTML Output Example

Google App Engine Integration Example

Java Email Example

Java Engine JSP Example

Java Swing Example

Java Variable Example

  • Was this article helpful?