0% found this document useful (0 votes)
6 views2 pages

Java Library Management System Console App

The document outlines the requirements for a Library Management System console application that utilizes a SQLite database for data persistence. It specifies user roles with varying access levels, including Admin and Viewer, and details functionalities for managing books and members, tracking overdue items, and implementing user authentication. The application should be developed in Java, employing object-oriented principles such as polymorphism, inheritance, and abstraction, while presenting separate code classes for clarity.

Uploaded by

elaramoon00
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Java Library Management System Console App

The document outlines the requirements for a Library Management System console application that utilizes a SQLite database for data persistence. It specifies user roles with varying access levels, including Admin and Viewer, and details functionalities for managing books and members, tracking overdue items, and implementing user authentication. The application should be developed in Java, employing object-oriented principles such as polymorphism, inheritance, and abstraction, while presenting separate code classes for clarity.

Uploaded by

elaramoon00
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd

Create a Library Management System console application that manages a library's

catalog, members, and user access, with data stored in a SQLite database for
persistence. The application should include a user management system with different
levels of access, ensuring certain actions are restricted to specific user roles.
Requirements
Database Integration:
○ Use a SQLite database to store and manage all data.
○ Ensure that data persists even after the application is closed.
Books: Each book should have a title, author, ISBN, and availability status.
Members: There are different types of members:
○ Regular Members: Can borrow up to 3 books.
○ Premium Members: Can borrow up to 10 books and have priority when
borrowing popular books.
Users:
○ Admin: Full access to all system features.
○ Viewer: Limited access, only able to view lists of books and members,
without modifying data.
Popular Books: Implement a mechanism to flag books as popular and prioritize
borrowing for Premium Members.
Overdue Books:
○ Track overdue books based on borrowing dates and display a list of
overdue books for admins.
○ Include a system to calculate the overdue status (e.g., a 14-day
borrowing limit).
User Authentication:
○ Prompt users to log in with their credentials (username and password).
○ Display menus based on their role (Admin or Viewer).
Menu Options:
○ Admins can perform all actions.
○ Viewers see a restricted menu with options to view books and member
information only.

Viewer Menu
Welcome to library Mnagement System (viewer)
!. list all books
2. find book by title
[Link] all mambers
[Link] mamber detail
[Link]
please choose an option:

Admin Menu
the programme should desplays the following menu

welcome to the library Management system (admin)


1. add book
2. list all books
3. find book by title
4. borrow book
5. return book
6. add mamber
7. list all mambers
8 view mamber details
[Link] book
[Link] mamber
[Link] book details
[Link] overdue books
13. manage users
14. exit
please enter your option:

do me this in java rember to create compatible sqlite database with this project, I need you to separate
the code classes, I mean to show me this code if for this class I hope you ander stand, and remember ,
do use polymolophisme, haritance, abstration, ..etc, the project in on console only no interface

Common questions

Powered by AI

The system implements a user management system with different levels of access. Admins have full access to all features, while Viewers have restricted access, limited only to viewing lists of books and members. This segmentation ensures that certain actions, like adding or removing books, are restricted to specific user roles .

The library management system ensures data persistence by storing all information in a SQLite database. This includes storing details about books, members, and users, which remains accessible even after the application is closed .

Admin users have exclusive access to functionalities such as adding and removing books and members, updating book details, managing users, and viewing overdue books. In contrast, Viewer users can only list books, find books by title, list members, and view member details .

The application prompts users to log in with their credentials, consisting of a username and password. Once authenticated, the system displays menus based on the user's role—Admins receive a comprehensive menu allowing them full system functionality, while Viewers see a limited menu focused on viewing capabilities .

The system tracks overdue books based on borrowing dates and a 14-day borrowing limit. It provides a list of overdue books visible to Admin users, assisting them in managing returns and notifying members about overdue items .

The system prioritizes borrowing for Premium Members by allowing them to borrow up to 10 books, compared to 3 for Regular Members. Additionally, a mechanism flags books as popular and gives Premium Members borrowing priority for these books .

Having distinct user roles like Admin and Viewer is crucial for maintaining security and operational efficiency. Admins perform crucial updates and management functions, while Viewers can monitor the system activity. This separation keeps sensitive operations secure and reduces the risk of data corruption .

The system categorizes books by tracking attributes such as title, author, ISBN, and availability status. These attributes facilitate efficient management and retrieval of book details within the library system .

The implementation should utilize principles like polymorphism, inheritance, and abstraction. These principles aid in maintaining a well-structured, scalable codebase. For example, separating code into classes based on functionality enhances clarity and reusability .

Regular Members can borrow up to 3 books, while Premium Members can borrow up to 10. This difference reflects their roles, as Premium Members pay for better borrowing privileges, such as prioritization for popular books, while Regular Members have access to basic borrowing functionality .

You might also like