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 xml
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
<property mutable="true"> |
...
<key>jaxfront.ui. |
...
useGlobalUIDefinitions</key>
<value>false</value>
</property> |
API call
API:Codeblock theme Eclipse language java linenumbers true JAXFrontProperties.getInstance(getDOM().getAppContext()).setUsingGlobalUIDefinitions(false);
Single For a single ui:
API call
API:Codeblock theme Eclipse language java linenumbers true jaxfrontDom.getGlobalDefinition().setUseGlobalTypes(false);