Installation
Throughout this tutorial we will create and use a simple internet payment service application to demonstrate the basic XAP features.
You can download all examples presented here from github. Feel free to clone, fork and contribute to the tutorial code.
Download and Install XAP
XAP.NET is packaged as a standard Windows Installer package (.msi file). You can download [the latest version[](http://www.gigaspaces.com/xap-download).
Once you have downloaded the distribution, start the installation by double-clicking the msi file and the installation wizard will appear and guide you through the installation process.
The default product location is C:\GigaSpaces\XAP.NET {Version} {Platform} (For example: C:\XAP.NET-12.3.1-x64). This convention supports side-by-side installation of different versions and platforms (x86, x64) of XAP.NET.
The product directory structure as follows:
NET v4.0 – Contains XAP.NET for .NET 4.0 (or later)
- Bin – Contains binaries (Executables and dll files) of the product.
- GigaSpaces.Core.dll – Main XAP.NET library. All XAP.NET applications reference this assembly.
- Gs-Agent.exe - Starts a local Service Grid Agent.
- Gs-cli.exe – Command Line Interface for XAP administration.
- Gs-webui.exe – Web Management Console.
- Gs-ui.exe – Standalone Management Center.
- ServicesManager.exe - GigaSpaces Services Manager.
- Config – Contains configuration files.
- Settings.xml - Main product settings file.
- Deploy – Default location of Processing Units for Service Grid.
- Examples – Contains examples demonstrating usage and features of the product.
- Logs – Contains log files generated at runtime (created automatically on first usage).
- Practices – Contains the product practices.
- Work – Contains temporary files generated by the service grid at runtime (created automatically on first usage).
- Bin – Contains binaries (Executables and dll files) of the product.
NET v3.5 – Contains XAP.NET for .NET 3.5 (Optional, needs to be explicitly included during installation).
Runtime – Contains the Java part of the product as well as an embedded Java installation.
In addition, the XAP.NET installer creates shortcuts in the start menu for some of these items.