Hi,
I have looked everywhere to find if anybody has developed a way to connect to a remote openoffice server, and allow a user to edit a document in a java frame.
The scenario I am looking for would allow the user to connect to a server using an IP connection. Then allow a client to connect to this running server. The client would not have an installation of openoffice, instead I am looking for a way to build a JAVA application that contains the necessary jar's to allow the user to edit documents within a java (preferably SWT but can bridge an AWT) frame but be connected to the remote server installation.
The remote connection appears to be possible with the SDK but the officebean does not appear to support this type of scenario.
If anybody can advise or comment on this, would be great. Thanks
Regards,
Stuart Ledwich
OpenOffice Remote Server in JAVA Frame
Re: OpenOffice Remote Server in JAVA Frame
You could try this toolkit that's just been released: http://blogs.sun.com/GullFOSS/entry/out ... rst_public
Ubuntu 11.04-x64 + LibreOffice 3 and MS free except the boss's Notebook which runs XP + OOo 3.3.
Re: OpenOffice Remote Server in JAVA Frame
Here is a java web server. This code may help you.
OOo 2.3.X on Mandriva
-
developer-si
- Posts: 3
- Joined: Mon Mar 23, 2009 10:23 pm
Re: OpenOffice Remote Server in JAVA Frame
Hello!
I'm working on a application that gets documents as byte array from Oracle database. It looks up magic bytes to define it's file type and converts the document to PDF using a connectiom to a running OpenOffice instance on a remote server. I was not able to try by my self yet but it is possible for a single remote OpenOffice instance to handle multiple client connection to convert documents to PDF at the same time without any 3rd party tools/libraries? Because the application I wrote is a Java Applet that is going to be used by multiple users in a company.
Thanks in advance!
Greetings
I'm working on a application that gets documents as byte array from Oracle database. It looks up magic bytes to define it's file type and converts the document to PDF using a connectiom to a running OpenOffice instance on a remote server. I was not able to try by my self yet but it is possible for a single remote OpenOffice instance to handle multiple client connection to convert documents to PDF at the same time without any 3rd party tools/libraries? Because the application I wrote is a Java Applet that is going to be used by multiple users in a company.
Thanks in advance!
Greetings
OOo 3.0.X on MS Windows Vista + Linux Ubuntu
Re: OpenOffice Remote Server in JAVA Frame
OOo can handle multiple client connections, but be warned: If you use OOo that way your application will be very very unreliable as you can read in various posts in all OOo forums. Don't do it. OOo does not block instantaneously, but it wouldn't last long. And than all multiple handled document conversions are lost. OOo is even a little unreliable if you use only one connection at a time, but OOo handles much more document conversions being used that way.developer-si wrote:is possible for a single remote OpenOffice instance to handle multiple client connection to convert documents to PDF at the same time
Java offers a lot of ways to get several requests in one line and handle the document conversions one by one. Put some Java code between your Java applet and the remotely running OOo server. That'll do the trick.
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
-
developer-si
- Posts: 3
- Joined: Mon Mar 23, 2009 10:23 pm
Re: OpenOffice Remote Server in JAVA Frame
I understand. Thanks for your explanation. For now I'll test current version a little bit. In the next phase I'll try to use this OO server daemon: http://oodaemon.sourceforge.net/
Will see how it goes.
Regards.
Will see how it goes.
Regards.
OOo 3.0.X on MS Windows Vista + Linux Ubuntu
Re: OpenOffice Remote Server in JAVA Frame
HI
Is there a remote OO service aviable now ?
Can I develop a client program to connect the remote OO service ?
I'm quite concern about how is your work going on, its much alike with my current work, maybe you can give me some advice. Thanks !!
Is there a remote OO service aviable now ?
Can I develop a client program to connect the remote OO service ?
I'm quite concern about how is your work going on, its much alike with my current work, maybe you can give me some advice. Thanks !!
OpenOffice on Windows 3.1
Re: OpenOffice Remote Server in JAVA Frame
This is not possible using the Bootstrap Connection Mechanism (http://user.services.openoffice.org/en/ ... =44&t=1013). But using the Interprocess Connection Mechanism (http://user.services.openoffice.org/en/ ... =44&t=1014) it is possible. All you have to do is set host and port in the OOo connection string -accept=socket,host=localhost,port=8100;urp to appropriate values.calorie wrote:Is there a remote OO service aviable now ?
Can I develop a client program to connect the remote OO service ?
Or you use the bootstrapconnector (http://user.services.openoffice.org/en/ ... =44&t=2520). It offers the possibility to connect to a remotely running OOo server by setting the appropriate host and port too.
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP