I have a webapp which has user/group functions, and existing user/group data.
I want to use Activiti the process engine, however, it seems Activiti manage user/group info itself.
Should I:
- Refactor my existing webapp, to reuse the user/group data from Activiti, or
- Write some adapter code, to make Activiti reuse user/group data in my existing database? Maybe, another implmentation of
RepositoryService
,IdentityService
, etc., and recompile? It seemsRepositionServiceImpl
is hard coded in the Activiti sources, and there isn't asetRepositionService()
method inProcessEngine
.
I can't rename the existing db tables, because there are some other apps using them.
I have read the user guide, but I didn't found any information on how to integrate Activiti with existing apps.