Native methods for Java must be dynamically loadable. The procedure here is very similar to the established methods in Unix systems (shared libraries). The Unix concepts and the BS2000 implementation will now be compared. The BS2000 solution and the associated requirements for the user will then be described in detail.
Java applications on Unix platforms require that native methods are produced as shared libraries. The native methods can then be dynamically loaded and called. The C system functions dlopen() and dlsym() are used for this purpose.
Although in OSD-POSIX there is now a shared libraries implementation, the analogous mechanism familiar from the preceding version has been retained. However, not all the functionality of the shared libraries is offered here but only those functions which are needed in the Java environment.