Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 19

  Acknowledgement

I have taken efforts in this project. However, it would not have been possible without the kind
support and help of many individuals and my class mates. I would like to extend my sincere
thanks to all of them.

Firstly we would like to thanks “ALMIGHTY ALLAH” who helped us completing this project
successfully.

It is a matter of great privilege for me to present this project to “MISS ANEETA”. Miss we owe
sincere thanks, first and foremost gratitudes to you, as you guide us at every step and polished
our skills.

I am highly indebted to my group members for their guidance and constant supervision as well as
for providing necessary information regarding the project & also for their support in completing
the project.

I would like to express my gratitude towards my parents & friends for their kind co-operation
and encouragement which help me in completion of this project.

I would like to express my special gratitude and thanks to my family for giving me such attention
and time.

My thanks and appreciations also go to my colleague in developing the project and people who
have willingly helped me out with their abilities.
INTRODUCTION

In modern world of technology, education and anything related to its has been shifted to
computerized through an internet. The main aim of this project to illustrate the requirements
needed for the library management system. The project gives a view about both functional and
non-functional requirements chosen by the client. The project is developed using E draw Tool,
JAVA, MS-ACCESS database. This application has a search facility the admin can search by
book or name. The admin can add or remove users or book from database.

The objective of the Library system is to handle the entire activity of a library. The software
keeps track of all the information about the books in the library, their cost , their complete details
and total number of books available in the Library. The user will find it easy in his automated
system rather than using the manual writing system. The system contains a filing (file.txt) where
all the information will be stored safely. The system is user-friendly and error free.

This project is helpful to track all the book and library information and to rate the maximum


number of books, the visitors wished to read. The software will be able to handle all the
necessary information.

The library transactions like issue, return and renewal of members. It can be used in various
fields like:

  In an educational institute or in universities giving description about content and the author.

 It can used in libraries for easily maintain the books and their details.
Background Knowledge

 Java features used in project

The primary objective of Java programming language creation was to make it portable, simple
and secure programming language. Apart from this, there are also some excellent features which
play an important role in the popularity of this language. The features of Java are also known as
java buzzwords. A list of most important features of Java language is given below.

1. Simple
2. Object-Oriented
3. Portable
4. Platform independent
5. Secured
6. Robust
7. Architecture neutral
8. Interpreted
9. High Performance
10. Multithreaded
11. Distributed
12. Dynamic
1. Simple

Java is very easy to learn, and its syntax is simple, clean and easy to understand. According to
Sun, Java language is a simple programming language 

2. Object-oriented

Java is an object-oriented programming language. Everything in Java is an object. Object-


oriented means we organize our software as a combination of different types of objects that
incorporates both data and behavior.

Object-oriented programming (OOPs) is a methodology that simplifies software development


and maintenance by providing some rules.

3. Platform Independent

Java is platform independent because it is different from other languages like C, C++, etc. which
are compiled into platform specific machines while Java is a write once, run anywhere language.
A platform is the hardware or software environment in which a program runs.

4. Robust

Robust simply means strong. Java is robust because:

o It uses strong memory management.

o There is a lack of pointers that avoids security problems.

o There is automatic garbage collection in java which runs on the Java Virtual Machine to
get rid of objects which are not being used by a Java application anymore.

o There are exception handling and the type checking mechanism in Java. All these points
make Java robust.

5. Secured

Java is best known for its security. With Java, we can develop virus-free systems. Java is
secured because:
o No explicit pointer

o Java Programs run inside a virtual machine sandbox

o Classloader: Classloader in Java is a part of the Java Runtime Environment(JRE) which


is used to load Java classes into the Java Virtual Machine dynamically. It adds security by
separating the package for the classes of the local file system from those that are
imported from network sources.
o Bytecode Verifier: It checks the code fragments for illegal code that can violate access
right to objects.
o Security Manager: It determines what resources a class can access such as reading and
writing to the local disk.

