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

Assignment Help:
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

Related Discussions:- query and update the text database for a library

Programming, .Write a programme to create a webpage that prints the name of...

.Write a programme to create a webpage that prints the name of the STUDENT database in Wide Latin font and set the subtitle with description of the STUDENT to the screen. Set the

How virtual communities are formed, How virtual communities are formed? How...

How virtual communities are formed? How these are different from other Communities? Give examples. Virtual Communities are interest-based communities. Members along with genera

Equation tool, i need help i hav done the gui part of my project and some s...

i need help i hav done the gui part of my project and some simple symbols but to display some complex symbols like integration and all but it shud be clear with lower and upper lim

Pattern printing program, Question Using 3 level of nested for loop, writ...

Question Using 3 level of nested for loop, write a program that will produce the output as below.

I need java web applications development, I need Java Web Applications Deve...

I need Java Web Applications Development Project Description: MySQL databases, Oracle. SVN, GIT team collaborations. Skills required: Java, SQL, Software Architectur

Programming, Byteland county is very famous for luminous jewels. Luminous j...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Java rmi client implement and web service client-side steps, What is the na...

What is the name of the services you have chosen? What do they do? What is the name of the publisher? Provide details if you are developing your own service(s). There are variou

Diffentiate local and global variables, Diffentiate Local and Global Variab...

Diffentiate Local and Global Variables? Local or function level variable effective just in the function in that they are declared although global variables visible everywhere o

Describe overriding methods, Describe Overriding Methods ? Assume that...

Describe Overriding Methods ? Assume that one day you've just finished your Car class. It's been plugged into your traffic simulation that is chugging along merrily simulating

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd