query and update the text database for a library , JAVA Programming

Implement a program to query and update the text database for a library using a client/server model allowing multiple clients safe access to the database, and using a producer-consumer model to control the inventory of each item.
The project will be graded according the criteria for the final project - see below.
Elaboration:
1. Multiple instances of a client class should be supported.
2. Use threads and locks to provide safe access to the database.
3. Add a field to each record in the dok kooatabase representing the maximum number of that book the library will hold. This number should be given a default value if the field is not present in the text file.
4. Functions should include:
o Returning a book to the library, blocking if the maximum number of that book is reached until a book is borrowed.
o Borrowing a book, blocking if the desired book is not in the library until a book is returned.
o Allow a client to cancel a request that has been blocked.
Deliverables
1. Java source code files
2. any configuration files used
3. a well-written Word document describing:
a. your overall design, including a UML class diagram showing the type of the class relationships
b. description of how to set up your application
c. your test plan, including test data and results, with screen snapshots of each of your test cases
d. your approach, lessons learned, design strengths and limitations, and suggestions for future improvement and alternative approaches
Posted Date: 12/15/2012 8:34:42 PM | Location : United States







Related Discussions:- query and update the text database for a library , Assignment Help, Ask Question on query and update the text database for a library , Get Answer, Expert's Help, query and update the text database for a library Discussions

Write discussion on query and update the text database for a library
Your posts are moderated
Related Questions
• A Graph Data Type (including a display method to show adjacencies) • A Cycle Checker (as described in lecture notes) • An Edge class • A sorting algorithm to sort an array of Edg


Relate java with JVM Java performance gets better each year as JVM gets smarter. This works, since making JVM smarter doesn't require any great change to the java language, sou

ineed program for dda algorithem

Explain init(), start(), stop(), and destroy() method? The init() method is known as exactly once in an applet's life, while the applet is first loaded. It's generally used to

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

var temp =14; var y = 2; temp document.write(temp);

What is object oriented programming language? In classic, procedural programming you try to form the real world problem you're attempting to solve fit a few, predetermined data

write a program that count the number of occurences of string in the n-th padovan string p(n)   program in java // aakash , suraj , prem sasi kumar kamaraj college progr

Super() Constructer: It is used to call constructor of parent class. Should be the first statement in the body of constructor. Using this we can access private variables