|
Downloads: You will need the JavaSoft JDK and Inprise VisiBroker for Java Getting Started: Win95 system environment settings for JavaSoft JDK 1.1.7 for directory C:\jdk1.1.7:
|
REM SET PATH=C:\jdk1.1.7\bin;%PATH% SET CLASSPATH=C:\jdk1.1.7;C:\jdk1.1.7\lib\classes.zip;%CLASSPATH% REM |
Win95 system environment settings for Inprise VisiBroker for Java 3.3 (including Naming and Event Service). This assumes that the installation directory is C:\Inprise\vbroker: |
REM VisiBroker for Java 3.3 REM SET VBROKER_ADM=C:\Inprise\vbroker\adm SET PATH=C:\Inprise\vbroker\bin;%PATH% SET CLASSPATH=C:\Inprise\vbroker\lib\vbjcosnm.jar;%CLASSPATH% SET CLASSPATH=C:\Inprise\vbroker\lib\vbjcosev.jar;%CLASSPATH% SET OSAGENT_ADDR=ip-address REM |
Win95 system environment settings for Visigenic VisiBroker for Java 3.2 (including Naming and Event Service). This assumes that the installation directory is C:\Visigenic\vbroker: |
REM VisiBroker for Java 3.2 REM SET VBROKER_ADM=C:\Visigenic\vbroker\adm SET PATH=C:\Visigenic\vbroker\bin;%PATH% SET CLASSPATH=C:\Visigenic\vbroker\lib\vbjcosnm.jar;%CLASSPATH% SET CLASSPATH=C:\Visigenic\vbroker\lib\vbjcosev.jar;%CLASSPATH% SET OSAGENT_ADDR=ip-address REM |
Make sure also that the OSAgent is running on the network and that your system can access it. Problem Statement: The application that we will build involves an AircraftCarrier class and an Aircraft class. The client application will send a message to an AircraftCarrier instance to launch an Aircraft instance. Once the Aircraft has been launched, it can be queried for it's code number and also ordered to change altitude. The IDL file:
|
// Ship.idl module Ship { interface Aircraft {
interface AircraftCarrier {
};
|