How to speed up your Bonita server setup
So...you have created a nice, useful Bonita application that runs smoothly in your Bonita Studio development environment, but now it's time to make this useful piece of software available to everyone!
To make a Bonita application available to users, you'll need a Bonita server. This relies on a stack of hardware and software, from bottom to top:
- Server hardware
- Operating System
- Java Virtual Machine
- Java EE application server
- Bonita Java EE web application
- Relational database management system
Note: you can find more about officially supported configurations in the documentation.
You will need to install all of this, and make sure that everything is appropriately configured, so each component works correctly with all the others.
Having full control over the components you choose to install gives a lot of room for customization and fine tuning. On the other hand, the setup can become a bit complex.
One solution to overcome the complexity of the installation is to use our official Bonita Docker image available from Docker Hub. Running a Bonita server becomes as easy as running the following command:
docker run --name bonita -d -p 8080:8080 bonita
The command line above will start a Bonita server that will use the h2 database, which is a great start for testing purpose. Switching to PostgreSQL or MySQL is fairly easy and documented on the Docker image page.
For Subscription users, a Docker image is also available as part of Bonita Continuous Delivery (BCD) tooling. BCD not only provides the Docker image, but will also let you automate the server setup (including clustering) either on premise or on Amazon Web Service (including machine allocations). Get in touch with us if you want to learn more about BCD.