posted 23 years ago
There's a concept of an extended stored procedure, which is essentially a DLL that you write that SQL Server can execute. You would then write your trigger to execute the extended stored procedure if your condition was met, and your extended stored procedure would then trigger your Java code.
Unfortunately, I have no experience doing this sort of thing, so can't give you too much more info. But thought it was a direction worth looking into.