Xóa bài viết
Bạn có chắc chắn muốn xóa bài viết này không ?
Xóa bình luận
Bạn có chắc chắn muốn xóa bình luận này không ?
How to create Activiti Parallel Tasks with Spring JPA + Spring Boot Example
https://grokonez.com/java-integration/activiti-parallel-tasks-jpa-with-spring-boot-example
How to create Activiti Parallel Tasks with Spring JPA + Spring Boot Example
This tutorial shows you a Spring Boot example which is integrated with Activiti Parallel Tasks and Spring JPA.
Related Articles:
I. Technology
- Java 1.8 - Maven 3.3.9 - Spring Tool Suite – Version 3.8.1.RELEASE - Spring Boot: 1.5.3.RELEASEII. Overview
1. Goal
To build a Spring Boot application that helps to manage process as below:
2. Project Structure

startProcess()
, getTasks()
, completeTask()
. Those functions can be done with help of some @Autowired objects which are instances of these classes:
+ RepositoryService
+ RuntimeService
+ TaskService
+ PersonRepository
- PersonRepository is an interface extends JpaRepository for implementing repository methods on Person entities.
- SpringParallelActivitiApplication class contains Bean that calls MyService's creating persons method when starting the application.
- MyController is a REST Controller which has request mapping methods for RESTful requests such as: /process, /tasks, /completetask.
- pom.xml contains dependencies for:
+ Activiti Spring Boot Starter Basic, Activiti Spring Boot Starter JPA
+ Spring Boot Starter Web
+ H2 database
+ Groovy: scripting engine for running Script Task in process.
Notes: We must add Groovy Jar file (groovy-all-2.4.10.jar) to make it work.
More at:
https://grokonez.com/java-integration/activiti-parallel-tasks-jpa-with-spring-boot-example
How to create Activiti Parallel Tasks with Spring JPA + Spring Boot Example
Bình luận

{{ comment.user.name }}
Bỏ hay
Hay

Cùng một tác giả

1
0
Tutorial Link: (Link) (Ảnh) Django is a Pythonbased free and opensource web framework that follows the modeltemplateview architectural pattern. A...

1
0
https://loizenai.com/angular11nodejspostgresqlcrudexample/ Angular 11 Node.js PostgreSQL Crud Example (Ảnh) Tutorial: “Angular 11 Node.js Postg...

1
0
Angular Spring Boot jwt Authentication Example Github https://loizenai.com/angularspringbootjwt/ (Ảnh) Tutorial: ” Angular Spring Boot jwt Authe...
Bài viết liên quan

0
0
https://grokonez.com/springframework/springboot/howtoexecuteasynchronousquerywithspringjpaandpostgresqlspringboot How to execute asynchronous quer...

0
0
Kotlin Spring Boot + Angular 6 CRUD HttpClient + MySQL example | Spring Data JPA + REST APIs example
https://grokonez.com/frontend/angular/angular6/kotlinspringbootangular6crudhttpclientmysqlexamplespringdatajparestapisexample Kotlin Spring Boot +...