JBPM provides a lot of services, these services are collectively referred to as Service, we look at the Hierarchy of Service:
--Service | ---- DefinitionService | ---- DefinitionServiceImpl | ----- ExecutionService | ---- ExecutionServiceImpl | ----- SchedulerServer | ---- SchedulerService | ----- SchedulerService | - SCHEDULERSERVICEIMPL1) DEFINITIONSERVICE provides users with process release / delete service 2) ExecutionService provides users with process execution services 3) Schedulerserver is Job Scheduling Server 4) SchedulerService Implement JOB Scheduling Services
The above server is generated by JBPMServiceFactory, as follows: DefinitionService DS = JBPMServiceFactory.getInstance (). OpenDefinitionService (); ds.deployprocessarchive (jis); ds.close (); service interface does not define all function implementations, Only a Close () method is defined, so we use the factory mode to generate a server, you should specify a specific server such as DefinitionService without collective service.