Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ahead-of-time compilation for process models #85

Open
tobiasschaefer opened this issue Sep 25, 2020 · 1 comment
Open

Ahead-of-time compilation for process models #85

tobiasschaefer opened this issue Sep 25, 2020 · 1 comment

Comments

@tobiasschaefer
Copy link
Collaborator

tobiasschaefer commented Sep 25, 2020

Currently, process models are parsed at runtime during startup.

Idea: use the ahead-of-time compilation concept of Micronaut to parse the process models during build time and create a Java-Code representation, see org.camunda.bpm.model.bpmn.Bpmn with methods like createProcess.

See also https://camunda.com/blog/2014/02/the-new-camunda-bpmn-model-api/

This will reduce the startup time.

Todo: first check if this optimisation is really worth the effort.

@tobiasschaefer
Copy link
Collaborator Author

Comment from @StephenOTT in #1: Note that the fluent API does not support all aspects BPMN. So as a result you need to manually generate many of the objects at a low level of the API. (Again went down this path as well for other use cases)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant