client - server problem
Posted on 2003-03-20
I am developing an online auction using java rmi, and want to simulate the auctioneers instrustions on the client side, so that when a user places a bid, a text label within an applet representing the auctionners instruction will then ask for the next amount, etc.
What I am having problems with is how to relay the "going once", "going twice" and "gone" instrustions in that these will have to appear a set period of time after the final bid has been placed, so i will need a while loop or something on the server which contantly checks to see if the required amount of time has passed. My question is how do i do with while also allowing the server to recieve bids, and prefrom other operations?