Subscribe rss
Blog categories
All | Backendless features
Feature 118: Deploying custom business logic (event handlers) to Backendless servers
May 7, 2015 by markpiller

Previously I wrote how to generate custom business logic code for API event handlers and how to locally debug your custom code. Now your code is ready to be pushed to the Backendless servers. Once it is out there, the Backendless infrastructure automatically handles scaling the code execution and routing requests to an instance available to run your code. The process for deploying an API event handler is very similar to the one for timers (see deploying custom business logic in timers to Backendless).

The ZIP file you downloaded from the Backendless Console (when it generated the code for an event handler) includes the deploying utility located in the /bin directory. To deploy the code, open a command prompt window and run the Deploy script. There are two of them, one for Linux ( and the other for Windows (Deploy.bat). When you run the utility, it inspects all the custom code, packages and deploys it to the Backendless servers. The utility output would look similar to the one below:

Additionally, once the code is deployed, you can confirm it using the Backendless Console. To do this, open the Production tab in the Business Logic screen. Make sure to select the appropriate category of the event handlers (it is Users in the screenshot below):deployed-event-handler

Share this post
Tweet about this on TwitterShare on FacebookGoogle+