I am a beginner of OpenOffice and I am learning the SDK document now. Instead, i found the mapping from IDL to java looks missing something:
1. the mapped Java classes contains less information than the IDL, By using the Java 5 annotations will solve this problem, and we can even write no IDL at all, and simply writing the Java classes, and using a tool to generate the IDL if neccessary. 2. the Out/In Out parameter mapping is something strange. I think using a OutHolder<T> or InOutHolder<T> will be more clear 3. No Service is mapped, this require the queryInterface called frequently. I think a Service can be mapped to an interface which may extends other interface or aggregate optional interface inside. And more, i think there should be a util to generate the POJO mapping from exists IDL(Its better to include the documents in Java).