Create a customer database and apply queries, Database Management System

For the question given below, you are required to submit design and implementation documentation as described over the page. Design, implement (in Java), test and document a set of classes for use in a program to manage a (prototype) online dating service. The service manages a list of customers.

Customers have login (names) and passwords.

A customer is either an advertiser or a responder.

All customers also have some personal details including gender, age and income.

An advertiser has a text advert, a description of partner sought and a list of reply messages.

A description of partner sought has a gender, range of ages and range of incomes.

A reply message has an owner (which is a responder) and some text.

When new customers are created, ie when someone has paid and is accepted, then they choose a new login and they are given their own default password. (We don't encrypt passwords in this prototype.)

When a new advertiser is created (when they log in) they enter the required details and they begin with no replies recorded for them.

When a new responder is created they enter their details. When a responder logs in for the first time or subsequently, the program finds all the matching descriptions sought by advertisers. The responder is then able to choose to send reply messages to any of those matching advertisers.

When an advertiser logs in later they get presented with their list of reply messages, old or new, which they can delete or keep to re-read. We assume that reply messages' text are supposed to contain other ways for advertisers to contact responders (eg, phone, email) so there is no need for this service to pass messages that way.

There should be a class to manage the list of customers. The final product will use a database to store customer data but the prototype for this assignment just needs to manage a datastructure.

It does NOT even have to store information in an external file.

Design and implement enough functionality in the classes to allow the operation of the following test program (which you also design, implement, test, document):

The client program should do the following (and explain on the screen as it does each step)

a) create a list of 6-7 different customers of both types with made-up details built in to the client program (Alternatively, get input from the user using the java.util.Scanner class),

b) get some matches for a responder, choose one match and send the match a message, then log in that advertiser to get the message,

c) add a new customer to the dating service,

d) delete an existing customer from the dating service,

e) display the details of all advertisers registered with the service,

f) display the details of all responders registered with the service,

Posted Date: 3/1/2013 7:03:00 AM | Location : United States







Related Discussions:- Create a customer database and apply queries, Assignment Help, Ask Question on Create a customer database and apply queries, Get Answer, Expert's Help, Create a customer database and apply queries Discussions

Write discussion on Create a customer database and apply queries
Your posts are moderated
Related Questions
Relations create the database. They must satisfy various properties, like no duplicate tuples, no ordering of tuples, and atomic attributes, etc. Relations that satisfy these basic

I have to create a database about anything of my choice. It has to contain 4 queries, and 4 forms. It can be anything as simple as a shoe inventory with numbers - is this a service

Information about a bank is about customers and their account. Customer has a name, address that consists of house number, area and city, and one or more phone numbers. Account ha

Selective replication: This is a combination of generating small fragments of relation and replicating them rather than a entire relation. The data should be fragmented on require

how the string works as keyword?

What is the aim of logical schema ? The main motive of the logical schema is to ensure the portability of procedures and models on various physical schemas at runtime.

What is Multivalued Attribute? Multivalued Attribute - Multivalued attribute might have more than one value for an entity. For instance, PreviousDegrees of a STUDENT.

Lock Based Protocol A lock is nothing but a mechanism that tells the DBMS whether a particular data item is being used by any transaction for read/write purpose. As there are t

What are the advantages of having an index structure?      Ans: The index structures commonly provide secondary access paths, which offer alternative ways of accessing the reco

What are the advantages of by using an index and what are its disadvantages ? In difference, if the search key of a secondary index is not a candidate key, it is not sufficient