Developing a new business logic can get complex quite quickly, especially if the underlying business process has a high complexity and places high demands on the business logic.
Thanks to the valuable feedback from the developers of business logics for the Business Bot platform, we have implemented a new developer tool that helps you to implement and debug new business logics more easily. The tool is available to you for free. We have put the source code of the project on GitHub so that everyone has the opportunity to add new features to the tool.
What features does the new developer tool have?
- Invoke all functions the business logic
- Access WebUI to configure the business logic
- Developer UI is configure via properties file
- Start a conversation with your business logic (without running a messenger)
How to use?
Setup of the tool is done in a few steps:
- Download and import this package in Eclipse (as project
businesslogic.developerui
) - Create a new business logic project (e.g. project
businesslogic.calculator
) - Copy template
WEB-INF/classes/config.template.properties
toWEB-INF/classes/config.properties
in projectbusinesslogic.developerui
- Configure DeveloperUI in
WEB-INF/classes/config.properties
- Add business logic project
businesslogic.calculator
in your Java Build Path as required project in the project settings of the DeveloperUI project - Add required JARs and project
businesslogic.calculator
to classpath of Apache Tomcat
Run the tool by following the steps below:
- Add project
businesslogic.developerui
to Apache Tomcat, thenRun As
>Run on Server
>Finish
. - Open your browser and nagivate to http://localhost:8080/businesslogic.developerui/IndexServletDeveloperUI
Build business logic
Use the Business Logic – Creator to compile business logic projects. Once compiled, deploy the business logic package on the Business Bot Platform as documented here.
Conclusion
After the first experiences with our developers, we can say that the developer tool is very supportive in implementing business logics and saves a lot of time in debugging.
Would you like to use Chatbots in your company? Contact us, we are looking forward to support you around the topic chatbots in the corporate environment.