home *** CD-ROM | disk | FTP | other *** search
/ Java Developer's Companion / Java Developer's Companion.iso / binaries / Windows / JavaIDL-EA-win32.EXE / JavaIDL / examples / portfolio / README < prev   
Encoding:
Text File  |  1997-04-15  |  1.1 KB  |  41 lines

  1. Make sure JavaIDL is installed (see README file) before trying out 
  2. this sample program.
  3.  
  4. Steps to build:
  5. --------------
  6.  
  7. In the following, JAVA_HOME and JAVAIDL_HOME are the paths to the
  8. JDK (1.0.2 or later) and JavaIDL installations, respectively.
  9.  
  10. o Make sure ${JAVA_HOME}/bin and ${JAVAIDL_HOME}/bin are in your path.
  11.  
  12. o Run the IDL compiler to generate stubs and skeletons
  13.  
  14.   idltojava -fclient -fserver Portfolio.idl
  15.  
  16. o Compile all the Java Files
  17.  
  18.   javac -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:
  19. . *.java PortfolioManager/*.java
  20.  
  21. o copy ${JAVAIDL_HOME}/lib/classes.zip to the current directory 
  22.   unzip classes.zip
  23.   call "zip -r0 *.class com org
  24.  
  25. o Modify PortfolioApplet.html for values HOSTNAME, CURRENT_DIR, DOMAINNAME
  26.  
  27. Steps to Run:
  28. -------------
  29.  
  30. o Make sure that the nameserver is running
  31.  
  32.   cd ${JAVAIDL_HOME}/bin
  33.   nameserv -ORBInitialPort 1050
  34.  
  35. o Run the Portfolio Server
  36.  
  37.   java -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:.
  38.  PortfolioServer -ORBInitialPort 1050
  39.  
  40. o Load the PortfolioApplet.html through your browser 
  41.