home *** CD-ROM | disk | FTP | other *** search
- Make sure JavaIDL is installed (see README file) before trying out
- this sample program.
-
- Steps to build:
- --------------
-
- In the following, JAVA_HOME and JAVAIDL_HOME are the paths to the
- JDK (1.0.2 or later) and JavaIDL installations, respectively.
-
- o Make sure ${JAVA_HOME}/bin and ${JAVAIDL_HOME}/bin are in your path.
-
- o Run the IDL compiler to generate stubs and skeletons
-
- idltojava -fclient -fserver Portfolio.idl
-
- o Compile all the Java Files
-
- javac -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:
- . *.java PortfolioManager/*.java
-
- o copy ${JAVAIDL_HOME}/lib/classes.zip to the current directory
- unzip classes.zip
- call "zip -r0 *.class com org
-
- o Modify PortfolioApplet.html for values HOSTNAME, CURRENT_DIR, DOMAINNAME
-
- Steps to Run:
- -------------
-
- o Make sure that the nameserver is running
-
- cd ${JAVAIDL_HOME}/bin
- nameserv -ORBInitialPort 1050
-
- o Run the Portfolio Server
-
- java -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:.
- PortfolioServer -ORBInitialPort 1050
-
- o Load the PortfolioApplet.html through your browser
-