Java 异常报告 GUI 后端

发布于 2024-09-16 23:03:22 字数 430 浏览 9 评论 0原文

我经常在商业软件中看到错误报告 GUI。这包括整个商业软件:游戏、企业应用程序、办公应用程序等。

对于我公司的一些软件,如果(以及最终当)我的应用程序意外失败,我希望提供异常报告 GUI。构建 GUI 并不难。归结为:异常报告中的后端系统是否有现有的解决方案?理想情况下,我正在寻找一个java库和相应的服务器后端。我可以推出自己的解决方案;例如,我可以通过 POST 数据将数据发送到网络服务器。

我觉得这个问题的解决方案已经存在于某个地方——我只是还没有遇到它。有什么建议吗?

编辑:

用户的前端 GUI 示例。我需要一个库来管理错误报告的后端。 (我不需要用户登录功能,只需要基本报告。)

alt text

Very frequently I see error reporting GUIs in commercial software. This includes the whole gamut of commercial software: games, enterprise apps, office apps, etc.

For some of my company's software I would like to provide exception reporting GUIs if (and ultimately when) my application fails unexpectedly. Building the GUI is not hard. It boils down to this: Are there any existing solutions for the backend systems in exception reporting? Ideally I am looking for a java library and a corresponding server backend. I could roll my own solution; for example, I could send the data to a webserver via POST data.

I feel like a solution for this already exists somewhere -- I just haven't run into it. Any recommendations?

Edit:

Example frontend GUI for a user. I need a library to manage the backend of the error reporting. (I won't need user login functionality, just basic reporting.)

alt text

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

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

发布评论

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

评论(3

祁梦 2024-09-23 23:03:22

我认为由于每个项目的特定特点,异常报告中没有通用的现有解决方案。有些项目需要使用简单的 HTTP 发送报告,有人使用 Web 服务,有人制作文件报告。

我发现旧的 帖子 作者建议提取错误从 Netbeans 报告代码并从中创建独立项目。

不管怎样,自己实现错误报告工具是没有问题的。您可以使用 JAX-WS 的 HttpClient(如果您有富客户端)或者可以使用 AJAX(如果您有 Web 客户端)来发送报告。

实现在很大程度上取决于您使用哪种通信方式,如果旅游项目,什么样的项目,您使用什么样的前端等等。为所有项目实现通用库确实很困难。

I think there is no common existing solutions in exception reporting because of specific features of every project. Some projects need to send report using simple HTTP, someone uses web services, someone makes a file report.

I've found old post where author suggest to extract error reporting code from Netbeans and make independent project from it.

Anyway, there is no problem to implement error reporting tool yourself. You could use HttpClient of JAX-WS (if you have a rich client) or you could use AJAX (if you have a web client) for sending reports.

Implementation is strongly depend of what kind of communication do yo use if tour project, what kind of project, what kind of front-end do you use and etc. It's really hard to implement common library for all projects.

魂ガ小子 2024-09-23 23:03:22

异常报告中的后端系统是否有任何现有的解决方案?理想情况下,我正在寻找一个java库和相应的服务器后端。

查看 Ctrlflow 自动错误报告,这是一个软件即-向服务后端发送错误报告。然后,您的前端 GUI 将使用可用 Java 库之一与您的 Ctrlflow Automated 进行通信错误报告实例。

要全面了解后端的功能集(可能提供超出您需要的功能),请使用 产品导览。或者只需登录演示服务器来感受一下后端。

希望有帮助。

Are there any existing solutions for the backend systems in exception reporting? Ideally I am looking for a java library and a corresponding server backend.

Have a look at Ctrlflow Automated Error Reporting, which is a software-as-a-service backend to send error reports to. Your frontend GUI would then use one of the available Java libraries to communicate with your Ctrlflow Automated Error Reporting instance.

To get a good overview of the backend’s feature set (which may offer more than you need), take the product tour. Or just log into the demo server to get a feel for the backend.

Hope that helps.

骄傲 2024-09-23 23:03:22

该产品具有检测功能,允许您通过将数据发送到门户来跟踪异常:http: //www.preemptive.com/products/dasho/overview。这些功能已添加到 6.7 版本中。
尽管它是一个混淆器,但您可以关闭这些功能,只使用检测功能发送数据或直接使用 API。
PS-这是我公司的产品。

This product has an instrumentation feature that allow you to track the exceptions by sending the data to a portal : http://www.preemptive.com/products/dasho/overview. These features were added to the 6.7 release.
Although it is an obfuscator, you can turn those features off and just use the instrumentation features to send the data or use the APIs directly.
PS - this is my company's product.

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