0% found this document useful (0 votes)
90 views

Lokesh Project Edited

The document describes a mini project report on an Online House Rental System. It includes an introduction describing the scope and existing systems. It discusses analyzing the feasibility, proposed system, software and hardware requirements, and constraints. It also includes the design of the system using UML diagrams like class, use case, sequence, and activity diagrams. It discusses implementing and coding the system. It provides images of features like adding tenants and documents, payment, booked flats, user history, and updating/deleting records. It covers testing, validation, and concludes with future enhancements.

Uploaded by

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

Lokesh Project Edited

The document describes a mini project report on an Online House Rental System. It includes an introduction describing the scope and existing systems. It discusses analyzing the feasibility, proposed system, software and hardware requirements, and constraints. It also includes the design of the system using UML diagrams like class, use case, sequence, and activity diagrams. It discusses implementing and coding the system. It provides images of features like adding tenants and documents, payment, booked flats, user history, and updating/deleting records. It covers testing, validation, and concludes with future enhancements.

Uploaded by

Lokesh Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 57

A

MINI PROJECT REPORT


on
ONLINE HOUSE RENTAL SYTEM
BACHELOR OF TECHNOLOGY
in
COMPUTER SCIENCE AND ENGINEERING
Submitted by
(MIP-C30)
M.Lokesh Yadav:187Y1A05E2

N.Anand: 167Y1A05C4

Under the Guidance

of

Mrs.Sandhya Rani

Assistant Professor

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


MARRI LAXMAN REDDY
INSTITUTE OF TECHNOLOGY AND MANAGEMENT
(AUTONOMOUS)

(Affiliated to JNTU-H, Approved by AICTE New Delhi and Accredited by NBA & NAAC With ‘A’ Grade)

October 2021

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM


CERTIFICATE

This is to certify that the project report titled “Online House Rental System” is being

submitted by M.Lokesh Yadav (187Y1A05E2) and N.Anand (167Y1A05C4) in IV B.Tech I

Semester Computer Science & Engineering is a record bonafide work carried out by him.

The results embodied in this report have not been submitted to any other University for the

award of any degree.

Internal Guide HOD


Mrs.Sandhya Rani Mr. Abdul BasithKhateeb

Principal External Examiner


Dr. K.Venkateswara Reddy

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM


DECLARATION

I hereby declare that the Major Project Report entitled, “Online House Rental System”

submitted for the B.Tech degree is entirely my work and all ideas and references have been

truly acknowledged. It does not contain any work for the award of any other degree.

Date:

M.Lokesh Yadav N.Anand

(187Y1A05E2) (167Y1A05C4)

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM i


ACKNOWLEDGEMENT

I am happy to express my deep sense of gratitude to the principal of the college

Dr. K. Venkateswara Reddy, Professor, Department of Computer Science and


Engineering, Marri Laxman Reddy Institute of Technology & Management, for having
provided me with adequate facilities to pursue my project.

I would like to thank Mr. Abdul Basith Khateeb, Assoc. Professor and Head, Department
of Computer Science and Engineering, Marri Laxman Reddy Institute of Technology &
Management, for having provided the freedom to use all the facilities available in the
department, especially the laboratories and the library.

I am very grateful to my project guide Mrs Sandhya Rani, Assist. Prof., Department of
Computer Science and Engineering, Marri Laxman Reddy Institute of Technology &
Management, for his extensive patience and guidance throughout my project work.
I sincerely thank my seniors and all the teaching and non-teaching staff of the Department
of Computer Science for their timely suggestions, healthy criticism and motivation during
the course of this work.

I would also like to thank my classmates for always being there whenever I needed help or
moral support. With great respect and obedience, I thank my parents and brother who were
the backbone behind my deeds.

Finally, I express my immense gratitude with pleasure to the other individuals who have
either directly or indirectly contributed to my need at right time for the development and
success of this work.

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM ii


CONTENTS

S NO. TITLE PAGE NO.

ABSTRACT i

LIST OF FIGURES ii

LIST OF TABLES iii

SYMBOLS & ABBREVIATIONS iv

1 INTRODUCTION 1

1.1 Introduction 1

1.2 Scope 2

1.3 Existing System 3

1.4 Organization Report 4

2 ANALYSIS 5

2.1 Feasibility Study 5

2.2 Proposed 7

2.3 Scope 7

2.4 Software Requirements 9

2.5 Hardware Requirements 9

2.6 Constraints 10

2.7 Conclusion 10

3 DESIGN 10

3.1 UML Diagrams 11

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM iii


3.2 Data Flow Diagrams 15

4 IMPLEMENTAION AND CODING 22

4.1 Implementation 22

4.2 Coding 22

5 LIST OF IMAGES 36

5.1 Add Tenent 36

5.2 Add Documents 36

5.3 Payment 37

5.4 Booked Flat 37

5.5 Full History 38

5.6 Update Record 38

5.7 Delete Record 39

6 TESTING AND VALIDATION 36

6.1 Testing Objectives 36

6.2 Testing Principles 36

6.3 Testing Strategies 37

6.4 Testing Fundamentals 38

6.5 Testing Information Flow 39

7 CONCLUSION AND FUTURE ENHANCEMENTS 43

8 REFERENCES 45

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM iv


ABSTRACT

Online Rental House Web Portal is an internet portal dedicated to meet every aspect of the
consumers needs in the Real Estate industry. It is a forum where Property Owners and
Tenants can exchange information, quickly, effectively and inexpensively. It features
commercial and residential properties for sale rent and lease the fore properties, rates,
locations, property news and also major events and happenings in the genre are the highlights
of this portal.

