All Packages Class Hierarchy Class Search Index
|
|
Binary portability allows users to "drop in" a new computer - even one with a completely new processor with no disruption of applications or recompiling. This feature is so valuable, that many EDX users were slow to jump on the C/C++ bandwagon. C/C++ portability requries recompilation of all application code. Furthermore, variations in system headers (C interface descriptions) across unix variants make recompilation more troublesome than it should be.
Nevertheless, EDL - the primary programming language for EDX - is a fairly primitive language best described as "structured assembler". Would there ever be a language with modern object oriented features and widely implemented binary portability? Java can answer in the affirmative. Now EDX programmers can join the OO age without giving up the portability of EDX.
The bmsi.edx
Java package from
BMS
lets you mix Java and EDL code easily and efficiently. Based on the
freeware posix package
from BMS, EDXJava gives
your java code the same IPC access to the EDX/UNX virtual machine as
external C programs.
EDX/UNX also provides a way to load and invoke an external process from EDL code. A process invoked in this manner must recognize certain command arguments and respond to messages in a UI queue. The Edxuser class implements this framework in an easily extendable form.
To easily call Java methods from EDL, the Edxjava
Java application
implements a "generic" user process that gives EDL code access to
Java classes that implement the
EDXServlet interface. The Edxjava JVM is loaded only once for each
EDX VM. It is loaded automatically by the EDL interface stub - and subsequent
EDL calls to Java methods are very efficient.
For seamless integration with EDL programs, Edxjava
now provides
the EDX4978
class for direct access to the users edx4978 terminal emulator.
The bmsi.edx.fs
package provides classes to display screen panels and manage data fields.
Send comments to Stuart D. Gathman.
EDXServletRequest.getBtasdir()
or use JBOOT, it hangs.
What is wrong? I can run the EASTER and TEST demo programs just fine.
A. The JAVA,MSLIB EDL stub is still trying to print JAVA VM LOADED on $SYSLOG. For some reason, the EDX nucleus was compiled with $SYSLOG as a 4978 terminal. Change $SYSLOG to a 4974, and you'll be ok. The latest JAVA,MSLIB stub will skip printing JAVA VM LOADED when its terminal emulator is not loaded.