Java in UNO and OpenOffice
Java is the famous and easy to learn computer language developed by sun. Because OpenOffice is based on the language independent component model UNO, components can be written in any language for which exists a so called language binding. Fortunately there is such a language binding for java.
It follows a short list of what is important for the java developer, who wants to write components for UNO or OpenOffice:
- How are UNO types mapped to java?
- What is the base functionlity to use UNO from Java?
- How to write a java component?
- Which java components do exist?
- Which other components do exist (stoc/source, io/source)?
- What does the api looks like?
- How to integrate a java component into the office?
- How to write UNO java applications?
- How to access OO or sun ONE webtop from remote?
- How to find javadoc-generated documentation?
People who have made the first steps may want to know how all this is possible and how and in which projects the connection between UNO and java is implemented, so please have a look at the following table, which gives an overview of the involved projects:
|Modules involved with java UNO|
||the tool, which generates java interface descriptions out of the type library|
||tools for java uno components (RegComp / UnoApp / DumpType)|
||allowes the boostrapping of a servicemanager and gives access to the native component loader|
||the core of java UNO|
||an execution environment for remote loadable classes|
||the typelibrary and the precompiled java interfaces of the udkapi|
||the native java uno bridge, so the java components can be accessed from binary UNO|
||the java component loader to load java components|
||the java vm service, which gives access to a native java vm|
||the precompiled java interfaces of the OO api|
Further interesting is how the mapping of objects between UNO and JAVA and vice versa works. Especially the lifecycle may be of interest. Also we have a little FAQ about java UNO. This convention document gives some hints to find your way through the source.