• Stars
    star
    337
  • Rank 125,272 (Top 3 %)
  • Language
    Java
  • License
    MIT License
  • Created over 6 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ“š A sophisticated Library Management System designed in Java while following the concepts of decoupled layers (entities) and minimal code in interface (GUI).

๐Ÿ“š Library Management System -Java

views Open Source Love svg1 GitHub Forks GitHub Issues contributions welcome

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.

Class Diagram

class diagram

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

Interface

Actors:

The actors include the following:

  • Librarian
  • Checkout Clerk
  • Borrower
  • Administrator

Use Cases:

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.

Borrower:

  • โ 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.

Checkout Clerk:

  • โ 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.).

Librarian:

  • โ 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.

Administrator:

  • โ Add Clerk.
  • โ Add Librarian.
  • โ View Issued Books History.
  • โ View All Books in Library.

How to Run

1- Install these:

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).

step1

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.

step2

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

step3

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!

final

Note

The password for Administrative Functions is lib. The admin adds new clerks and librarian, then they both do the rest of the functions.


Hey there, I'm Haris Ultimate Facebook Scraper (UFS) - Maker of Things

Creator of Ultimate Facebook Scraper (one of the best software to collect Facebook data for research & analysis)


๐ŸŒ Connect

๐Ÿค Consulting / Coaching

Stuck with some problem? Need help in solution development, guidance, training or capacity building? I am a Full Stack Engineer turned Project Manager with years of technical and leadership experience in a diverse range of technologies and domains. Let me know what problem you are facing at [email protected] and we can schedule a consultation meeting to help you get through it.

๐Ÿ‘จโ€๐Ÿ’ป Technical Skills & Expertise

  • Development of Web Applications, Mobile Applications, and Desktop Applications
  • Development of Machine Learning/Deep Learning models, and deployment
  • Web Scraping, Browser Automation, Python Scripting

โค๏ธ Support / Donations

If you or your company use any of my projects, like what Iโ€™m doing or have benefited from my projects in any way then kindly consider backing my efforts.

For donations, you can follow these simple steps:

1) Free signup at TransferWise using this link: https://transferwise.com/invite/u/harism95. (Signing up through this link will save you from any transcation fee on the donation)

2) Select the amount e.g (15$) and choose the receiving/recipient's currency to be PKR. It supports multiple payment options (credit card, debit card, wire transfer etc)

3) Then it will show my info as the recipient, select it. If my name isn't shown, then type my email [email protected] in recipients.

4) Choose the reason for transfer to the one that suits you the most (in this case it could be 'General expenses') and in the reference section, you can mention 'Support'

If you face any issue in sending donation then feel free to get in touch with me at [email protected]

Thank you for your contribution!

Authors ๐Ÿ‘‹

You can get in touch with us on our LinkedIn Profiles:

Haris Muneer

LinkedIn Link

You can also follow my GitHub Profile to stay updated about my latest projects: GitHub Follow

Maham Amjad

LinkedIn Link

You can also follow my GitHub Profile to stay updated about my latest projects: GitHub Follow

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.

Contributions Welcome

forthebadge

If you find any bug in the code or have any improvements in mind then feel free to generate a pull request.

Issues

GitHub Issues

If you face any issue, you can create a new issue in the Issues Tab and I will be glad to help you out.

License

MIT

Copyright (c) 2018-present, harismuneer, MahamAmjad

More Repositories

1

Awesome-Python-Games

๐ŸŽ‰ Interactive games developed using Python for learning programming.
Python
108
star
2

Minesweeper-Desktop-Game

๐Ÿ’ฃ An object-oriented clone of the famous Windows game Minesweeper made in Java-Swing Framework following the Model View Controller (MVC) Architecture. Its a stand-alone desktop game which also provides save and load game functionalities.
Java
66
star
3

Handwritten-Digits-Classification-Using-KNN-Multiclass_Perceptron-SVM

๐Ÿ† A Comparative Study on Handwritten Digits Recognition using Classifiers like K-Nearest Neighbours (K-NN), Multiclass Perceptron/Artificial Neural Network (ANN) and Support Vector Machine (SVM) discussing the pros and cons of each algorithm and providing the comparison results in terms of accuracy and efficiecy of each algorithm.
Python
62
star
4

Zelda-Game

๐Ÿ‘ฝ A text based adventure game made using concepts of OOP like Inheritance, Composition, Association, Polymorphism etc
C++
56
star
5

Typing-Tutor

๐ŸŽฎ An interactive graphical Typing Tutor game made using C++ (Console Based) having various difficulty levels and a fun gameplay.
C++
25
star
6

Gradient-Smoothness-Structural_Similarity-Image_Histogram

๐Ÿ–ผ๏ธ This repository contains ready to run code for the following image processing techniques: Image Gradient, Image Smoothness, Image Histogram (Intensity Histogram) and Structural Similarity Index Measure (SSIM) of Two Images
Python
13
star
7

Round-Robin-Scheduler

๐Ÿคน A C++ implementation of the Round Robin Scheduler algorithm for process scheduling.
C++
13
star
8

Ring-Star-Hybrid-Topologies-TCL

๐Ÿ‘จโ€๐Ÿ’ป This repository provides working code and complete description for Ring, Star and Hybrid Network Topologies. The scripts are written in Tcl for NS which is used to simulate the behavior of networks and NAM is used as a visual aid showing how packets flow along the network.
Tcl
11
star
9

Online-Voting-System-TCP

๐Ÿ—ณ๏ธ An online vote casting system using TCP multi-threaded client-server program. The voters will log on from client systems and cast their votes.
C
8
star
10

Command-Line-Interpreter-CLI

๐Ÿ”ฒ A Command Line Interpreter made in C++ which supports commands like quit, remove, rename, rmdir, echo, out, zip, unzip.
C++
7
star
11

Doubly-and-Singly-Linked-List

๐Ÿ”— Complete C++ implementation of two variants of a list: Doubly Linked List and Singly Linked List
C++
7
star
12

FurnitAR

Ecommerce app with Firebase as backend. AR enabled products can be viewed in AR. AR functionalities implemented using ARCore and Sceneform. AR models taken from Google Poly.
Java
4
star
13

Activity-Calendar

๐Ÿ—“๏ธ A console based graphical activity calendar implemented in C++ as an assignment for the course "Computer Programming CS103"
C++
2
star
14

Mapping-3D-Array-to-1D-Array

๐ŸŒŒ Demonstrating the concept of representing/flattening a 3D array as a 1D array by solving a real life problem
C++
1
star
15

Full-Wave-Bridge-Rectifier

โœจ A MATLAB implementation (Simulink Model) of a Full Wave Bridge Rectifier
1
star
16

Queue-and-Stack

๐ŸŽˆ A C++ implementation of two datastructures: queue and stack
C++
1
star
17

Check_In-Check_Out-System-UDP

๐Ÿ™‹โ€โ™‚๏ธ A UDP based Check in/Check out System. In this system, the user/client is able to Check in and Check out from the system by sending a data packet from its host machine to the server.
C
1
star
18

Factory-Singleton-and-Strategy-Design-Patterns_Examples

๐Ÿ‰ Solved problems demonstrating the use of Factory, Singleton and Strategy Design Patterns using Java. These problems were solved during the course "Object Oriented Analysis and Design CS309"
Java
1
star