This system provides information for both tenant and house owner about the type of property
which the tenant is looking for and the type of property which the owner is having. It includes
renter, house owner, house, location, locations which are having renting houses. This system
can be extended by providing features such as e-mailingnotifications.

The Rental Management System is Searching in Based on the Apartment Paying Guest,
Office, House in metropolitan cities. The Rental Management System is Based on the Owners
and the Customers. The Owner is updated on the Apartment, Office details, House, Paying
Guest details. The Customer is details about the Room space, Room rent and the Address
Details also. The Rental Management System is best Suitable the owners because time save
and the only contact and the eligible person and there is no need to explain the room details
on the speak. The Rental Management System is best application in the city place The
customer contact and the easily search and the suitable place of Apartment, Office, PG,
House and based the Money, Limit Person is based on the suitable house. The Rental
Management System is save the time also. The Rental Management System is used to easily
identify the suitable place in Save time, cost also. The Rental Management System is best
way to search the house, Apartment office, Paying Guest. Hence this system is best
applicable for the above reasons making House rental an easy process through an online
system Acknowledgement At the beginning I am very much grateful to almighty God for
giving me strength and opportunity and sound mind to complete the House Rental
Managementreport.

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM v


LIST OF FIGURES

FIG. NO FIG. NAME PAGE NO.

1 Class Diagram 12

2 Use Case Diagram 13

3 Sequence Diagram 13

4 Activity Diagram 14

5 Data Flow Diagram 15

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM vi


LIST OF IMAGES

TABLE NO. TABLE TITLE PAGE NO.

3.1 Software Requirements 14

3.2 Hardware Requirements 14

5.1 Summary 35

6.1 Above prescribed (favorable) levels 41

6.2 Below Threshold Level Use Case 42

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM vii


SYMBOLS & ABBREVIATIONS
SRS : Software Requirement Specifications

IT : Information Technology

CS : Computer Science

DFD : Data Flow Diagrams

UML : Unified Modeling Language

URL : Uniform Resource Locator

MINI PROJECT REPORT (2017-2021 Batch) Dept. of CSE, MLRITM viii


1. INTRODUCTION:

1.1 INTRODUCTION:
We are stuck with technology when what we really want is just stuff that works. With the
current paradigm shift in technological field, there is an urgent need to embrace and
appreciate the power of technology. Housing sector remains vigilant to face the challenges of
change by employing a new strategy that facilitates easy management of rental houses. Hence
there is need to develop a House rental Project. The Home Rental System is Searching in
Based on the Apartment House for rent in metropolitan cities. The Home Rental System is
Based on the Owners and the Customers. The Owner is updated on the Apartment details, and
rent details. The Customer is details about the Room space, Room rent and the Address
Details also. The Home Rental System is best Suitable the owners because time save and the
only contact and the eligible person and there is no need to explain the room details on the
speak. The Home Rental System is best application in the city place. The customer contact
and the easily search and the suitable place of House and based the Money, Limit Person is
based on the suitable house. The Home Rental System is save the time also. The Rental
Management System is used to easily identify the suitable place in Save time, cost also.
Hence this system is best applicable for the above reasons making House rental an easy
process through an online system.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 1
1.2 FUTURE AND SCOPE:
With the increasing population across the country it becomes very difficult to provide home
for everyone. According to the Census of India 2011, out of the 90 million residential census
units, 11 million units are vacant; that is 12% of the total urban housing stock consists of
vacant houses.

Few factors bring an urge for online rental management. These are:

a) It’s not easy to “build” millions of new houses congested households.

b) If the aim is to build millions of new housing units, clearly, lands is scarce.

Rental housing can be a significant proportion of housing supply. Rental yields (rent as a
share of property price) are the returns a property owner can get on her investment and hence
play an important part in deciding the economic viability of investing in rental housing.
Rental yields in India are typically very low. As the number of land acquisition increases
there are more and more household building being constructed with only one thing lacking
i.e., proper ,management of these rentals so that every landlords can get a trusted tenant
without the fear of evading rents and maintaining record of every tenant without the potential
risk of losing these data.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 2
1.3 Existing Systems:

In the existing system there is no centralized system. In the present system the user need to go
manually visit each and every house in city for required house. If any new persons enter into
our City. If they require any room they need to search in whole city because they don’t know
where it is available or not.

Disadvantages of Existing Systems:

The existing systems are very time consuming.

Inconsistency in data entry, room for errors , miss keying information.

Large ongoing staff training cost.

System is dependent on good individuals.

Reduction in sharing information and customer services & Lack of security.

Time consuming and costly to produce reports.

Objectives of Proposed Systems:

Economic feasibility

Time Flexibility

Technical feasibility

User-friendly interface

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 3
1.4 Organization Report:
In this project documentation we have initially put the definition and objective of the project
as well as the design of the project which is followed by the implementation and testing
phases. The project has been concluded successfully and the future enhancements of the
project also given in this documentation.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 4
2. ANALYSIS:

2.1 Feasibility Study:


Feasibility is a measure of how beneficial the development of the application will be to an
organization. This is done by investigating the existing system in the area under investigation
or generally ideas about a new system. It is a test of a system proposal according to its
workability, impact on the organization, ability to meet user needs, and effective use of
resources.

The key considerations are involved in the feasibility analysis are: Economic, Technical,
Legal, Operational and Behavioral feasibility.

