where to deploy a jar file or java project inside the business central workbench?

36 views
Skip to first unread message

Balaji

unread,
Jun 7, 2024, 1:24:25 AMJun 7
to Drools Usage
i have a spring boot project that calls the external kie server api to perform certain functions , i have to deploy that java project inside the business central workbench itself .
how can i do that or there are any ways to write the java code inside the workbench itself???

Ajay Chowdary Kandula

unread,
Jun 7, 2024, 8:08:38 AMJun 7
to drools...@googlegroups.com
Deploying a Spring Boot application inside the Business Central workbench is not a straightforward process, as Business Central is designed to manage and monitor business processes, not to host external applications. However, you can integrate your Spring Boot application with the KIE Server, which is the execution engine for business processes in the jBPM suite. Here are a few approaches you can consider: 1. **Embed the KIE Server in your Spring Boot application**: Instead of deploying your Spring Boot application inside Business Central, you can embed the KIE Server within your Spring Boot application. This way, your application can interact with the KIE Server directly without the need for Business Central. You can follow the official documentation on how to embed the KIE Server in a Spring Boot application.[1] 2. **Expose your Spring Boot application as a service**: You can expose your Spring Boot application as a service (e.g., REST API) and then integrate it with the KIE Server or Business Central using the jBPM Remote API or the KIE Server REST API. This approach allows you to keep your Spring Boot application separate from Business Central while still enabling communication between them.[4] 3. **Use the jBPM Workbench to develop your processes**: Instead of writing Java code inside the workbench, you can use the jBPM Workbench to design and develop your business processes using the provided tools and editors. Then, you can deploy these processes to the KIE Server, which can be accessed by your Spring Boot application.[3] 4. **Develop custom Work Item Handlers**: If your Spring Boot application needs to perform specific tasks within a business process, you can develop custom Work Item Handlers and deploy them to the KIE Server. These handlers can be invoked from within your business processes, allowing your Spring Boot application to interact with the KIE Server.[5] It's important to note that while it's possible to integrate your Spring Boot application with the KIE Server and Business Central, writing Java code directly inside the Business Central workbench is not a recommended approach, as the workbench is primarily designed for process modeling, monitoring, and management. In summary, the recommended approach is to keep your Spring Boot application separate from Business Central and integrate it with the KIE Server using one of the methods mentioned above, depending on your specific requirements.[1][4][5] Sources [1] How to connect to Dynamics 365 Business Central Data from Spring ... https://www.cdata.com/kb/tech/d365businesscentral-jdbc-spring-boot.rst [2] Is there a way to embed the business central inside the custom ... https://stackoverflow.com/questions/65789874/is-there-a-way-to-embed-the-business-central-inside-the-custom-spring-boot-appli [3] Getting Started with jBPM - Keep Kalm https://karinavarela.me/2020/05/04/getting-started-with-jbpm/ [4] karlnicholas/business-application: jBPM Springboot starter ... - GitHub https://github.com/karlnicholas/business-application [5] Build Kie Server on Spring Boot - PiinAlpin Official Blog https://piinalpin.com/2023/12/build-kie-server-on-spring-boot/


Thanks and Regards!!!
Ajay C. Kandula


On Fri, Jun 7, 2024 at 01:24 Balaji <bala...@student.tce.edu> wrote:
i have a spring boot project that calls the external kie server api to perform certain functions , i have to deploy that java project inside the business central workbench itself .
how can i do that or there are any ways to write the java code inside the workbench itself???

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/93dae1a6-bba6-4e7b-9488-87f29622c0dcn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages