Professional Documents
Culture Documents
A CASE STUDY
Submitted By:
De Guzman, Jeffer
Diego, John Paul P.
Napiza, Noel Karl
Velasquez John Gabriel
Larsen B. Dignos
Subject Instructor
Table of Contents
A. INTRODUCTION..............................................................................................................................................................................................3
A.1 Objective...........................................................................................................................................................................................................3
A.2 Scope and Limitations of the Study..................................................................................................................................................................4
B. BACKGROUND OF THE STUDY...................................................................................................................................................................5
B. 1 Context.............................................................................................................................................................................................................5
B. 2 Conceptual Framework....................................................................................................................................................................................5
C. TECHNICAL BACKGROUND........................................................................................................................................................................6
C.1 Software Development Requirements...............................................................................................................................................................6
C.2 Hardware Development Requirements..............................................................................................................................................................6
D. SYSTEM METHODOLOGY............................................................................................................................................................................7
D. 1 User Requirements...........................................................................................................................................................................................7
D. 2 User Characteristic...........................................................................................................................................................................................8
F. UML........................................................................................................................................................................................................................10
G. RESULTS AND DISCUSSIONS...........................................................................................................................................................................11
G.1 Discussion.......................................................................................................................................................................................................11
G.2 Results.............................................................................................................................................................................................................11
H. SOURCE CODE.....................................................................................................................................................................................................13
I. CONCLUSION........................................................................................................................................................................................................14
J. REFERENCE...........................................................................................................................................................................................................15
A. INTRODUCTION
[1] Boarding houses play a pivotal role in addressing the housing needs of students and young professionals seeking affordable living
arrangements. The intricate processes involved in efficiently managing these shared living spaces necessitate the implementation of a Boarding
House Management System (BHMS) to streamline operations.
This study delves into the contextual deployment of a BHMS, examining industry dynamics within the continuously growing real estate and housing
sector. With rising demand for affordable living spaces, boarding houses have become integral components catering to a diverse demographic.
Within this landscape, a BHMS emerges as a strategic tool, efficiently navigating the complexities associated with managing these properties.
[2] The focus is on a hypothetical organization overseeing a network of boarding houses, each presenting unique characteristics and challenges. The
management team shoulders diverse responsibilities, from tenant management to financial tracking and property maintenance. The BHMS is
purposefully designed to support critical business processes, including efficient tenant onboarding, automated rent tracking for financial
transparency, streamlined maintenance scheduling, robust financial management tools, and enhanced communication channels. Stakeholders, such as
boarding house owners, management teams, tenants, and maintenance staff, play integral roles in the successful implementation of the BHMS.
[3] However, challenges and limitations, including data security and privacy concerns, integration challenges with existing systems, and the need for
user adoption, underscore the complexity of introducing innovative systems in this dynamic sector.
This background study provides a solid foundation for understanding the context of implementing a Boarding House Management System,
highlighting industry trends, organizational dynamics, and the multifaceted aspects of the boarding house management process. The referenced
works contribute valuable insights and perspectives to support the forthcoming case study.
A.1 Objective
Clearly state the objectives of the database, including its purpose, functionality, and intended users. This could include a description of
the data that the database is intended to capture, how it will be used, and any specific requirements or constraints that need to be
considered.
The objective of the study is the assertion statement of the problem with the general objectives and specific objectives on the
desired outcome of the research process. The study aims to achieve the following general and specific objectives.
General Objective. The researchers intended to develop an automated application entitled Boarding House Management System.
To develop a system that will integrate a Boarding House Management System in terms of the following modules:
1.1 Admin
1.1.1 Log In
1.1.2 Add rooms
1.1.3 Add rates
1.1.4 Add user
1.2 User
1.2.1 Log In
1.2.2 Add boarder
1.2.3 View boarder
1.2.4 View Paid and unpaid
The conceptual framework for the Boarding House Management System involves a systematic development process. Input includes data from
literature and the internet, with specific software (Windows 10, MySQL, NetBeans, Eclipse, Google Collaboratory) and hardware (laptops,
PCs) requirements.
The process comprises planning, system analysis and design, development, refinement and testing, and implementation. Evaluation involves
functional testing and feedback. The output is the fully developed system, and the desired outcome is the achievement of specific objectives
for administrators (e.g., log in, manage users, add rooms) and tenants (e.g., log in, add boarders, view records). This framework ensures the
creation of a functional and user-friendly Boarding House Management System meeting the needs of both administrators and tenants.
B. BACKGROUND OF THE STUDY
B. 1 Context
Explain the context of the case study, including any relevant industry or organization information. This could include information about the
business processes that the database supports, the stakeholders involved, and any challenges or limitations that the database must overcome. At
least 3 reference
B. 2 Conceptual Framework
C. TECHNICAL BACKGROUND
Java
Xampp
Netbeans
D. 1 User Requirements
Insert description…………………..
D. 2 User Characteristic
The following are just examples of how you would create the user characteristics. Users here should be consistent as drawn in the use
case diagram. The primary user of the system is the cashier as the encoder hired by the proprietor. The administrator is the proprietor.
Neither of them is expected to be computer experts so user-friendly software shall be taken into consideration in the design. The ER
diagram and Functional Decomposition diagram will also be included in this chapter.
2. Add rooms
3. Add rates
4. Add user
2. Add boarder
3. View boarder
E. FUNCTIONAL REQUIREMENTS
Give a little description as to what to see in this chapter blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah.
Figure 1. Label
In this “number of this table” showcase a boarding house management. admin can add Rooms, rate, users but user can add boarder view boarder
and submit their payment.
G. RESULTS AND DISCUSSIONS
G.1 Discussion
The arrangement of whatever will be attached here – screenshots, result of survey, result of testing will depend on the objectives of the research.
If you have two objectives, follow that sequence in the presentation here. You can place a brief introductory paragraph before starting.
G.2 Results
Diagram #. Label
Include Description…………blablabla
Diagram #. Label
Include Description…………blablabla
Diagram #. Label
Include Description…………blablabla
Diagram #. Label
Include Description…………blablabla
Diagram #. Label
Include Description…………blablabla
Diagram #. Label
Include Description…………blablabla
Diagram #. Label
Include Description…………blablabla
Diagram #. Label
Include Description…………blablabla
Diagram #. Label
Include Description…………blablabla
Diagram #. Label
Include Description…………blablabla
H. SOURCE CODE
package boardinghousemanagement;
import java.awt.HeadlessException;
import java.awt.image.BufferedImage;
import java.io.File;
import java.sql.Connection;
import java.util.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import javax.imageio.ImageIO;
import javax.swing.JOptionPane;
import javax.swing.table.TableModel;
import net.proteanit.sql.DbUtils;
/**
* @author user
*/
String lastName, String brgy, String town, String prov, String mobile, String age,
String gender, String status, String type, String rateID, String pFirstName,
setRoomID(RoomID);
setBoarderID(boarderID);
setFirstName(firstName);
setMiddleName(middleName);
setLastName(lastName);
setFullName();
setBrgy(brgy);
setTown(town);
setProv(prov);
setAddress();
setAge(age);
setGender(gender);
setStatus(status);
setType(type);
setRateID(rateID);
setParentFirstName(pFirstName);
setParentMiddleName(pMiddleName);
setParentLastName(pLastName);
setParentFullName();
setPicPath(picPath);
String query = "SELECT BoarderID as \"Boarder ID\", FirstName as \"First Name\", MiddleName as \"Middle Name\", "
+ "LastName as \"Last Name\", Type as \"Boarder Type\" FROM Boarders ORDER BY BoarderID;";
try {
setConnection(Database.getConnection());
setPst(connection_.prepareStatement(query));
setRs(pst_.executeQuery());
setTableModel(DbUtils.resultSetToTableModel(rs_));
catch(Exception exception) {
public Boarder() {
try {
setConnection(Database.getConnection());
setPst(getConnection().prepareStatement(query));
setRs(getPst().executeQuery());
while(getRs().next()) {
setRoomID(getRs().getString("RoomID"));
setBoarderID(getRs().getString("BoarderID"));
setFirstName(getRs().getString("FirstName"));
setMiddleName(getRs().getString("MiddleName"));
setLastName(getRs().getString("LastName"));
setFullName();
setBrgy(getRs().getString("Brgy"));
setTown(getRs().getString("Town"));
setProv(getRs().getString("Province"));
setAddress();
setStatus(getRs().getString("Status"));
setAge(getRs().getString("Age"));
setGender(getRs().getString("Gender"));
setMobile(getRs().getString("MobileNo"));
setPicPath(getRs().getString("PicPath"));
catch(Exception exception) {
}
public static TableModel getActiveBoarders() {
+ "ORDER BY ActiveBoarders.RoomID;";
try {
setConnection(Database.getConnection());
setPst(connection_.prepareStatement(query));
setRs(pst_.executeQuery());
return DbUtils.resultSetToTableModel(rs_);
catch(Exception exception) {
return null;
String query = "INSERT INTO Boarders (BoarderID, FirstName, MiddleName, LastName, "
+ "VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);";
try {
setConnection(Database.getConnection());
setPst(getConnection().prepareStatement(query));
getPst().setInt(1, Integer.parseInt(getBoarderID()));
getPst().setString(2, getFirstName());
getPst().setString(3, getMiddleName());
getPst().setString(4, getLastName());
getPst().setString(5, getBrgy());
getPst().setString(6, getTown());
getPst().setString(7, getProv());
getPst().setInt(8, Integer.parseInt(getAge()));
getPst().setString(9, getGender());
getPst().setString(10, getStatus());
getPst().setString(11, getMobile());
getPst().setString(12, getParentFirstName());
getPst().setString(13, getParentMiddleName());
getPst().setString(14, getParentLastName());
getPst().setString(15, getType());
uploadPhoto();
getPst().setString(16, getPicPath());
getPst().executeUpdate();
pst_.close();
query = "INSERT INTO ActiveBoarders (BoarderID, RoomID, RateID, DateAdded) VALUES (?, ?, ?, ?);";
setPst(getConnection().prepareStatement(query));
getPst().setInt(1, Integer.parseInt(getBoarderID()));
getPst().setString(2, getRoomID());
getPst().setInt(3, Integer.parseInt(getRateID()));
getPst().executeUpdate();
pst_.close();
Rooms.updateNoOfBoarders(getRoomID());
String query = "DELETE ActiveBoarders.*, Boarders.* FROM ActiveBoarders INNER JOIN Boarders "
try {
deletePhoto(boarderID);
setConnection(Database.getConnection());
setPst(getConnection().prepareStatement(query));
getPst().execute();
File file;
try {
newImg = ImageIO.read(file);
catch(Exception exception) {
try {
setPicPath(out.toString());
try {
setConnection(Database.getConnection());
setPst(getConnection().prepareStatement(query));
setRs(getPst().executeQuery());
while(getRs().next()) {
if(file.delete()) {
}
else {
catch(Exception exception) {
return RoomID_;
RoomID_ = RoomID;
return BoarderID_;
BoarderID_ = BoarderID;
return firstName_;
firstName_ = firstName;
return middleName_;
middleName_ = middleName;
return lastName_;
}
lastName_ = lastName;
return fullName_;
return brgy_;
brgy_ = brgy;
return town_;
town_ = town;
return prov_;
prov_ = prov;
return address_;
return age_;
age_ = age;
gender_ = gender;
return mobile_;
mobile_ = mobile;
return parentFirstName_;
parentFirstName_ = parentFirstName;
return parentMiddleName_;
parentMiddleName_ = parentMiddleName;
return parentLastName_;
parentLastName_ = parentLastName;
return parentFullName_;
return status_;
status_ = status;
type_ = type;
return rateID_;
rateID_ = rateID;
return picPath_;
picPath_ = picPath;
return connection_;
connection_ = connection;
return pst_;
pst_ = pst;
return rs_;
rs_ = rs;
return tableModel_;
tableModel_ = tableModel;
}
I. CONCLUSION
Write the general statement that says you achieved the objective here. Then specifically, itemize the conclusion based on the stated objective
in Chapter 1 as follows. There is one is to one correspondence with respect to the objectives and conclusion.
Write another paragraph here for future directions. Take note that you may also consider adding the limitations that you identify in
Chapter 1 as part of your future works. Your recommendations also goes here.
J. REFERENCE
Use IEEE format.