0

We have an Oracle DB running on Linux.

When data is ready to report, a value is placed in a table in the DB.

Presently an app is scheduled to run every 10 seconds to check for the value and if it's there it prints out the report. NOT prety.

How can I make this pretty?

I sort of envision the Oracle DB somehow triggering the windows server to print (TCP/IP? Small service listening on windows box) so that the windows app only fires up when it's time to do work.

How would you get the Linux/Oracle system to "signal" the Windows box?

4

1 回答 1

3

实际上,轮询是一种快速、廉价、有弹性且最重要的实现目标的方法。

远程 db 启动的触发器非常性感,它可以像在 Samba 中使用 Cups 并直接从 Linux 机器打印一样简单。或者它可能像带有错误检查的完整双向 RPC 一样复杂。

无论哪种方式,不要修复没有损坏的东西。

于 2008-11-14T01:30:35.100 回答