Can I invoke the Windows API funcitons in Java? More commonly, can the functions in some DLL files be called from a Java program? I need to program an application which will integrate a peripheral device. The manifacturer will supply the functions that control the device, maybe in COM way. I want to use Java to develop the application. Is it a good idea?