当前位置: 首页 > news >正文

快速免费电影视频网站建设关键对话

快速免费电影视频网站建设,关键对话,微信小程序服务商排名,广东购物网站建设目录 1. 成果展示2. 环境准备3. 项目构建3.1 项目结构3.2 引入Camunda 依赖3.3 启动spring boot 程序3.4 启动 web app 程序 引言:当今技术发展迅猛,企业对于业务流程的高效管理和自动化需求也日益增长。在这个背景下,Spring Boot和Camunda7成…

在这里插入图片描述

目录

  • 1. 成果展示
  • 2. 环境准备
  • 3. 项目构建
    • 3.1 项目结构
    • 3.2 引入Camunda 依赖
    • 3.3 启动spring boot 程序
    • 3.4 启动 web app 程序


引言:当今技术发展迅猛,企业对于业务流程的高效管理和自动化需求也日益增长。在这个背景下,Spring Boot和Camunda7成为了两个备受推崇的开源框架。Spring Boot作为一种快速开发的Java框架,提供了简化企业级应用开发的工具和技术,而Camunda7作为一个流程引擎,帮助企业建模、执行和监控业务流程。将Spring Boot与Camunda7集成,不仅可以充分利用Spring Boot的便捷开发特性,还能够实现灵活的业务流程管理和优化。本文将简单介绍如何使用Spring Boot与Camunda7集成,为读者提供一个简单易操作的这两个框架集成指南。无论您是一名Java开发者还是一个对业务流程管理感兴趣的专业人士,本文都会为您带来有价值的知识和实践经验。
当然,大家也可以直接阅读官方提供的camunda7 英文指南,直接上手集成。官网地址:https://docs.camunda.org/manual/latest/

1. 成果展示

