Java Best Practices
This page is meant to collect best practices for Java programming generally and within the OpenOffice.org environment. It is an amendment to the Java Coding Standards.
Query Interface (Qifc)
UnoRuntime.queryInterface() is costly regarding performance. When it has to be used in loops, it should be done outside of the loop and the result reused inside.