ComfyJ combines Java-to-COM and COM-to-Java bridges based on JNIWrapper technology. Each of them introduces a number of unique features, making ComfyJ the ultimate solution for working with COM technologies from Java programs. Java-to-COM Bridge This bridge allows a Java application to easily integrate with any COM/OLE/OCX/ActiveX libraries using only the Java programming language and no native code. The major features are: 1. Wrappers for all standard COM interfaces, such as IUnknown, IDispatch etc. 2. Support for standard COM types, such as Variant, SafeArray (single and multidimensional arrays), BStr etc. 3. Support for VTBL method calling mechanism. You can invoke COM object methods using the function index. 4. Automation support enabling you to: * Invoke any method of a COM object using dynamic method invocation technique. * Get any property of a COM object, including indexed and named ones. * Set COM object properties. 5. Support for COM events. You can create a Java COM event handler and connect it to a COM object using a standard (findConnectionPoint/advise) COM technique. 6. Embedding any OLE/OCX/ActiveX controls into a Swing application. ComfyJ provides a special OleContainer class allowing you to: * Create an embedded object using ProgID, CLSID, or from a file. Also, there is an ability to insert an IOleObject into the container. * Embed various OLE/OCX/ActiveX components, such as Internet Explorer, Microsoft Office, Acrobat Reader documents, and various media components such as Windows MediaPlayer, DVD player, QuickTime, ShockwaveFlash etc. * Perform static drawing of an embedded component. * Save/Load an embedded OleObject to/from a file in a special binary format; * Do various kinds of in-place activation, such as SHOW, INPLACEACTIVE etc. 7. DCOM support. ComfyJ allows creating COM object on a remote server. 8. Code Generation application. Using this application, you can generate Java COM wrappers for custom COM objects. Generated classes can be compiled and packed to a JAR file if necessary. COM-to-Java Bridge This bridge enables you to implement and expose Java COM objects as usual COM objects in the Java language without writing native code. The major features are: 1. IUnknownServer — Server implementation of the IUnknown COM interface. All custom Java COM objects that implement the IUnknown COM interface can be derived from this class. 2. IDispatchServer — Server implementation of the IDispatch COM interface. All custom Java COM objects that implement the IDispatch COM interface can be derived from this class. 3. Ability to create and register custom Java COM classes at run time. This technique is widely used in the implementation of the OleContainer interface and in COM events support. 4. Ability to create any custom COM classes and register them as COM servers in the system registry using a specially designed "Server Manager" application.
Date added 12 Oct 2012
Last Updated 12 Oct 2012