Economic Feasibility:
Economic analysis is the most frequently used method for evaluating the effectiveness of a
proposed system. It is more commonly known as cost benefit analysis, the procedure to
determine the benefits and saving that are expected from a candidate system and compare
them with costs. If the benefits outweigh costs then a decision is made to design and
implement the system. Otherwise make alterations in the proposed system.

The innovation of the new system has much influence on the economical side of the
company. Manual system is highly cost driven due to the high labor costs.

Technical Feasibility:
In examining Technical feasibility of the system, more importance is given to the hardware
interaction part of the system. In OLES Permission to the users would be granted based on the
roles specified. Therefore, it provides the technical guarantee of accuracy, reliability and
security. OLE does not require any addition hardware or software. Since the interface for this
system is developed using the existing resources and technologies available at NIC, there is
nominal expenditure and feasibility for certain.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 5
Legal Feasibility:
People are inherently resistant to change, and computers have been known to facilitate
change. An estimate should be made about the reaction of the user staff towards the
development of a computerized system. Computer installations have something to do with
turnover, transfers and changes in job status. The introduction of a candidate system requires
special effort to educate, sell and train the staff for conducting the business. The system is
designed such that even a computer ignorant person can easily interact with the system.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 6
Operational Feasibility:
Proposed projects are beneficial only if they can be turned out into information system. That
will meet the organization’s operating requirements. Operational feasibility aspects of the
project are to be taken as an important part of the project implementation.

Some of the important issues raised are to test the operational feasibility of a project includes
the following:

Is there sufficient support for the management from the users?

Will the system be used and work properly if it is being developed and implemented? Will
there be any resistance from the user that will undermine the possible application benefits?

This system is targeted to be in accordance with the above-mentioned issues. The


well-planned design would ensure the optimal utilization of the computer resources and
would help in the improvement of performance status.

Behavioral Feasibility:
People are inherently resistant to change and computer has been knownto facilitate changes.
An estimate should be made of how strong the user is likely to move towards the
development of fully computerized system. These are various levels of users in order to
ensure proper authentication, authorization and security of sensitive data of the organization.
Administrators are responsible for management of system users, tests, results and system
backup etc.

2.2 Proposed:
The main objective of the Online House Rental System is that it helps Real estate brokers and
corporate world to search for the house at reasonable price, in an automated manner. It
reduces the time consumption and workload that exist in the current system of searching. It
also helps in storing the record of each house details and the owner details are also stored in
the system. This makes the searching of the records easier than the existing system.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 7
2.3 Scope:
OLES can be used in corporate world. The system handles all the operations and generates
receipt as soon as the registration is completed and saves the precious time of tenants spent on
searching for house. The tenants can login through the client computers with their login id.

Every Owner can get a trusted tenant without the fear of evading rents and maintaining record
of every tenant without the potential risk of losing these data.

Can be used anywhere any time as it is a web-based application.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 8
2.4 Software Requirements:

Operating System

Windows XP and others.

Front End

Java, Jframe, Net Beans

Back End

SQL

Browser

Internet Explorer and others.


2.5 Hardware Requirements:

Pentium-IV(Processor).

256 MB Ram

512 KB Cache Memory

Hard disk 10GB

Microsoft Compatible 101 or more Key Board

2.6 Constraints:
Graphical user interface is only in English.

Enrolment ID and password is used for identification of user and there is no facility for guest.

Only registered users will be authorized to use the services.

This system is working for single server.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 9
2.7 Conclusion:
In this phase, we understand the software requirement specifications for the system. We
arrange all the required components to develop the projection this phase itself so that we will
have a clear idea regarding the requirements before designing the project. Thus, we will
proceed to the design phase followed by the implementation phase of the project.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 10
3. DESIGN:

3.1 UML Diagrams:


Unified Modelling Language (UML) is a standardized general- purpose modelling language
in the field of software engineering. It is used to modify, visualize, construct, specify and
document the artifacts of an object-oriented software intensive system under development.
UML combines best techniques from data modelling (ER diagrams), business modelling,
object modelling, and component modelling. It can be used with all processes, throughout a
software development life cycle, and across different implementation technologies.

Class Diagram:
Class diagram in the UML is a type of static structure diagram that describes the structure of a
system by showing the system's classes, their attributes, and the relationships between the
classes. It is the main building block in object-oriented modelling. It is being used both for
general conceptual modeling of the systematic of the application, and for detailed modelling
translating the models into programming code.

The classes in a class diagram represent both the main objects and interactions in the
application and the objects to be programmed. In the class diagram these classes are
represented with boxes which contain 3 parts:

The upper part holds the name of the class.


The middle part contains the attributes of the class.
The bottom part gives the methods or operations the class can take.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 11
Fig-1: Class Diagram

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 12
Use Case Diagram:

Use case diagram in the Unified Modeling Language (UML) is a type of behavioral diagram
defined by and created from a Use-case analysis. Its purpose is to present a graphical
overview of the functionality provided by a system in terms of actors, their goals (represented
as use cases), and any dependencies between those use cases.

Its main purpose is to show what system functions are performed for which actor. Roles of
the actors in the system can be depicted.

Fig-2: Use Case Diagram

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 13
Sequence Diagram:

Sequence diagrams document the interactions between classes to achieve a result, such as a use case.

Because UML is designed for object-oriented programming, these communications between classes are

known as messages. The Sequence diagram lists objects horizontally, and time vertically, and models

these messages overtime.

Notation

In a Sequence diagram, classes and actors are listed as columns, with vertical lifelines indicating the lifetime

of the object over time.

