Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Online Training

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
 

Run the Simple Stock Example


by MageLang Institute

[Magercise | API Docs | Short Course| Magercises]

Help is available for each task.



    Task 1

    Download the Jar files for the client and the for the server. (See "Skeleton Code" above.)

    To run the server you need to download the stockServer.jar file.

    To run the client you need to download the stockServer.jar file.

    Task 2

    Run the programs in the order given below:

    run the server:
    java StockServer.theServer gii.ior
    run the client:
    java StockClient.theCliet gii.ior

    Notes

    Your classpath needs to include the jar file containing the StockServer or StockClient.

    For VisiBroker you also need to include the files vbjorb.jar and vbjapp.jar on the classpath. Alternatively, you can use the vbj program to run your programs instead of using java directly. The vbj command adds the vbjorb.jar and vbjapp.jar files to the classpath appropriately and then invokes Java.

    If you are using VisiBroker and Java 2, then you need to define the following system properties as well:

    org.omg.CORBA.ORBClass=
       com.visigenic.vbroker.orb.ORB

    org.omg.CORBA.ORBSingletonClass=
         com.visigenic.vbroker.orb.ORB

Copyright © 1998-1999 MageLang Institute. All Rights Reserved.


[ This page was updated: 3-Dec-99 ]

Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World
FAQ | Feedback | Map | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-99 Sun Microsystems, Inc.
All Rights Reserved. Legal Terms. Privacy Policy.