BEA Logo BEA WebLogic Server Release 6.1

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

  |  

  WebLogic Server Doc Home   |     WebLogic jCOM Reference Guide   |   Previous Topic   |   Next Topic   |   Contents   |   View as PDF

WebLogic jCOM and COM Event

 

If a COM Class can generate events (has a source interface), then WebLogic jCOM's com2java tool, will generate Java code which allows Java objects to subscribe to the event using standard Java semantics. For information on the generated files, please read the relevant section of the com2java documentation.

In summary, if a COM Class has a source interface that is defined in the same type library as the class, then WebLogic jCOM's com2java tool will do the following:

From a Java programmer's perspective there is nothing really else to it. You use the standard Java event techniques -- you implement the event listener interface, and then subscribe to the event using the addXYZListener method.

 

back to top previous page next page