Index of /~raj/4710/sp01/hw78
HW7: CSc 4710/6710
Spring 2001
Due: 22 April, 2001
--------------------
Write Java Programs that accesses an ObjectStore database for
Portfolio management.
PopulateSecurity.java
---------------------
This program should read data from a text file and populate
the Security class by creating persistent objects.
The text file format is shown in security.dat file (First line contains
number of securities that follow; Then each security is described in
5 lines - symbol, company name, current price, ask price and bid price).
Portfolio.java
--------------
The program begins by presenting the following main menu:
(a) Member Log in - HW7
(b) New Member Sign in - HW7
(q) Quit.
A new member can use option (b) to create a new account.
This option prompts the new member for the member id, password,
fname, lname, address, email, and initial cash balance.
An existing member can use option (a) to login to their
account. The member is prompted for an member id and password.
Upon successful login, the member is shown the following menu of
options:
(a) View Portfolio - HW8
(b) Print Monthly Report - HW8
(c) Update Your Record - HW7
(d) Price Quote - HW7
(e) Buy a Stock - HW8
(f) Sell a Stock - HW8
(q) Quit.