推荐用于在Windows上使用WMI的库/ howtos? [英] Recommended libraries/howtos for using WMI with java?

查看:125
本文介绍了推荐用于在Windows上使用WMI的库/ howtos?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们。我有一个相当大的商业项目(所以付费许可总是一个选项)正在进入Windows领域,我正在计划用WMI进行大量的轮询。这是一个Java 1.6客户端应用程序。有没有好的资源或书籍让我开始在java中完成这个?我觉得我的.NET fu非常强大,但我经常不知道从哪里开始用Java完成相同的任务。



谢谢!

解决方案

我不知道任何特定于Java的书籍,但如果我能提供一些建议,那就是从WMI MSDN开始文档。此外,由于WMI是基于COM的API,因此我将研究如何使用Java to COM桥来访问API。以下任何一项都应该有效:





对于围绕WMI的Java包装器, e是 jWMI 库。


Hey Folks. I have a reasonably large commercial project (so for-pay licensing is always an option) that is moving into the windows space and I am planning on doing alot of polling with WMI. This is a Java 1.6 client app. Are there any good resources or books out there to get me started in accomplishing this in java? I feel my .NET fu is pretty strong, but I often don't know where to start to accomplish the same tasks in Java.

Thanks!

解决方案

I don't know of any books specific to Java, but If I can offer some advice it would be to just start with WMI MSDN documentation. Also, since WMI is a COM based API, I would look into using a Java to COM bridge for accessing the API. Any one of the following should work:

For a Java wrapper around WMI, there is the jWMI library.

这篇关于推荐用于在Windows上使用WMI的库/ howtos?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