Getting Started with the Sandbox Project
The Sandbox project is provided by ActiveViam to customers to demonstrate how the ActivePivot API is used to build a project.
Embedded Servers versus Standalone Servers
The Sandbox project demonstrates two different setups :
The "embedded servers" illustrates the deployment where all applications (Content service, ActivePivot, ActiveUI and optionally ActiveMonitor) are hosted on the same server. This configuration can be used in the following cases:
- trying out features of the applications,
- testing the implementation of a business project during the development phase
The "standalone servers" illustrates the deployment where several servers are created and communicate. This configuration is generally used in Production phase of the project. The created servers in this configuration are:
- an ActiveMonitor server,
- a ContentServer with an embedded ActiveUI,
- an ActivePivot server.
Project Organisation
sandboxes
|
|----- activemonitor
|----- activepivot
|----- common
|----- contentservice
Folder | Contents |
---|---|
sandboxes | Root folder of the sandbox project |
activemonitor | For a standalone ActiveMonitor server |
activepivot | For a standalone ActivePivot Server, or embedded servers, depending on the chosen profile |
common | Common configuration classes for all the sandbox project |
contentservice | For a standalone Content Server shipping a vanilla ActiveUI application |
First Build and Launch
Running mvn clean install -DskipTests
on the sandboxes
folder will build the sandbox.
To launch ActivePivot, you can run the com.activeviam.sandbox.server.ActivePivotServer
class directly from your IDE.
If you haven't changed the default configuration, you can access the ActiveUI served by the embedded ContentServer at
http://localhost:9090/ui.
If you want another configuration, we recommend reading the README.md
files
at the root of each module of the sandbox.