Java Client - Server Application. (Auction)

Budget £20 - £250 GBP
Bids 7
Average Bid £119

Phase 1
You are to implement an online auction as a client-server application (not Web-based). For simplicity's sake, the auction should involve just two items for which people may bid. At the start of the application, the server will expect to be told the final bidding time for each of the two items, using the 24-hour clock. Clients may then connect to the server at any time and enter the auction. Whenever a new client makes connection, the server should display an appropriate message (in the server window) and should then transmit the item codes, brief textual descriptions and final bidding times for both auction items to the client.

Any newly-connected client will display the code, description and final bidding time for the current item, using a GUI. The server will accept bids from connected clients up to the final bidding time for the current item and will also continue to process new client connections. Each bid from a client must be accompanied by the relevant item code, which should be user-selectable from a drop-down list (so that it is impossible to send an invalid code). As each final bidding time for an item is reached, an appropriate message should be displayed on the server. Note that it will be necessary to use a separate thread for the detection of each deadline expiry.

Any valid bid (i.e., one that is for the current item, occurs before the bidding deadline for that item and is higher than the previous highest bid) should cause the server to send the message "Bid accepted" to the appropriate client. Any bid received after the final bidding time for a given item should cause the server to transmit the message "Late bid" to the client concerned, whilst any bid lower than the current highest bid should cause the server to send the client the message "Low bid". All responses from the server should be displayed in the client window.

In order for the user to get an update on the current highest bid at any time, he/she can simply send the code for the item plus the word 'status' and the server will return the required figure. (If a drop-down list of item codes is used again, it should not be possible to send an invalid code.) If bidding for the item has finished when the user makes this query, the server should send back a value of -1 (though a meaningful message should be displayed on the client, of course). The client should display the current highest bid (as far as it knows it) at all times.

Post a Project Like This

This project was awarded to

About the Freelancer

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project

  • poornachand Profile Picture


    Chennai,  India

    8 years experience in Java, J2ee, Xslt, WebServices, REST Services, SOA, API Management, B2B.

    PHP, C Programming, Java, and Javascript

  • ulltrass Profile Picture


    Cluj-Napoca,  Romania

    Java developer with 4 yrs of experience building Web applications and REST services.

    Java, JSP, Javascript, and XML

  • waheni Profile Picture


    tunis,  Tunisia

    Software Engineer

    C Programming, Java, Python, and Script Install

  • eperfections Profile Picture


    Rawalpindi,  Pakistan

    ePerfections is providing its services since 2000 in software development, websites programming, design, development and technical writing through its highly skilled and professional programmers. We have more than 90% client return ratio. Our areas of expertise are: - Adobe Flex/Air - JAVA (SWING, J2EE) - Databases - .NET - PHP - Website design and development - Technical Writing We have completed following major projects: - Telecom/VOIP/ Multi Service/DID/Tripple Play/InterConnect Billing Solutions - Graphical Reports using Jasper Reports and Crystal Reports - RADIUS, Mediation and Service Monitor application - IVR, Telecom Rating Engine for prepaid and postpaid billing - Stored Procedures - APIs development for Excel, PDF and text reports - Install Shield Professional - FTP - Alarms Manager - Database backup utility - HRM; Bugs Portal - SMSC - Websites development in PHP - Wordpress, Joomla, Customer Site Development - Mobile Application Development Android - Payment Gateways

    PHP, ASP, Java, and JSP

  • dobreiiita Profile Picture


    Delhi,  India

    I have an experience of 7 years in computer programming and database projects. I have provided quality work and I will be providing it in future. I have a lot of experience in Game Design, Database Apps and Utility Applications. Please click on hire button on left side to get a quote from me.  Hire me for a quote related to programming project of any scale from very small to big. I will get back to you within atmost 6 hours after you hire me and we can discuss it further.

    PHP, C Programming, Java, and Javascript

  • vahid4m Profile Picture


    Dubai,  United States

    I'm a computer science student :D

    PHP, C Programming, Java, and Javascript

  • Ensiferum77 Profile Picture


    Kichevo,  Macedonia

    Hi. My name is Igor and I am a graduated student of informatics - Cyril and Methodius University in Macedonia. I like to get more into different fields of informatics, so i will make everything to help the clients of this site, also clients to be satisfied with my work. Please be free to contact me everytime, if you have any question, problem, or post some project if you like to make it for you and i'll be glad to help you.

    PHP, C Programming, Java, and Javascript