Access Windows API using Java


General J2EE: Access Windows API using Java

  1. Access Windows API using Java (1 messages)

    Hello Java Guroos

    How do I access windows API using java applet to connect to a remote windows machine and start/stop windows services...

    Use JINI?.. and what else?

    Thank You
  2. Access Windows API using Java[ Go to top ]

    (1) You can write a Java class containing native methods that follow the
    JNI convention. From those methods you can call any existing functions
    you like.

    (2) you can purchase a commercial library that provides the wrappers for
    you, already made, debugged, and tested. One example is xFunction ( ), but there are several others.

    (3) you can find a free implementation, such as SWIG (
    and especially ).

    (4)JNIWrapper ( You may even find that Windows API functions that you need are already wrapped inside WinPack (a free addition to JNIWrapper)