Quantcast
Channel: Intel® Active Management Technology
Viewing all articles
Browse latest Browse all 162

Intel AMT and Java

$
0
0

For all of you Java developers out there that have be searching for tools to help with your Intel® Active Management Technology solutions, your search is over. I’d like to introduce you to the Intel® WS-Management Java Client Library, available for download here.

This download contains source code for a library that can be used to make WS-Management calls to Intel® AMT devices. Also included are code samples that demonstrate how to use the library to interact with many AMT features and documentation on the library & samples.

 Key Features

  • Allows Intel® AMT development in Java environments

  • 100% pure Java (no JNI or native code wrapping)

  • Supports Digest and Kerberos authentication

  • Library is packaged in a single .jar file with JavaDocs

  • Supports JDK5 and newer (JDK6 required for native Kerberos support)

  •  

 Getting Started

Just include IntelWsmanLib.jar in your class path and you can start calling the API.  I wrote a few of the samples in the download using the NetBeans Integrated Development Environment. But you can use any Java capable environment as long as you include the jar file. Relevant objects are found in the intel.management.wsman Java package.

The library is WS-Management compliant and not AMT specific or even AMT version specific. There are no WSDL files, XSD files, or MOF files needed.

 Writing Code

Here are some snippets to give you an idea of how the code looks.

First create a connection to a WS-Management Service as follows:

        import intel.management.wsman.*;

        connection = WsmanConnection.createConnection(<url>);

Then use the resulting connection object to perform WS-Transfer, WS-Enumeration, or WS-Eventing operations using either digest or Kerberos credentials.

 For example, to get the AMT host name:

        ManagedReference ref = connection.newReference(“AMT_GeneralSettings”);

        ManagedInstance inst = ref.get();

        inst.GetProperty(“HostName”);

Take a look at the sample code included in the download for more details.

Please post to our forum any questions, comments or feedback.

  • AMTJAVA
  • Icon Image: 

  • Intel® vPro™ Technology
  • Security
  • Intel® Active Management Technology
  • Business Client
  • Developers
  • Include in RSS: 

    0
  • Intermediate

  • Viewing all articles
    Browse latest Browse all 162

    Trending Articles



    <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>