Customer Service Chat
Get quote & make Payment
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.
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.
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
Ask an Expert
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
Write your message here..
Program, write a program in java which enters name,roll #,and shows the sum...
write a program in java which enters name,roll #,and shows the sum of students english and maths marks?
Draw a use case diagram in uml, Extend the given drawing program (the versi...
Extend the given drawing program (the version that allows undo and redo) as follows: a) Allow the user to select font and font size; user should also be able to boldface, underl
What restrictions are placed on method overriding, What restrictions are pl...
What restrictions are placed on method overriding? Overridden methods must have the similar name, argument list, and return type. The overriding method may not limit the access
Algorithms, COMPSCI220S2C2012 Assignment 1 due 8 August 8:30 pm This assign...
COMPSCI220S2C2012 Assignment 1 due 8 August 8:30 pm This assignment introduces you to an example of applied algorithm analysis and shows you why, sometimes, compromises in an algor
Homography matrix, Open A java applet should appear on your screen. C...
Open A java applet should appear on your screen. Click on File, OpenImage and select Asterix. Check Homography box. By clicking on the images you can select points. The c
MATLAB, Requested figure handle in use by another object, how do i fix this...
Requested figure handle in use by another object, how do i fix this?
Explain java is fully object oriented languages or not, No, java is not ful...
No, java is not fully object oriented language due to it does not support "multiple inheritance" and "pointers" which are used in C++. But, by using Interfaces we can execute multi
Clean up for java programs, You have recently joined a games company. The S...
You have recently joined a games company. The SQA manager has given you the task of improving the code quality of simple games. This is a standard task which the SQA manager gives
Project 7, Iterate through list of Fish. For each fish that isAlive, do th...
Iterate through list of Fish. For each fish that isAlive, do the following: * * 1. If this fishIsSurroundedByRocks, DO NOTHING, and move on to the next fish. * (This f
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.