When implementing logic to work with business processes with Java, (e.g. for delegates), it is important that the expressions used in the model are matching the actual available code. For example, during development, the amount and identifiers of activities and process variables are frequently changing. This bears the risk that code breaks or is incomplete. The benefits of static typing and strong references get lost when working just with string references.
In this session I will show how the BpmnParser can be used to instantiate models and how based on this to write a code generator that produces glue code, e.g. for Java or Typescript. With this I will show how this helps to write more robust code where breaking changes are detected at build time already.
Speakers:
|
Karsten Thoms, Senior Software Engineer, Karakun GmbH
Karsten Thoms works as Senior Software Engineer for Karakun GmbH in Dortmund/Germany, where he also lives. Karsten has over 20 years experience in the development of Java based systems, with a focus on enterprise applications and IDE development. Over the years he has been strongly involved in the development of tool chains following model-based approaches. As such he was a driving force behind the known language development framework Eclipse Xtext and developed code generators for customer specific needs. In his spare time Karsten likes to contribute to Open Source projects. In the past years Karsten was closely involved in the development of Eclipse Xtext and the Eclipse Java IDE. |
Start your 30-day free trial of Camunda.