Java language provides these securities by default. Some security can also be provided by an
application developer explicitly through SSL, JAAS, Cryptography, etc.

6. Architecture-neutral

Java is architecture neutral because there are no implementation dependent features, for example,
the size of primitive types is fixed.

In C programming, int data type occupies 2 bytes of memory for 32-bit architecture and 4 bytes
of memory for 64-bit architecture. However, it occupies 4 bytes of memory for both 32 and 64-
bit architectures in Java.

7. Portable

Java is portable because it facilitates you to carry the Java bytecode to any platform. It doesn't
require any implementation.

8. High-performance

Java is faster than other traditional interpreted programming languages because Java bytecode is
"close" to native code. It is still a little bit slower than a compiled language (e.g., C++). Java is
an interpreted language that is why it is slower than compiled languages, e.g., C, C++, etc.
9. Distributed

Java is distributed because it facilitates users to create distributed applications in Java. RMI and
EJB are used for creating distributed applications. This feature of Java makes us able to access
files by calling the methods from any machine on the internet.

10. Multi-threaded

A thread is like a separate program, executing concurrently. We can write Java programs that
deal with many tasks at once by defining multiple threads. The main advantage of multi-
threading is that it doesn't occupy memory for each thread. It shares a common memory area.
Threads are important for multi-media, Web applications, etc.

11. Dynamic

Java is a dynamic language. It supports dynamic loading of classes. It means classes are loaded
on demand. It also supports functions from its native languages, i.e., C and C++.

Java supports dynamic compilation and automatic memory management (garbage collection).
 Packages detailed

Built-in Packages

These packages consist of a large number of classes which are a part of Java API.Some of the
commonly used built-in packages are:

1) Java.swing: Provides a set of "lightweight" (all-Java language) components that, to the


maximum degree possible, work the same on all platforms.

2) java.lang: Contains language support classes(e.g classed which defines primitive data types,
math operations). This package is automatically imported.
3)  java.io: Contains classed for supporting input / output operations.
4)  java.util: Contains utility classes which implement data structures like Linked List,
Dictionary and support ; for Date / Time operations.
5)  java.applet: Contains classes for creating Applets.
6)  java.awt: Contain classes for implementing the components for graphical user interfaces
(like button , ;menus etc).
User-defined packages

These are the packages that are defined by the user. First we create a directory myPackage (name
should be same as the name of the package). Then create the MyClass inside the directory with
the first statement being the package names.

 Swing classes
 Tool description

appletviewer (Java Applet Viewer)

Tests and runs applets outside a Web browser.

apt (Annotation Processing Tool)

Finds and executes annotation processors based on the annotations present in the set of specified
source files being examined.

extcheck (Extcheck utility)

Detects version conflicts between a target JAR file and currently-installed extension JAR files.

jar (Java Archive Tool)

Combines multiple files into a single Java Archive (JAR) file.

java (Java Interpreter)

Runs Java classes. The Java Interpreter runs programs that are written in the Java programming
language.

javac (Java Compiler)

Compiles programs that are written in the Java programming language into bytecode (compiled
Java code).

javadoc (Java Documentation Generator)

Generates HTML pages of API documentation from Java source files.

javah (C Header and Stub File Generator)


Enables you to associate native methods with code written in the Java programming language.

javap (Class File Disassembler)

Disassembles compiled files and can print a representation of the bytecodes.

javaw (Java Interpreter)

Runs Java classes in the same way as the java command does, but does not use a console
window.

jdb (Java Debugger)

Helps debug your Java programs. When invoked, a message is displayed indicating that the tool
is not supported. For alternatives to this tool, see Debugging Java programs on IBM
SIR SYED UNIVERSITY
OF ENGINEERING AND TECHNOLOGY

OOP PROJECT report

“LIBRARY SYTEM”

SUBMITTED BY: SUBMITTED TO:


M.HASSAN KHAN: 2018 – CE - 55 MISS ANEETA

FARAZ ABBAS: 2018 – CE - 71

AHSAN ABBAS: 2018 – CE – 89

