A.7. Generating Stubs
Consider again the marshalling architecture diagram, shown in Figure A-1. The intrinsic functions and other marshalling infrastructure code must be developed by hand. However, they are developed only once to be shared by all interface stubs. Each particular COM interface or set of DLL entry points will need its own interface stub. These interface stubs vary only by differences in type information, and they are ideal candidates for code generation. Jawin includes prototypes for generating both shared stubs and interface stubs.
A.7.1. Generating Shared Stubs
The com.develop.jawin.tools package, included with Jawin, is a pure Java implementation that builds the Java and native source code files for shared stubs. The COMSharedStubDriver ...
Get Component Development for the Java™ Platform now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.