Download Building the baseline application

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Building the baseline application
The source code for the client and the server are located in the "src" section of the
team's webpage. The AFS cell of the team is
/afs/ece.cmu.edu/class/ece841/public_html/team4/. Please follow the following steps to
build our applications.
Building Environment: J2SE SDK 1.4.1 (Please make sure that idlj and javac are in
your path.)
1. Go to the team's repository directory,
/afs/ece.cmu.edu/class/ece841/public_html/team4/.
2. Go to the “src” directory for the source code.
3. Compile IDL file. A CampusInfo subdirectory should be automatically created
under “src”.
idlj -fall unicommerce.idl
4. Compile the server code.
javac Server\*.java CampusInfo\*.java
5. Compile the client code.
javac Client\*.java CampusInfo\*.java
6. Compile the replication code.
javac Replication\*.java CampusInfo\*.java
Running the baseline application
The classes for the client and the server are located in the "classes" section of the
team's webpage. The AFS cell of the team is
/afs/ece.cmu.edu/class/ece841/public_html/team4/. Please follow the following steps
to run our applications.
Running Environment: J2SE SDK 1.4.1 (Please make sure that orbd and java are in
your path.)
1.
Launch orbd
orbd -ORBInitialHost localhost -ORBInitialPort 1500
2. Go to the directory for the source file “src”.
3. Run the unicommerce Replication Manager
start java Replication.UniReplication -ORBInitialHost localhost ORBInitialPort 1500
4. Run the unicommerce client
start java Client.UniClient -ORBInitialHost localhost ORBInitialPort 1500
5. When the GUI pops up, you may use the GUI to interact with the system.
Please follow the test case document to walk through the system.
Functionalities
Related documents