Fig-3: Sequence Diagram

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM14
Activity Diagram:

An activity diagram is a behavioral diagram i.e. it depicts the behavior of a system. An activity diagram

portrays the control flow from a start point to a finish point showing the various decision paths that exist

while the activity is being executed.

Fig-4: Activity Diagram

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM15
3.2 Data Flow Diagrams:

A data flow diagram is graphical tool used to describe and analyze movement of data through a system. These
are the central tool and the basis from which the other components are developed. The transformation of data
from input to output, through processed, may be described logically and independently of physical
components associated with the system. These are known as the logical data flow diagrams. The physical data
flow diagrams show the actual implements and movement of data between people, departments and
workstations. A full description of a system actually consists of a set of data flow diagrams.

Using two familiar notations Yourdon, Gane and Sarson notation develops the data flow diagrams. Each
component in a DFD is labeled with a descriptive name. Process is further identified with a number that will be
used for identification purpose. The development of DFD’S is done in several levels.

Each process in lower level diagrams can be broken down into a more detailed DFD in the next level. The
lop-level diagram is often called context diagram. It consists a single process bit, which plays vital role in
studying the current system. The process in the context level diagram is exploded into other process at the

The idea behind the explosion of a process into more process is that understanding at one level of detail is
exploded into greater detail at the next level. This is done until further explosion is necessary and an adequate
amount of detail is described for analyst to understand the process.

Larry Constantine first developed the DFD as a way of expressing system requirements in a graphical from,
this lead to the modular design.

A DFD is also known as a “bubble Chart” has the purpose of clarifying system requirements and identifying
major transformations that will become programs in system design. So it is the starting point of the design to
the lowest level of detail. A DFD consists of a series of bubbles joined by data flows in the system.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM16
Symbols:
In the DFD, there are four symbols

1.A square defines a source(originator) or destination of system data

2.An arrow identifies data flow. It is the pipeline through which the information flows

3.Circle or a bubble represents a process that transforms incoming data flow into outgoing data flows.

4.An open rectangle is a data store, data at rest or a temporary repository of data

Process that transforms data flow.

Source or Destination of data (Input/Output)

Data flow

Data Store

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM17
Constructing a DFD:

Several rules of thumb are used in drawing DFD’S:

1. Process should be named and numbered for an easy reference. Each name should be representative
of the process.
2. The direction of flow is from top to bottom and from left to right. Data traditionally flow from source
to the destination although they may flow back to the source. One way to indicate this is to draw long
flow line back to a source. An alternative way is to repeat the source symbol as a destination. Since it
is used more than once in the DFD it is marked with a short diagonal.
3. When a process is exploded into lower level details, they are numbered.
4. The names of data stores and destinations are written in capital letters. Process and data flow names
have the first letter of each work capitalized.

A DFD typically shows the minimum contents of data store. Each data store should contain all the data
elements that flow in and out.

5. Data Flow:

1) A Data Flow has only one direction of flow between symbols. It may flow in both directions between a
process and a data store to show a read before an update. The later is usually indicated however by two
separate arrows since these happen at different type.
2) A join in DFD means that exactly the same data comes from any of two or more different processes
data store or sink to a common location.
3) A data flow cannot go directly back to the same process it leads. There must be at least one other
process that handles the data flow produce some other data flow returns the original data into the
beginning process.
4) A Data flow to a data store means update (delete or change).
5) A data Flow from a data store means retrieve or use.
A data flow has a noun phrase label more than one data flow noun phrase can appear on a single arrow as long
as all of the flows on the same arrow move together as one package.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM18
Context Level DFD:

Data Flow Diagram for house Rental System

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM19
3.3 Module Design ofSystem:

The Modules in this Project are:

1. Login and Registration


2. Tenant
3. Document
4. Payment
5. Booking
6. Tenant History
7. Payment History

Login and Registration:


In this user can login in to the system with system provided user id and password. The users in the

system are owner and tenant.

Owner can register in the system so that he can upload the house information

Tenant can register so that he can check with the house information which was posted by own.

Tenant:
Tenant will be checking all the houses and the requesting for the houses. In this module contains the
information about the tenant.

Document:
Tenant should create one PDF for each type of document you are required to upload. Tenant full name

must appear on all uploaded documents.

Payment:
Payment status: View payment status and easily detects which tenant has paid, not paid and have balance.

Booking:
Search houses location: they will search about feasible lands and placement in their budget.

Tenant History:
Shows the information and description of the tenants, bills.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM20
Payment History:

Provides the searching facilities based on various factors. Such as bills, transaction history, transaction
, payment.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM21
4. IMPLEMENTATION &CODING:

4.1 Implementation:
Implementation is the stage where the theoretical design is turned into a working system. The
most crucial stage in achieving a new successful system and in giving confidence on the new
system for the users that it will work efficiently and effectively.

The system can be implemented only after thorough testing is done and if it is found to work
according to the specification.

It involves careful planning, investigation of the current system and its constraints on
implementation, design of methods to achieve the change-over and an evaluation of change
over methods a part from planning. Two major tasks of preparing the implementation are
education and training of the users and testing of the system.

The more complex the system being implemented, the more involved will be the systems
analysis and design effort required just for implementation.

The implementation phase comprises of several activities. The required hardware and
software acquisition is carried out. The system may require some software to be developed.
For this, programs are written and tested. The user then changes over to his new fully tested
system and the old system is discontinued

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 22
Coding:
package landlord.tenent.management.system;
import Project.ConnectionProvider;
import java.awt.print.PrinterException;
import java.sql.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import net.proteanit.sql.DbUtils;

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

