O'Reilly logo

Component Development for the Java™ Platform by Stuart Dabbs Halloway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required