Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Stardust/Knowledge Base/Integration/Application/POJO
Purpose
Execution of Java code that can involve the primitive data and structural data elements of the model.
Model Description
Following model is used to implement an example of a plain java application (PlainJavaAppExample.xpdl in this zip):
The user enters the full name of a client (format: <first name> <last name>).
In application activity Dispatch Fullname and Generate ID:
the full name is dispatched into first name and last name using Plain Java Application Generate Id App. Therefore, using IN Data Mapping, primitive data Full Name is mapped into the attribute fullName of Generate Id App.
Likewise, the customer id is generated.
Finally, using OUT Data Mapping the corresponding attributes of Generate Id App are mapped into the corresponding fields of Customer structured data.
The values of the Customer structured data are displayed.