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

Joined: 04 Jul 2007 Posts: 17
|
Posted: Fri Jul 06, 2007 7:03 am Post subject: UNO Call to remote openoffice server without local OO |
|
|
| Is it posible make java aplication (with some java uno libraries) that will be platform independent and able to connect to remote OpenOffice instance without local OO instalation? We need to make aplication running on J2EE Aplication Server on AIX (there is curently no stable OO port for AIX) that will connect to remote Windows with openoffice. |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3531 Location: Hamburg, Germany
|
Posted: Fri Jul 06, 2007 10:10 am Post subject: Re: UNO Call to remote openoffice server without local OO |
|
|
| Dante13 wrote: | | Is it posible make java aplication (with some java uno libraries) that will be platform independent and able to connect to remote OpenOffice instance without local OO instalation? We need to make aplication running on J2EE Aplication Server on AIX (there is curently no stable OO port for AIX) that will connect to remote Windows with openoffice. |
Yes, it is possible. Although I cannot recommend to connect to a remote OOo server. Doing this has a huge disadvantage: You cannot handle to restart OOo if it terminates itself after a problem (which happens from time to time).
I'm using another approach: I've created a local running OOo service which creates PDF files from some templates and variable data. My local running OOo service restarts OOo after OOo terminates itself. After that, I added some RMI code to my service. Now I can connect from everywhere over the LAN to my RMI-OOo-Service which uses the local running OOo. Something like this should be possible for you, too.
Regards
hol.sten |
|
| Back to top |
|
 |
Dante13 General User

Joined: 04 Jul 2007 Posts: 17
|
Posted: Fri Jul 06, 2007 12:26 pm Post subject: |
|
|
| Good idea, I thought today about putting there j2ee engine and turn my app into webservice, but to accomplish it will need working WebDAV with authentication |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3531 Location: Hamburg, Germany
|
Posted: Fri Jul 06, 2007 1:28 pm Post subject: |
|
|
| Dante13 wrote: | | Good idea, I thought today about putting there j2ee engine and turn my app into webservice |
Using your service as a webservice instead of RMI will work, too. That way you also wouldn't need WebDAV.
Regards
hol.sten |
|
| Back to top |
|
 |
|