This Get Started guide gives you the basic information you need to quickly set up and test the Windward Java Engine.
How the Windward Java Engine Works
The Windward solution takes two input streams, the template and the data, and creates an output stream – the final report — as illustrated below.
- Java 1.6 or later (beginning version 12.5)
- For older versions of the engine able to run Java 1.5 and earlier, the Sun JAI Image IO Library is recommended if you have images in your templates.*
- A Java Engine license key (request a trial license key here if you don't have one.)
- Tutorial on how to install the requirements can be found here.
*The JAI Image library is not actually required for the Engine to run, however for older versions of Java (1.5 or less) it provides a substantial performance improvement. For newer versions of Java it is not necessary, as most of it has been moved into the standard Java library.
Installing and Testing the Windward Java Engine
Step 1: Installation
For detailed instructions, see the Java Installation page.
- Go to http://www.windward.net/downloads.php.
- Click the link “Java Engine Installer – (EXE – Windows only)”. The installer is also available as a zip file if desired.
- Save the file.
- Once the download is complete, click Run. Follow the steps of the Installation Wizard. You may enter the license key during the installation or after (as instructed in Step 2).
Step 2: Entering Your License Key
Copy and paste your license key into the WindwardReports.properties file. This file is found in the directory where you installed the Windward Java Engine.
As with all entries in the properties file, use the standard name=value format.
|Example (This is not a valid Key)||
Make sure you place a \ at the end of each line except the last of the license file. The \ tells java to continue the property to the next line. The \ must be the last character of the line; there cannot be a space after it.
Step 3: Testing
The Java Engine "test" folder contains a test template and data source to verify that your installation is working correctly. If the report file is created, then Windward Reports is installed and running.
- Execute the run.bat file to test your installation. (Default C:\Users\USERNAME\Documents\Windward Java Engine Test\)
- In the test folder, run this command:
java net.windward.xmlreport.RunReport InternetMarketingReport.docx testreport.pdf -xml:INTMARKETING InternetMarketingData.xml
You have now verified your Java Engine installation. You have a few choices for how to proceed from here:
1. Look through the sample projects. A wide variety are installed with the Engine. Open the installed Catapult help software to get you started.
2. Wondering what the code needed to integrate the Engine looks like? Start with the Basic Programming Example.
3. Looking for more direction with example projects? Look at the Examples Section of the User Guide.
4. Just need to see the code? Check out the Java Engine API.