/**
*
* @author heart
*/
public class paymentInformation extends javax.swing.JFrame {
public int flag=0;

/**
* Creates new form paymentInformation
*/
public paymentInformation() {
initComponents();

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {

jSlider1 = new javax.swing.JSlider();


jLabel1 = new javax.swing.JLabel();
jTextField1 = new javax.swing.JTextField();
jButton1 = new javax.swing.JButton();
jScrollPane1 = new javax.swing.JScrollPane();

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 23
jTable1 = new javax.swing.JTable();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jComboBox1 = new javax.swing.JComboBox<>();
jTextField4 = new javax.swing.JTextField();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
jLabel5 = new javax.swing.JLabel();
jTextField2 = new javax.swing.JTextField();
jLabel6 = new javax.swing.JLabel();
jTextField3 = new javax.swing.JTextField();
jLabel7 = new javax.swing.JLabel();
jTextField5 = new javax.swing.JTextField();
jButton4 = new javax.swing.JButton();
jLabel9 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
jScrollPane2 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jButton5 = new javax.swing.JButton();
jLabel2 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
jDateChooser1 = new com.toedter.calendar.JDateChooser();
jLabel12 = new javax.swing.JLabel();
jSeparator1 = new javax.swing.JSeparator();
jSeparator2 = new javax.swing.JSeparator();
jLabel13 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setLocation(new java.awt.Point(320, 90));
setUndecorated(true);
setPreferredSize(new java.awt.Dimension(1600, 990));
addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentShown(java.awt.event.ComponentEvent evt) {
formComponentShown(evt);
}
});
getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

jLabel1.setFont(new java.awt.Font("Cambria", 1, 36)); // NOI18N


jLabel1.setText("Flat No");
getContentPane().add(jLabel1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(570, 40, 140, 29));

jTextField1.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N


jTextField1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField1ActionPerformed(evt);
}

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 24
});
getContentPane().add(jTextField1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(720, 30, 190, 40));

jButton1.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N


jButton1.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/landlord/tenent/management/system/search.
png"))); // NOI18N
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
getContentPane().add(jButton1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(920, 30, 50, 40));

jTable1.setBorder(new javax.swing.border.MatteBorder(null));
jTable1.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
jTable1.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{null, null, null, null}
},
new String [] {
"Title 1", "Title 2", "Title 3", "Title 4"
}
));
jScrollPane1.setViewportView(jTable1);

getContentPane().add(jScrollPane1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(10, 100, 1580, 80));

jLabel3.setFont(new java.awt.Font("Cambria", 1, 36)); // NOI18N


jLabel3.setText("Month");
getContentPane().add(jLabel3, new
org.netbeans.lib.awtextra.AbsoluteConstraints(90, 330, -1, -1));

jLabel4.setFont(new java.awt.Font("Cambria", 1, 36)); // NOI18N


jLabel4.setText("Rent Amount");
getContentPane().add(jLabel4, new
org.netbeans.lib.awtextra.AbsoluteConstraints(90, 410, -1, -1));

jComboBox1.setFont(new java.awt.Font("Cambria", 1, 24)); // NOI18N


jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(new String[]
{ "January", "Febuary", "March", "April", "May", "June", "July", "August", "September",
"October", "November", "December" }));
jComboBox1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jComboBox1ActionPerformed(evt);
}

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 25
});
getContentPane().add(jComboBox1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(400, 340, 240, 40));

jTextField4.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N


jTextField4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField4ActionPerformed(evt);
}
});
getContentPane().add(jTextField4, new
org.netbeans.lib.awtextra.AbsoluteConstraints(400, 420, 240, 40));

jButton2.setFont(new java.awt.Font("Cambria", 1, 30)); // NOI18N


jButton2.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/landlord/tenent/management/system/save-ic
on--1.png"))); // NOI18N
jButton2.setText("Save");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});
getContentPane().add(jButton2, new
org.netbeans.lib.awtextra.AbsoluteConstraints(120, 860, 150, -1));

jButton3.setFont(new java.awt.Font("Cambria", 1, 30)); // NOI18N


jButton3.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/landlord/tenent/management/system/Close.
png"))); // NOI18N
jButton3.setText("Close");
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton3ActionPerformed(evt);
}
});
getContentPane().add(jButton3, new
org.netbeans.lib.awtextra.AbsoluteConstraints(480, 860, -1, -1));

jLabel5.setFont(new java.awt.Font("Cambria", 1, 36)); // NOI18N


jLabel5.setText("Electricity Bill");
getContentPane().add(jLabel5, new
org.netbeans.lib.awtextra.AbsoluteConstraints(90, 500, -1, -1));

jTextField2.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N


jTextField2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField2ActionPerformed(evt);
}

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 26
});
getContentPane().add(jTextField2, new
org.netbeans.lib.awtextra.AbsoluteConstraints(400, 500, 240, 40));

jLabel6.setFont(new java.awt.Font("Cambria", 1, 36)); // NOI18N


jLabel6.setText("Gas Bill");
getContentPane().add(jLabel6, new
org.netbeans.lib.awtextra.AbsoluteConstraints(90, 580, -1, -1));

jTextField3.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N


jTextField3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField3ActionPerformed(evt);
}
});
getContentPane().add(jTextField3, new
org.netbeans.lib.awtextra.AbsoluteConstraints(400, 580, 240, 40));

jLabel7.setFont(new java.awt.Font("Cambria", 1, 36)); // NOI18N