UBAID ASLAM: 2018 – CE - 73

Table of content
1. Acknowledgements

2. Introduction

3. Background Knowledge

 Java features used in project

 Packages detailed

 Swing classes etc

 Tool description

4. User Interface

 Features / Functionality with snapshot

 How it Works

5. UML Diagrams

 Class Diagram

6. Future Work

 Appendix A

 Appendix B

 References

User Interface
In this section what the user can see and do are shown and discussed. A View is a technical term
that is a part of the ModelViewController software architecture pattern. For nonprogrammers a
View can be thought of as a window within the program. A View tells the program how the
information is presented to the user. The Views of the program are presented one by one in this
chapter as well as the information on how to navigate between them. The program has a
MainView, which has subViews in tabbed format. These subViews are SearchView, EditView
and InsertView. All of the other Views are formed when the user clicks a button.

 Features / Functionality with snapshot


UML DIAGRAM
 Class Diagram
Future Work
 Appendix A

The system provides the Admin the ability to add a librarian. The Admin provides the following
information:

 ID, char
 Name, String
 Contact, String
 Password, String

The system provides the Admin, Librarian and Student/Member the ability to login their
account. The Admin, Librarian and Student/Member provides the following information:
 Email id, String
 Password, String

The system provides the Admin the ability to change account status. The Admin provides
the following information:

ID, char

char
The system provides the Admin the ability to add a student/borrower. The Admin
provides the following information:

ID, char

Name, String

Contact, String

The system provides the Admin the ability to change a student/borrower status. The
Admin provides the following information:

ID, char

The system provides the Admin the ability to change account type. The Admin selects the
following option:

ID, char
The system provides the Librarian the ability to checkout a book. The Borrower/Student
provides the following information:
 ID, char
ISBN, char

The system provides the Librarian the ability to check-in a book. The Borrower/Student
provides the following information:

ID, char
ISBN, char

The system provides the Borrower/Student & Librarian the ability to Check
Fine. The Borrower/Student provides the following information:

ID, char

ISBN, char

The system provides the Borrower/Student the ability to Check Account

 Appendix B

Digital technologies are transforming all aspects of education including scholarly


communication. These technologies provide an unprecedented opportunity to rethink how
the education community including the research library community creates, uses,
publishes, accesses, and manages these resources.
The greatest impact of these technologies can be seen in the creation of new knowledge
and how scholars, researchers, and students are increasingly finding new means of
providing education services and collaborating Via the networked environment. This
transformation or transition to a new mode of scholarly communication and education
generally necessitates a rethinking of the concept of a "digital library." One does not want
to recreate the current system that predominately reflects the print environment and as
presently constructed, does not provide equal benefits to all participants.

Instead, in designing a digital library for undergraduate science, mathematics,


engineering, and technology education, a starting point could be identification of the
values or ethic of a new scholarly communications medium in support of education and
to map these against the potential of the networked environment.

As Einstein commented, "The significant problems we face cannot be solved at the same
level of thinking we were at when we created them." There will be more than ever the
need to heed Einstein's advice and think creatively in these discussions.

REFERENCES

Library users can consult the staff at the reference desk for help in finding information. Using a
structured reference interview, the librarian works with the library user to clarify their needs and
determine what information sources will fill them.[1][2] To borrow a medical analogy, reference
librarians diagnose and treat information deficiencies.
The ultimate help provided may consist of reading material in the form of a book or journal article,
instruction in the use of specific searchable information resources such as the library's

Online catalog or subscription bibliographic/ full text databases, or simply factual information drawn


from the library's print or online reference collection. Information is also provided to patrons through
electronic resources.[2] Typically, a reference desk can be consulted either in person, by telephone,
through email or online chat, although a library user may be asked to come to the library in person
for help with more involved research questions. A staffed and knowledgeable reference desk is an
essential part of a library.

The services that are provided at a reference desk may vary depending on the type of library, its
purpose, its resources, and its staff.

You might also like