University assignment in order to use a JavaSpace to run an online auction room. Created by Dylan
The requirements of the application are as follows:
-
The ability for anyone with access to the system to add a new lot for auction. This could simply be a text description of an item for sale.
-
The ability for anyone in the room to scroll through all available lots in the space and to recall details of any lot. These details will include a list of all public bids for the item.
-
The ability for anyone in the room to make a public bid against any item.
-
The ability for anyone in the room to make an offer to “Buy it now”. This would immediately close the auction for the selected lot and 'Sell' the item.
-
The ability for the owner of a lot to withdraw the item from the sale at any time, or to accept the current highest bid. The JavaSpace notify function should be used to inform the successful bidder that their offer has been accepted.
In order to run the project you need to firstly add to IntelliJ then create two build configurations. One for AuctionLotStartQueue and one for ShowLotsGUI. VM options is '-Djava.rmi.server.useCodebaseOnly=false -Djava.security.policy=policy.all'. You need to run AuctionLotStartQueue before ShowLotsGUI.