jLabel7.setText("Maintanance ");
getContentPane().add(jLabel7, new
org.netbeans.lib.awtextra.AbsoluteConstraints(90, 660, 230, -1));

jTextField5.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N


jTextField5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField5ActionPerformed(evt);
}
});
getContentPane().add(jTextField5, new
org.netbeans.lib.awtextra.AbsoluteConstraints(400, 660, 240, 40));

jButton4.setFont(new java.awt.Font("Cambria", 1, 24)); // NOI18N


jButton4.setText("Total");
jButton4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton4ActionPerformed(evt);
}
});
getContentPane().add(jButton4, new
org.netbeans.lib.awtextra.AbsoluteConstraints(100, 740, 190, 50));

jLabel9.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N


jLabel9.setText(" * 5 % GST INCLUDED WITH TOTAL PAYABLE
AMOUNT ");
getContentPane().add(jLabel9, new
org.netbeans.lib.awtextra.AbsoluteConstraints(110, 810, 490, -1));

jLabel10.setFont(new java.awt.Font("Cambria", 1, 36)); // NOI18N

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 27
jLabel10.setText("Reciept no");
getContentPane().add(jLabel10, new
org.netbeans.lib.awtextra.AbsoluteConstraints(90, 250, 190, 40));

jTextArea1.setColumns(20);
jTextArea1.setFont(new java.awt.Font("Mongolian Baiti", 1, 18)); // NOI18N
jTextArea1.setRows(5);
jScrollPane2.setViewportView(jTextArea1);

getContentPane().add(jScrollPane2, new
org.netbeans.lib.awtextra.AbsoluteConstraints(1000, 260, 440, 530));

jButton5.setFont(new java.awt.Font("Cambria", 1, 30)); // NOI18N


jButton5.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/landlord/tenent/management/system/print.jp
g"))); // NOI18N
jButton5.setText("Print");
jButton5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton5ActionPerformed(evt);
}
});
getContentPane().add(jButton5, new
org.netbeans.lib.awtextra.AbsoluteConstraints(1160, 840, -1, -1));

jLabel2.setFont(new java.awt.Font("Cambria", 1, 36)); // NOI18N


jLabel2.setText("DATE :");
getContentPane().add(jLabel2, new
org.netbeans.lib.awtextra.AbsoluteConstraints(400, 260, -1, 30));

jLabel8.setText(" ");
getContentPane().add(jLabel8, new
org.netbeans.lib.awtextra.AbsoluteConstraints(1147, 689, 153, 258));

jDateChooser1.setDateFormatString("yyyy-MM-dd");
getContentPane().add(jDateChooser1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(530, 260, -1, 30));

jLabel12.setFont(new java.awt.Font("Cambria", 0, 36)); // NOI18N


jLabel12.setForeground(new java.awt.Color(255, 51, 51));
getContentPane().add(jLabel12, new
org.netbeans.lib.awtextra.AbsoluteConstraints(290, 250, 60, 40));

jSeparator1.setForeground(new java.awt.Color(255, 0, 0));


getContentPane().add(jSeparator1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(20, 210, 1540, 10));

jSeparator2.setForeground(new java.awt.Color(255, 0, 51));


jSeparator2.setOrientation(javax.swing.SwingConstants.VERTICAL);

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 28
getContentPane().add(jSeparator2, new
org.netbeans.lib.awtextra.AbsoluteConstraints(810, 230, 50, 750));

jLabel13.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N


jLabel13.setForeground(new java.awt.Color(255, 0, 0));
jLabel13.setText(" ");
getContentPane().add(jLabel13, new
org.netbeans.lib.awtextra.AbsoluteConstraints(400, 740, 240, 50));

jLabel11.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/landlord/tenent/management/system/light
green bg2.png"))); // NOI18N
jLabel11.setText(" ");
getContentPane().add(jLabel11, new
org.netbeans.lib.awtextra.AbsoluteConstraints(-8, 0, 1610, 980));

pack();
}// </editor-fold>
// code for search button
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
String flatno=jTextField1.getText();
try
{
Connection con=ConnectionProvider.getCon();
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select * from
tenent where flatno='" + flatno + "';" );
// JOptionPane.showMessageDialog(null, "!!!
database connected !!!");

jTable1.setModel(DbUtils.resultSetToTableModel(rs));
/* if(!rs.first())
jLabel2.setVisible(true);
else
{
jLabel2.setVisible(false);
jTextField1.setEditable(false);
flag=1;
}
*/

}
catch(Exception e)
{

JOptionPane.showMessageDialog(null, "!!! Connection Error !!!");


}
}

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 29
private void jTextField4ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
// code for close button
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
setVisible(false); // TODO add your
handling code here:
}

