va

Handling Opaque Data Types Implemented in a Different Language

If you create a routine in C, it can handle an opaque data type implemented in C++ without additional code.

If you create a routine in Java that handles an opaque data type implemented in C or C++, BladeSmith generates a default implementation of the SQLData interface for the opaque data type. See SQLData Interface Method Support Code for more information.

Multilanguage DataBlade Module Issues

If you use more than one external programming language in your DataBlade module, you might have more than one resulting shared library after you compile your source code. Figure 3-2 illustrates the shared libraries you can produce from source code generated by BladeSmith.

Figure 3-2
Shared Libraries for Multilanguage DataBlade Modules

For C and C++ server implementation code, BladeSmith generates a combined Visual C++ workspace file and UNIX makefile.

For Java server and client code, BladeSmith generates a single makefile that is appropriate for all platforms.


DataBlade Developers Kit User's Guide, Version 4.0
Copyright © 1999, Informix Software, Inc. All rights reserved