A Library Management System made using the concepts of Object Oriented Analysis and Design. Minimal Code is written in the GUI and the entities are decoupled as well. The interface is console based. This project was designed during the course "Object Oriented Analysis and Design CS309".
The Class Diagram of the project is also provided along with the Database Schema file. The class diagram file can be opened using Star UML.
Note: After Refactoring, new Class "HoldRequestOperations" is added to the above structure which lies in between the HoldRequest class and Book class. This class removes the bidirectional dependency between HoldRequest and Book. More details mentioned here
The actors include the following:
- Librarian
- Checkout Clerk
- Borrower
- Administrator
After determining the actors, the second step in use case analysis is to determine the tasks that each actor will need to do with the system. Each task is called a use case because it represents one particular way the system will be used.
In other words, only those use cases are listed that actors will need to do when they are using the system to solve the customerβs problem.
- β Search for items by title.
- β ... by author.
- β ... by subject.
- β Place a book on hold if it is on loan to somebody else.
- β Check the borrowerβs personal information and list of books currently borrowed.
- β All the Borrower use cases, plus
- β Check out an item for a borrower.
- β Check in an item that has been returned.
- β Renew an item.
- β Record that a fine has been paid.
- β Add a new borrower.
- β Update a borrowerβs personal information (address, telephone number etc.).
- β All of the Borrower and Checkout Clerk use cases, plus
- β Add a new item to the collection.
- β Delete an item from the collection.
- β Change the information the system has recorded about an item.
- β Add Clerk.
- β Add Librarian.
- β View Issued Books History.
- β View All Books in Library.
1- Install these:
- Java SE Development Kit 8 (JDK 8)
- After installing JDK 8, install NetBeans IDE
2- Open NetBeans IDE. Click on File -> Open Project and browse to the downloaded folder named "Project" and select it. It will load the NetBeans project.
3- Now everything is setup except the Java DB (Derby) Database of NetBeans. So, follow these steps to setup the database:
Step 1: In the Netbeans Window, there is a tab named "Services" on the left. Select it. Then right click on JavaDB > Properties and change database location to "Database" folder downloaded with this repository (its placed besides the "Project" folder).
Step 2: After that a database named LMS will show up under JavaDB tab. Now Right Click Databases > New Connection and select Java DB Network and click Next.
Step 3: Provide the following database crendentials in the next popup and click Next.
Host: localhost
Port: 1527
Database: LMS
User Name: haris
Password: 123
Step 4: Now just click Next for the rest of the windows. After all this the database connection is made. Make sure that you connect with the database before running the project by right clicking on the connection and selecting connect. Now you are ready to run the project!
The password for Administrative Functions is lib. The admin adds new clerks and librarian, then they both do the rest of the functions.
You can get in touch with us on our LinkedIn Profiles:
You can also follow my GitHub Profile to stay updated about my latest projects:
You can also follow my GitHub Profile to stay updated about my latest projects:
If you liked the repo then kindly support it by giving it a star β and share in your circles so more people can benefit from the effort.
If you find any bugs, have suggestions, or face issues:
- Open an Issue in the Issues Tab to discuss them.
- Submit a Pull Request to propose fixes or improvements.
- Review Pull Requests from other contributors to help maintain the project's quality and progress.
This project thrives on community collaboration! Members are encouraged to take the initiative, support one another, and actively engage in all aspects of the project. Whether itβs debugging, fixing issues, or brainstorming new ideas, your contributions are what keep this project moving forward.
With modern AI tools like ChatGPT, solving challenges and contributing effectively is easier than ever. Letβs work together to make this project the best it can be! π
Copyright (c) 2018-present, harismuneer, MahamAmjad
Hey there, I'm Haris Muneer π¨π»βπ»
-
πΈοΈ Founder of Cyfy Labs: At Cyfy Labs, we provide advanced social media scraping tools to help businesses, researchers, and marketers extract actionable data from platforms like Facebook, Instagram, and X (formerly Twitter). Our tools support lead generation, sentiment analysis, market research, and various other use cases. To learn more, visit: www.cyfylabs.com
-
π Open Source Advocate: Iβm passionate about making tech accessible. Iβve open-sourced several projects that you can explore on my GitHub profile and on the Open Source Software PK page.
-
π« How to Reach Me: You can learn more about my skills/work at LinkedIn. You can also reach out via email for collaboration or inquiries. For Cyfy Labs related queries, please reach out through the company website.