private void jTextField2ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void jTextField5ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}
// code for payable amount
private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {
try
{ java.util.Date date=jDateChooser1.getDate();
Date sqldate = new java.sql.Date(date.getTime());
String rno=jLabel12.getText();
String flatno=jTextField1.getText();
String month = (String) jComboBox1.getSelectedItem();
String electricity_bill=jTextField2.getText();
int electricity_bill1=Integer.parseInt(electricity_bill);

String gas_bill=jTextField3.getText();
int gas_bill1=Integer.parseInt(gas_bill);

String rent=jTextField4.getText();
int rent1=Integer.parseInt(rent);

String maintanance=jTextField5.getText();
int maintanance1=Integer.parseInt(maintanance);

int payable_amount;
payable_amount=(int)
((electricity_bill1+gas_bill1+rent1+maintanance1)+(electricity_bill1+gas_bill1+rent1+mainta
nance1)*0.05);
jLabel13.setText(" "+payable_amount);
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"************************************************* \n");
jTextArea1.setText(jTextArea1.getText()+ "
RENT RECIEPT SYSTEM \n");

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 30
jTextArea1.setText(jTextArea1.getText()+
"************************************************** \n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"RECIEPT NO "+rno+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+"
DATE "+sqldate+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"FLAT NO " +flatno+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"MONTHLY RENT " +rent1+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"ELECTRICITY BILL "+ electricity_bill1+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"GAS BILL " +gas_bill1+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"MAINTANANCE CHARGE "+maintanance1+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"TOATAL AMOUNT "+payable_amount+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"************** THANKING YOU **************");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+ "
signature");

if(jButton4.isSelected())
{
jLabel13.setVisible(true);

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 31
}
}
catch (Exception e)
{
JOptionPane.showMessageDialog(this,"
Enter data in correct Format");
}

// TODO add your handling code here:


}

private void jTextField3ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {

java.util.Date date=jDateChooser1.getDate();

String rno=jLabel12.getText();
String flatno=jTextField1.getText();
String month = (String) jComboBox1.getSelectedItem();
String electricity_bill=jTextField2.getText();
int electricity_bill1=Integer.parseInt(electricity_bill);

String gas_bill=jTextField3.getText();
int gas_bill1=Integer.parseInt(gas_bill);

String rent=jTextField4.getText();
int rent1=Integer.parseInt(rent);

String maintanance=jTextField5.getText();
int maintanance1=Integer.parseInt(maintanance);

int payable_amount;
payable_amount=(int)
((electricity_bill1+gas_bill1+rent1+maintanance1)+(electricity_bill1+gas_bill1+rent1+mainta
nance1)*0.05);
jLabel13.setText(" "+payable_amount);

try {

Connection con =
ConnectionProvider.getCon();
Statement st = con.createStatement();

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 32
st.executeUpdate("insert into rent values('"
+rno+ "','" + month + "','" + electricity_bill + "','" + gas_bill + "','" +rent + "','" + maintanance
+ "','" + payable_amount + "','" + flatno + "','" + date + "')");

JOptionPane.showMessageDialog(null,
"Successfully Inserted");
setVisible(false);
new
paymentInformation().setVisible(true);
}
catch (Exception e)
{

JOptionPane.showMessageDialog(this,"Either some data is Missing or Enter data in correct


Format");
}

// TODO add your handling code here:


}

private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {


try {
jTextArea1.print();

// TODO add your handling code here:


} catch (PrinterException ex) {

Logger.getLogger(paymentInformation.class.getName()).log(Level.SEVERE, null, ex);


}
}

private void formComponentShown(java.awt.event.ComponentEvent evt) {


try {
Connection con = ConnectionProvider.getCon();
Statement st = con.createStatement();
ResultSet rs=st.executeQuery("select max(rno) from rent;");
if(rs.next())
{
int id=rs.getInt(1);

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 33
id=id+1;
String str=String.valueOf(id);
jLabel12.setText(str);

}
else
jLabel12.setText("1");
} catch (Exception e) {

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional)
">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look
and feel.
* For details see
http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {

java.util.logging.Logger.getLogger(paymentInformation.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {

java.util.logging.Logger.getLogger(paymentInformation.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {

java.util.logging.Logger.getLogger(paymentInformation.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 34
java.util.logging.Logger.getLogger(paymentInformation.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
}
//</editor-fold>

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new paymentInformation().setVisible(true);
}
});
}

// Variables declaration - do not modify


private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JButton jButton4;
private javax.swing.JButton jButton5;
private javax.swing.JComboBox<String> jComboBox1;
private com.toedter.calendar.JDateChooser jDateChooser1;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JScrollPane jScrollPane2;
private javax.swing.JSeparator jSeparator1;
private javax.swing.JSeparator jSeparator2;
private javax.swing.JSlider jSlider1;
private javax.swing.JTable jTable1;
private javax.swing.JTextArea jTextArea1;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
// End of variables declaration
}

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 35
5. LIST OFIMAGES

Login And Registration

Figure 1
Payment

Figure 2

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 36
Update Records

Figure 3

Full History

Figure 4

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 37
Add Document

Figure 5

Booked Flats

Figure 6

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 38
Delete Tenant

Figure 7
Add Tenant

Figure 8

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 39
Rules

Figure 9

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 40
5.TESTING

Testing is a process of executing a program with the intent of finding an error. Testing is a
crucial element of software quality assurance and presents ultimate review of specification,
design and coding.

System Testing is an important phase. Testing represents an interesting anomaly for the
software. Thus, a series of testing are performed for the proposed system before the system is
ready for user acceptance testing.

A good test case is one that has a high probability of finding an as undiscovered error. A
successful test is one that uncovers an as undiscovered error.

5.1 Testing Objectives:

Testing is a process of executing a program with the intent of finding an error.

A good test case is one that has a probability of finding an as yet undiscovered error.

A successful test is one that uncovers an undiscovered error

5.2 Testing Principles:

All tests should be traceable to end user requirements Tests should be planned long before
testing begins

Testing should begin on a small scale and progress towards testing in large Exhaustive testing
is not possible

To be most effective testing should be conducted by an independent third party

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 41
The primary objective for test case design is to derive a set of tests that has the highest
livelihood for uncovering defects in software. To accomplish this objective two different
categories of testcase design techniques are used.They are:

White box testing.


Black box testing.

White-box testing:

Whiteboxtestingfocusesontheprogramcontrolstructure.Testcasesarederived to ensure that all


statements in the program have been executed at least once during testing and that all logical
conditions have been executed.

Block-box testing:

Black box testing is designed to validate functional requirements without regard to the
internal workings of a program. Black box testing mainly focuses on the information domain
of the software, deriving test cases by partitioning input and output in a manner that provides
through test coverage. Incorrect and missing functions, interface errors, errors in data
structures, error in functional logic are the errors falling in this category.

5.3 Testing strategies:

A strategy for software testing must accommodate low-level tests that are necessary to verify
that all small source code segment has been correctly implemented as well as high-level tests
that validate major system functions against customer requirements.

5.4 Testing fundamentals:

Testing is a process of executing program with the intent of finding error. A good testcase is
one that has high probability of finding an undiscovered error. If testing is conducted
succesfully it uncovers the errors in the software. Testing cannot show the absence of defects,
it can only show that software defects present.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 42
5.5 Testing Information flow:

Information flow for testing flows the pattern. Two class of input provided to test the process.
The software configuration includes a software requirements specification, a design
specification and source code.

Test configuration includes test plan and test cases and test tools. Tests are conducted and all
the results are evaluated. That is test results are compared with expected results. When
erroneous data are uncovered, an error is implied and debugging commences.

Unit testing:

Unit testing is essential for the verification of the code produced during the coding phase and
hence the goal is to test the internal logic of the modules. Using the detailed design
description as a guide, important paths are tested to uncover errors with in the boundary of the
modules. These tests were carried out during the programming stage itself. All units of
ViennaSQL were successfully tested.

Integration testing:

Integration testing focuses on unit tested modules and build the program structure that is
dictated by the design phase.

System testing:

System testing tests the integration of each module in the system. It also tests to find
discrepancies between the system and it is original objective, current specification and system
documentation. The primary concern is the compatibility of individual modules. Entire
system is working properly or not will be tested here, and specified path ODBC connection
will correct or not, and giving output or not are tested here these verifications and validations
are done by giving input values to the system and by comparing with expected output.
Top-down testing implementing here

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 43
Acceptance Testing:

This testing is done to verify the readiness of the system for the implementation. Acceptance
testing begins when the system is complete. Its purpose is to provide the end user with the
confidence that the system is ready for use. It involves planning and execution of functional
tests, performance tests and stress tests in order to demonstrate that the implemented system
satisfies its requirements.

Tools to special importance during acceptance testing include:

Test coverage Analyzer–records the control paths followed for each testcase.

Timing Analyzer – also called a profiler, reports the time spent in various regions of the code
areas to concentrate on to improve system performance.

Coding standards – static analyzers and standard checkers are used to inspect code for
deviations from standards and guidelines.

Test Cases:

Test cases are derived to ensure that all statements in the program have been executed at least
once during testing and that all logical conditions have been executed. Using White-Box
testing methods, the software engineer can drive test cases that

Guarantee that logical decisions on their true and false sides. Exercise all logical decisions on
their true and false sides.

Execute all loops at their boundaries and with-in their operational bounds. Exercise internal
data structure to assure their validity.

The test case specification for system testing has to be submitted for review before system
testing commences.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 44
Test Case Table:

S.NO. TEST CASES Expected Input Observed


Output
White Box Test cases are derived Test case inner

1 Testing to ensure all working is


statements in successfully
program have been completed.
executed at least
once.
Black Box Test the system Outputs without

2 Testing against external consideration.


factors responsible
for software failures.
Design of the Test Logic of the code is

3 Unit Testing Cases that validate. functioning


properly.
Integrated software Testing is event

4 Integration Testing components from driven and is more


unit testing. concerned.
Meeting all the Emphasizing the

5 System Testing requirements of the pre-driven process


user. links.
Identifying the The classes used in

6 Functional Testing classes used in the the system are


system. identified.
System acceptance The system is

7 Acceptance Testing by the user. accepted by the


user.

MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 45
6. CONCLUSION & FUTURE ENHANCEMENTS

The package was designed in such a way that future modifications can be done easily. The
following conclusions can be deduced from the development of the project.

• Automation of the entire system improves the efficiency


• It provides a friendly graphical user interface which
proves to be better when compared to the existing system.
• It gives appropriate access to the authorized users depending
on their permissions.
• It effectively overcomes the delay in communications.
• Updating of information becomes soeasier.
• System security, data security and reliability are the striking features.
• The System has adequate scope for modification in
future if it is necessary.

MINIPROJECTREPORT(2017-2021Batch) Dept.ofCSE,MLRITM 45
5
7. REFERENCES:

FOR SQL:
www.msdn.microsoft.com
FOR NET BEANS INSTALLATION:
Apache NetBeans Releases
FOR PGADMIN INSTALLATION:
Download (pgadmin.org)

The following books were referred during the


analysis and execution phase of the project

BOOKS REFERRED:

• AG98
Ken Arnold and James Gosling, The Java Programming Language,
second ed., Addison-Wesley, 1998.
• Chan98
Patrick Chan, The Java Developers Almanac, Addison-Wesley, 1998.
• Englander97
Robert Englander, Developing Java Beans, O'Reilly, 1997.
• GJS96
James Gosling and Bill Joy and Guy Steele, The Java Language
Specification, Addison-Wesley, 1996.

MINIPROJECTREPORT(2017-2021Batch) Dept.ofCSE,MLRITM 45
5

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy