I get to call a Java program from MS-SQLServer (Either in trigger or in store-procedure) to through a message to a remote Data Queue in AS/400. Did anybody have any idea whether SQLServer can call the Java program? If not, can it call C, C++ or VB program? And what is the easiest way to use a third party API in Java?