OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

What is the minimum needed to use OOo in a java application?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
ooDaze
General User
General User


Joined: 26 Apr 2009
Posts: 5

PostPosted: Tue Apr 28, 2009 10:26 am    Post subject: What is the minimum needed to use OOo in a java application? Reply with quote

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 Wink If there is a more appropriate forum for this question, let me know.
Back to top
View user's profile Send private message
ooDaze
General User
General User


Joined: 26 Apr 2009
Posts: 5

PostPosted: Fri May 01, 2009 4:58 am    Post subject: Reply with quote

It was not meant to be a stumper Wink Anyone?
Back to top
View user's profile Send private message
RPG
Super User
Super User


Joined: 24 Apr 2008
Posts: 2697
Location: Apeldoorn, Netherland

PostPosted: Fri May 01, 2009 6:07 am    Post subject: Reply with quote

Hello

I don't if I understand it correct but maybe this tutorial can start to help you

http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide

It explains Basic but also a lot of other things.
This links point to more documents
http://wiki.services.openoffice.org/wiki/Documentation

I'm not capable to explain it.

Romke
Back to top
View user's profile Send private message
ooDaze
General User
General User


Joined: 26 Apr 2009
Posts: 5

PostPosted: Fri May 01, 2009 8:56 am    Post subject: Reply with quote

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 Wink 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
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Fri May 01, 2009 10:18 am    Post subject: Re: What is the minimum needed to use OOo in a java applicat Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group