用于查询数据库并通过 HTTPS 将结果作为文件发送的应用程序

发布于 2024-07-09 20:30:31 字数 374 浏览 7 评论 0原文

我目前有一个工具,允许我配置数据库连接(使用 JDBC)并指定一组针对数据库运行的查询。 它被安排在一天中的特定时间运行(当前使用 cron 或 Windows 调度程序)。 然后,该工具将结果导出到文件 (xml) 并通过 HTTPS 将该文件发送到我的服务器。 该工具安装在客户计算机上,以便我可以从他们那里获取一些数据供以后处理。

我想为此编写一个前端,以便客户可以轻松地自行设置数据提取。 然而,我不太熟悉富客户端前端开发(作为一名集成软件开发人员),并且想知道是否有一个现有的工具可以完成所有这些工作,或者是否值得学习一些 Swing 说,所以我可以敲一个前端。 你们中有人知道合适的工具吗? (我正在寻找一种单一功能的东西,而不是完整的数据提取和转换套件,这可能会吓跑一些客户)

I've currently got a tool which allows me to configure a database connection (using JDBC) and specify a set of queries to run against the database. This is scheduled to run at a specific time of day (using cron or windows scheduler currently). The tool then exports the results to a file (xml) and sends this file to my server via HTTPS. This tool is installed on customers computers so that I can get some data feeds from them for later processing.

I'd like to write a front-end to this that will make it easy for customers to set up the data extraction themselves. However I'm not really familiar with Rich Client front-end development (being a integration software developer) and was wondering whether there was an existing tool that would do all this, or if it was worth learning a bit of Swing say so I could knock up a front-end. Do any of you know of a suitable tool? (I'm looking for a one function kind of thing rather than a full data extraction and transformation suite which may scare off some customers)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

娇柔作态 2024-07-16 20:30:31

如果你的工具已经存在并且正在工作,我认为最好的方法是阅读一些有关 GUI 事件编程的内容(一旦你掌握了它并拥有一个不错的 GUI 构建器,这相当容易)并使用GUI 生成器。

对于 Java,我推荐 Netbeans IDE 及其 GUI 生成器。

最简单的路径是 GUI 通过 Runtime.exec() 或类似方法将收到的参数传递给现有工具。

If your tool already exists and is working, I think the best approach would be to just read a bit about GUI events programming (it's fairly easy once you get the grasp of it and have a nice GUI Builder) and wrap up a small GUI using a GUI Builder.

For Java I can recommend the Netbeans IDE and its GUI Builder.

The easiest path then would be for the GUI to just pass the received arguments to the existing tool, via Runtime.exec() or a similar approach.

从﹋此江山别 2024-07-16 20:30:31

在我看来,通过 Swing 制作一个像样的 UI 是非常简单和快速的。 Swing 教程可能是一个好的开始。

In my opinion, it's quite easy and fast to make a decent UI via Swing. The Swing tutorial may be a good start.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文