如何在服务器模式下将OpenOffice用作多线程服务? [英] How can I use OpenOffice in server mode as a multithreaded service?
本文介绍了如何在服务器模式下将OpenOffice用作多线程服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在服务器模式下使用 OpenOffice 有什么经验?我知道OpenOffice不是多线程的,现在我需要在我们的服务器中使用它的服务.
我该怎么做才能克服这个问题?
What is the experience of working with OpenOffice in server mode? I know OpenOffice is not multithreaded and now I need to use its services in our server.
What can I do to overcome this problem?
我正在使用Java.
推荐答案
是的,我使用OpenOffice作为文档转换服务器.
Yes, I am using OpenOffice as a document conversion server.
不幸的是,解决您的问题的方法是生成一个OpenOffice进程池.
Unfortunately, the solution to your problem is to spawn a pool of OpenOffice processes.
公共池 JODConverter的分支(在移至code.google.com
之前)为您实现了现成的功能.
The commons-pool branch of JODConverter (before it moved to code.google.com
) implemented this out-of-the-box for you.
这篇关于如何在服务器模式下将OpenOffice用作多线程服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文