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
Problem : Compiler Design - Limit the loops Rajni is a newbie to the programming and while learning the programming language he came to know the following rules: ???• Each

State in detail about Java Virtual Machine (JVM) Central part of java platform is java virtual machine Java bytecode executes by special software known as a "virtual machine

To load a text-file, read it line by line, and return the total number of alphanumeric tokens it contains and skip over the comments and double-quoted strings in the text-file whil

Explain unicode in java? Java uses the Unicode character set. It is a two-byte character code set which has characters representing almost overall characters in almost all huma

Explain about the Static classes A  class  can  have  static  variables    and    methods.    Static    methods    and    variables    are  associated  with  class  itself  an

Describe, in general, how java garbage collector works?

how much it will cost me

Describe Remote Objects A Remote Object is one whose functions can be called from another JVM. A remote object class must execute the Remote interface. A RMI Server is an appl

ANDROID APK for 3G dongles support Project Description: We want someone who will modify this Android app or code a similar one. The App function is to let Android tablet P

Objectives 1.      To design and implement a simple class. 2.      To write a test program to create instances of your class and demonstrate its behaviour. 3.      To col