Using Global UI definitions gives the xui designer the ability to reuse xui declarations and has thus a great effect at the number of declared xui definitions. This reduction leads on the other hand to an higher cpu utilization even more for large xml schemas. JAXFront resolves global type dependencies at runtime and this causes the slowdown in execution speed. If you don't need Global UI definitions you can turn this feature off:
Disable Global UI definitions
For All ui's:
- jaxfront.xml
<property mutable="true"> <key>jaxfront.ui.useGlobalUIDefinitions</key> <value>false</value> </property>
API call
JAXFrontProperties.getInstance(getDOM().getAppContext()).setUsingGlobalUIDefinitions(false);
For a single ui:
API call
jaxfrontDom.getGlobalDefinition().setUseGlobalTypes(false);