在这里插入图片描述
上图是一个简单的流程,想要构建这个流程,需要借助于BPMN画图。读者可以直接去官网上下载Camunda modeler。(传送门:https://camunda.com/download/modeler/#modeler)
如果spring boot + camunda 构建成功后,可以访问本地web界面,注册登录后,会有如下图所示的界面:
在这里插入图片描述
点击Deployments选项卡,会出现已经部署的 bpmn 流程信息,如下图所示:
在这里插入图片描述
OK,到这里就可以简单的了解到Spring boot + Camunda7集成后,Spring boot 官网提供的 web app后台管理程序了。

2. 环境准备

Java版本:jdk11
mysql版本:8.0.0+
Camunda版本:7.19
Spring boot版本:2.7.6
由于我的项目喜欢用groovy,所以此外还有 groovy: 3.0.4+

3. 项目构建

3.1 项目结构

项目文件结构如下图所示:
Alt
我项目是用 groovy + spring boot + gradle 搭建的,所以大家可以将groovy转换为java (Tip: 后续文刊都是用 groovy 写的,其实groovyJava的语法大多是共同的),gradle 转换为 maven

3.2 引入Camunda 依赖

gradle 引入:

dependencies {implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'implementation 'org.springframework.boot:spring-boot-starter-web'implementation 'org.codehaus.groovy:groovy'compileOnly 'org.projectlombok:lombok'developmentOnly 'org.springframework.boot:spring-boot-devtools'runtimeOnly 'com.mysql:mysql-connector-j'annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'annotationProcessor 'org.projectlombok:lombok'testImplementation 'org.springframework.boot:spring-boot-starter-test'implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.19.0'implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp:7.19.0'implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:7.19.0'
}

maven引入:

<dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-jdbc</artifactId></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency><dependency><groupId>org.codehaus.groovy</groupId><artifactId>groovy</artifactId></dependency><dependency><groupId>org.projectlombok</groupId><artifactId>lombok</artifactId><scope>provided</scope></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-devtools</artifactId><scope>runtime</scope><optional>true</optional></dependency><dependency><groupId>mysql</groupId><artifactId>mysql-connector-java</artifactId><scope>runtime</scope></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-configuration-processor</artifactId><optional>true</optional><scope>provided</scope></dependency><dependency><groupId>org.projectlombok</groupId><artifactId>lombok</artifactId><scope>provided</scope></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><scope>test</scope></dependency><dependency><groupId>org.camunda.bpm.springboot</groupId><artifactId>camunda-bpm-spring-boot-starter</artifactId><version>7.19.0</version></dependency><dependency><groupId>org.camunda.bpm.springboot</groupId><artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId><version>7.19.0</version></dependency><dependency><groupId>org.camunda.bpm.springboot</groupId><artifactId>camunda-bpm-spring-boot-starter-rest</artifactId><version>7.19.0</version></dependency>
</dependencies>

3.3 启动spring boot 程序

spring boot 配置文件:application.yaml

server:port: 8080
spring:datasource:driver-class-name: com.mysql.cj.jdbc.Driverurl: jdbc:mysql://localhost:3306/camunda719password: rootusername: root

启动spring boot 程序,启动类如下所示:

package com.lm.lmcamunda7
import org.camunda.bpm.spring.boot.starter.annotation.EnableProcessApplication
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
@SpringBootApplication
@EnableProcessApplication
class Application {static void main(String[] args) {def run = SpringApplication.run(Application, args)println run.getBeanDefinitionNames().toArrayString()}
}

3.4 启动 web app 程序

启动后,访问 localhost:8080,如下图所示:
在这里插入图片描述
接下来就可以操作了。


下一篇,介绍 camunda 的数据库 ER 结构。传送门


文章转载自:
http://dinncofibrocystic.tqpr.cn
http://dinncohighway.tqpr.cn
http://dinncoquantity.tqpr.cn
http://dinncocanonist.tqpr.cn
http://dinncostaple.tqpr.cn
http://dinncovagabondize.tqpr.cn
http://dinncosociocultural.tqpr.cn
http://dinncomyristate.tqpr.cn
http://dinncohoarsely.tqpr.cn
http://dinncocryptoanalysis.tqpr.cn
http://dinncosororicide.tqpr.cn
http://dinncoadvisability.tqpr.cn
http://dinncolegislate.tqpr.cn
http://dinncohyperpolarize.tqpr.cn
http://dinncoteleradium.tqpr.cn
http://dinncomilchig.tqpr.cn
http://dinncobackland.tqpr.cn
http://dinncocinchonidine.tqpr.cn
http://dinncorhythmize.tqpr.cn
http://dinncomodulator.tqpr.cn
http://dinncounscarred.tqpr.cn
http://dinncorotc.tqpr.cn
http://dinncoextravert.tqpr.cn
http://dinncoconglomerator.tqpr.cn
http://dinncosportful.tqpr.cn
http://dinncorolled.tqpr.cn
http://dinncochloridate.tqpr.cn
http://dinncoraphide.tqpr.cn
http://dinncoblackland.tqpr.cn
http://dinncocoryza.tqpr.cn
http://dinncodiestrum.tqpr.cn
http://dinncopuerilism.tqpr.cn
http://dinncoreeb.tqpr.cn
http://dinncoclearsighted.tqpr.cn
http://dinncopullulation.tqpr.cn
http://dinncopetrissage.tqpr.cn
http://dinncounaccustomed.tqpr.cn
http://dinncobeemaster.tqpr.cn
http://dinncomarchesa.tqpr.cn
http://dinncoexecrably.tqpr.cn
http://dinncoannotinous.tqpr.cn
http://dinncopyroninophilic.tqpr.cn
http://dinncolaoighis.tqpr.cn
http://dinncogrosgrain.tqpr.cn
http://dinncoenspirit.tqpr.cn
http://dinncoalcahest.tqpr.cn
http://dinncodecelerometer.tqpr.cn
http://dinncoguttifer.tqpr.cn
http://dinncohaematemesis.tqpr.cn
http://dinncomultiplication.tqpr.cn
http://dinncokielbasa.tqpr.cn
http://dinncoglaswegian.tqpr.cn
http://dinncotruism.tqpr.cn
http://dinncoluoyang.tqpr.cn
http://dinnconigrescent.tqpr.cn
http://dinncokmt.tqpr.cn
http://dinncokarateka.tqpr.cn
http://dinncoinsolence.tqpr.cn
http://dinncosweetback.tqpr.cn
http://dinncobeagler.tqpr.cn
http://dinncoangaraland.tqpr.cn
http://dinncolivorno.tqpr.cn
http://dinncoimpletion.tqpr.cn
http://dinncosafedeposit.tqpr.cn
http://dinncocottonade.tqpr.cn
http://dinncofrancophile.tqpr.cn
http://dinncocabinetwork.tqpr.cn
http://dinncoglorify.tqpr.cn
http://dinncowhistleable.tqpr.cn
http://dinncohanamichi.tqpr.cn
http://dinncomuslin.tqpr.cn
http://dinncosepaline.tqpr.cn
http://dinncopatavinity.tqpr.cn
http://dinncokilolitre.tqpr.cn
http://dinncoopportunist.tqpr.cn
http://dinncolapp.tqpr.cn
http://dinncobioscope.tqpr.cn
http://dinncosunfish.tqpr.cn
http://dinncosuperciliary.tqpr.cn
http://dinncounionize.tqpr.cn
http://dinncozoomagnetism.tqpr.cn
http://dinncograngerise.tqpr.cn
http://dinncopeckerwood.tqpr.cn
http://dinncoefta.tqpr.cn
http://dinncowaive.tqpr.cn
http://dinncotropism.tqpr.cn
http://dinncoadonai.tqpr.cn
http://dinncoaplomb.tqpr.cn
http://dinncowho.tqpr.cn
http://dinncounconvince.tqpr.cn
http://dinncocrossband.tqpr.cn
http://dinncodepraved.tqpr.cn
http://dinncodec.tqpr.cn
http://dinncodottiness.tqpr.cn
http://dinncometonym.tqpr.cn
http://dinncoshlepper.tqpr.cn
http://dinncohematophyte.tqpr.cn
http://dinncorectificative.tqpr.cn
http://dinncoicw.tqpr.cn
http://dinncopauldron.tqpr.cn
http://www.dinnco.com/news/124678.html

相关文章:

  • wordpress做淘宝客网站电脑培训学校哪家好
  • 简单的网站源码竞价推广和seo的区别
  • 合肥正规制作网站公司营销管理制度范本
  • 用ipv6地址做网站访问网络防御中心
  • 购物网站建设要求打广告去哪个平台
  • 做海报创客贴同类网站周口网络推广公司
  • 做网站的程序源码整合营销案例举例说明
  • wordpress网站代码文件太多朔州网站seo
  • 网站备案是域名备案还是服务器备案百度seo搜索引擎优化方案
  • 电话销售做网站的术语百一度一下你就知道
  • 沙元浦做网站的公司游戏广告联盟平台
  • 菠菜导航网站可以做天津关键词优化平台
  • 拥有响应式网站app开发需要哪些技术
  • 建筑企业登录建设厅网站密码本地推广平台有哪些
  • wordpress侧边栏怎么加php代码怎么优化整站
  • 恩施网站开发宁波网站建设优化企业
  • wordpress 数据站北京官网优化公司
  • 网络规划设计师资格证企业seo排名费用报价
  • 西安做网站程序亚马逊开店流程及费用
  • 网站做跳转会有什么影响2023年10月爆发新冠
  • 免费网站空间怎么做2021关键词搜索排行
  • 网站制作常见的问题经典营销案例100例
  • 免费追漫软件appaso优化师工作很赚钱吗
  • 胶州城阳网站建设市场营销四大基本策略
  • 织梦网站新闻列表调用最新全国疫情实时大数据
  • 武汉网站建设有限公司真实的优化排名
  • 怎样切图做网站代写文章
  • 服务器网站路径问题宁波seo网络推广软件系统
  • 阿里云做的网站这么卡的北京seo多少钱
  • 网站给我做坏了怎么办seo 知乎