| View previous topic :: View next topic |
| Author |
Message |
ooDaze General User

Joined: 26 Apr 2009 Posts: 5
|
Posted: Tue Apr 28, 2009 10:26 am Post subject: What is the minimum needed to use OOo in a java application? |
|
|
Sorry if this newbie question has been asked and answered before. But even after reading a number of articles I still don't have a clear understanding OOo and the relationships between the different players (Suite, UNO, UNO Runtime, SDK, etc...)
Can anyone tell me in plain english:
1) What is the minimum needed to use OOo in a java application, and why?
2) Do you always have to install the entire OOo suite?
3) Point me to any diagrams or links that explain the difference between (UNO, UNO Runtime, SDK, etc...) and when you would use one over the other
Any answers (even partial ones) would be greatly appreciated If there is a more appropriate forum for this question, let me know. |
|
| Back to top |
|
 |
ooDaze General User

Joined: 26 Apr 2009 Posts: 5
|
Posted: Fri May 01, 2009 4:58 am Post subject: |
|
|
It was not meant to be a stumper Anyone? |
|
| Back to top |
|
 |
RPG Super User

Joined: 24 Apr 2008 Posts: 2696 Location: Apeldoorn, Netherland
|
|
| Back to top |
|
 |
ooDaze General User

Joined: 26 Apr 2009 Posts: 5
|
Posted: Fri May 01, 2009 8:56 am Post subject: |
|
|
Thanks for the response.
Yes, I had reviewed the wiki information before posting. Unfortunately I could not find a clear answer to my questions. Maybe there is an entry somewhere that addresses it .. but I could not find it That is why I posted here. But I do appreciate your reply.
I will keep looking. If anyone knows of a more appropriate place to ask these questions, please let me know. |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3531 Location: Hamburg, Germany
|
Posted: Fri May 01, 2009 10:18 am Post subject: Re: What is the minimum needed to use OOo in a java applicat |
|
|
| ooDaze wrote: | | 1) What is the minimum needed to use OOo in a java application? |
1) OOo itself
2) A Java VM. For executing such an application, a JRE (Java Runtime Environment: http://en.wikipedia.org/wiki/JRE#Execution_environment) does suffice. For developing such an application you'll need a JDK (Java Development Kit: http://en.wikipedia.org/wiki/JDK)
3) Put some of OOo's JAR files into the CLASSPATH of your application. The always needed JAR files from an OOo installation are: juh.jar, jurt.jar, ridl.jar and unoil.jar. Using OOo 3.x on Windows these JAR files are located in the folders C:\Program Files\OpenOffice.org 3\Basis\program\classes\ and C:\Program Files\OpenOffice.org 3\URE\java\.
| ooDaze wrote: | | 2) Do you always have to install the entire OOo suite? |
Either you install it or you use the portable version of OOo from PortableApps (http://portableapps.com/).
| ooDaze wrote: | | 3) Point me to any diagrams or links that explain the difference between (UNO, UNO Runtime, SDK, etc...) and when you would use one over the other |
UNO: Universal Network Object is the component model used in OOo (http://udk.openoffice.org/, http://wiki.services.openoffice.org/wiki/Uno, http://en.wikipedia.org/wiki/Universal_Network_Objects)
UNO Runtime: The Uno Runtime Environment (URE) is the well-known UNO component model of OpenOffice.org, packaged up as an individual product (http://download.openoffice.org/ure.html)
OOo SDK: The OOo Software Development Kit provides the necessary tools and documentation for programming OOo (http://download.openoffice.org/sdk.html)
OOo Developer's Guide: A guide that describes how to write programs using UNO with OOo (http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide)
OOo API Project: The OOo API project provides an entry point in the world of OOo from a developers perspective (http://api.openoffice.org/)
I never used the UNO Runtime alone. From the OOo SDK I used only the documentation (OOo Developer's Guide, IDL reference, ...), although you can read this documentation online, too (http://api.openoffice.org/). Additionally to the above mentioned 1) to 3) I use Eclipse and NetBeans for developing OOo and Java applications and the bootstrapconnector.jar ([Java solution] "no office executable found!": http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=2520). |
|
| Back to top |
|
 |
|