I have looked at many of the so-called Java-COM bridges, and most of them are too expensive for the need (who can afford to spend $2000 (server license) for something that will only be needed for 6 months), do not perform in the manner I need (many are designed to allow COM objects to run in a Java container, I need to run Java objects in a COM+ environment), or they are really Java-to-Socket layers that require you to write a COM-to-Socket object to communicate.
COM+ is supposed to be language independent, however the only Java version that works with COM as far as I can tell is the Microsoft version & VM. I do not use Visual J++, nor do I wish to try to purchase a copy since Microsoft no longer supports it (which means getting them to answer any questions is impossible).
I have experience in writing JNI, I wrote a tool four years ago called JNIBuilder that would create Java/JNI code and create the C++ headers but that does not solve the problem as I would still have to write additional support code.
As I have stated I already have Java code (Javabeans) that already have the functionality that I need to add to my existing COM-based application. The objective is to be able to take the code and generate the TLB and DLL files from the Java code and get them to be able to communicate with the existing COM objects in the appropriate context. The Sun website referenced an ActiveX Bridge, but the documentation did not go into enough detail and when I followed the instructions, several of the COM object properties were not registered (such as MTS enabled, MultiUse, and Multi-Threaded Apartment). Even when I modified the registry entries with those properties I was unable to get the functionality to work. It is my understanding that the ActiveX Bridge was designed for what I am attempting to do, but I am unable to utilize it properly for eny true interfaces (I was able to get the HelloWorld example to work, but not able to get my credit-check code to work). The credit-check Javabean works fine in my Java application and in my JSP/Servlet application so I know the problem is not the Java code.
The way that particular module works is I call the credit check interface with the SSN, FirstName, Lastname and several other parameters and it calls a Web Service to communicate the data to the appropriate Credit Bureau Service, the interface will return an CreditScore object that gets passed back to the UI informing the user of the credit score.
From what I can tell, my ASP pages make the COM+ calls but I do not seem to get any interaction with the Java code. The process times out and the Java code did not log anything. I can take the same Java code and call it directly through a JSP page and I receive the credit score as well as the logging of each interaction.