471,339 Members | 1,231 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,339 software developers and data experts.

Calling WMI from Java?

I need to provide the default printer and printer port to a CICS application,
whose middle tier is hosted on a Unix server. Basically, I need to provide
this information to a Java application. I immediately thought of WMI as the
means of extracting this info from the client, and 2 ways of connecting the
Windows and java world together.

1. Provide the WMI calls in a web service so the java client could connect
and provide the computer name we want the printer information from. This
would be fairly straightforward in C#, but i don't know how difficult it is
for a Java app to consume a web service.

2. Let the Java client access WMI on the windows client. Of this, I am
completely in the dark. I know WBEM has been around for a while and Java can
access this, but I'm not sure the printer information is in a WBEM class, or
even how to interface to it.

Has anyone any idea on this or can anyone point me to an article that can
address this? Thanks in advance for any info...
Jul 22 '05 #1
0 5749

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by F. GEIGER | last post: by
2 posts views Thread by Radha News | last post: by
7 posts views Thread by Klaus Friese | last post: by
7 posts views Thread by Christian Wilhelm | last post: by
3 posts views Thread by Jerome Cohen | last post: by
6 posts views Thread by Sascha Schmidt | last post: by
4 posts views Thread by simon | last post: by
4 posts views Thread by raghuvendra | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.