Cy3464 - Open Source Software Laboratory
Cy3464 - Open Source Software Laboratory
LAB MANUAL
PREPARED BY
COURSE OBJECTIVES :
The student should be made to:
Learn the basics of OO analysis and design skills.
Be exposed to the UML design diagrams.
Learn to map design to code.
Be familiar with the various testing techniques
LIST OF EXPERIMENTS
AIM
PROBLEM STATEMENT
Passport Automation System is used in the effective dispatch of passport to all of the applicants.
This system adopts a comprehensive approach to minimize the manual work and schedule resources, time
in a cogent manner. The core of the system is to get the registration form filled by the applicant whose
testament is verified for its genuineness by the Passport Automation System with respect to the already
existing information in the database. The administrator will be provided with an option to display the current
status of application to the applicant, which they can view in their online interface. After all the necessary
criteria have been met, the original information is added to the database and the passport is sent to the
applicant.
1. INTRODUCTION
Passport Automation System is an interface between the Applicant and the Authority responsible
for the issue of passport. It aims at improving the efficiency in the issue of passport and reduces the
complexities involved in it to the maximum possible extent.
1.1. PURPOSE
The entire process of Issue of Passport is done in a manual manner then it would take
several months for the passport to reach the applicant. Considering the fact that the number of
applicants for passport is increasing every year, an automated system becomes essential to meet
the demand.
1.2. SCOPE
The system provides a communication platform between the applicant and the
administrator. This will help both the applicant and issuer by reducing the time and workload.
1.4.REFERENCES
www.passport.tn.nic.in
www.india.gov.in
2.0 OVERALLDESCRIPTION
2.1 PRODUCTPERSPECTIVE
The PAS acts as an interface between the applicant and the administrator. This system tries
to make the interface as simple as possible and at the same time not risking the security of data
stored in. This minimizes the time duration in which the user receives the passport.
2.2 PRODUCTFUNCTIONS
Front-End: The area of the interface in which the applicants will see their status.Back- End:
The area of the interface in which the administrator verifies the details of the applicant.
3. EXTERNAL INTERFACEREQUIREMENTS
3.1 HARDWAREINTERFACES
The system should have good hardware support. The processor should have high speed and
must be of high efficiency.
3.2 SOFTWAREINTERFACE
The system uses ODBC drive to connect and control the database.
4 SYSTEMFEATURES
4.1 APPLYING FORPASSPORT
4.1.1 DESCRIPTION ANDPRIORITY
This system allows the applicant to apply for the passport through the interface.
4.1.2 STIMULUS/RESPONSESEQUENCE
When the applicant submits all the required details, his status will be updated in
his/her account.
4.1.3 FUNCTIONALREQUIREMENTS
REQ 1: The applicant must have a registered account.
5 OTHER NONFUNCTIONALREQUIREMENTS
5.1 PERFORMANCEREQUIREMENTS
To increase performance and to free up database resources for other tasks, the default
features are written to cache files on their initial load, and consequent accesses to them result in
parsing a flat file for data.
5.2 SAFETY REQUIREMENTS
The database must be maintained effectively and the administrator must maintain
the interface properly. The user has to be careful while submitting the information.
5.3 SECURITY REQUIREMENTS
Passwords for registered accounts are stored as a hash in the database. Only the
administrator can have access to the main database. The database must be protected from
hacking the details of the applicants
PASSPORT AUTOMATION SYSTEM
1. Use Case Diagram :
2. Activity Diagram :
3. Class Diagram:
4. Interaction Diagram:
7. Deployment Diagram:
Result:
Thus the UML diagrams has been successfully completed for Passport automation system.
Ex.No: 2 EXAM REGISTRATION SYSTEM
DATE:
AIM
To develop a Exam registration system project using argouml tool.
PROBLEM STATEMENT:
Exam registration system is the process of enrolling for exams through online. Enrolling students
into the general associate course examination is a very difficult and important process. In case of degree
courses, the exam is held two times per annum and students are required to pass in the exam toget their
degrees. The main outcome is to computerize everything related to associate course/degree examination.
Student can enter their details in a form and information related to examination such as venue, date, time,
etc., are displayed in a web page. The registration number and other related information will be sent
through e-mail.
SOFTWARE REQUIREMENT SPECIFICATION
TABLE OF CONTENTS
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirements
1. INTRODUCTION:
Exam registration system is an interface between the applicant/student and the authority
responsible for issuing the hall ticket.
1.1. PURPOSE
If the exam registration is done in conventional method, it would require more time and
it would contain lots of error in it. So this system uses online registration system which
minimizes error in conventional system.
1.4. REFERENCE
http://en.wikipedia.org/wiki/examregistrationsystem.
2. OVERALL DESCRIPTION
2.1 PRODUCT PERSPECTIVE
The form acts as an interface between the student and administrator. It makes the
registration process simple as it involves the registration system.
3. EXTERNAL INTERFACES
3.1 HARDWARE INTERFACES
The system should have good hardware support. The processor should have high speed
and must be of high efficiency.
3.2 SOFTWARE INTERFACE
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES
4.1. FILING THE FORM
4.1.1. DESCRIPTION AND PRIORITY:
The system allows the user to fill the registration form.
1. Interaction Diagram:
Login:
Login sequence
Registration:
Payment:
7. Deployment Diagram:
Result:
Thus the UML diagrams has been successfully completed for Library management system.
Ex. No: 3 STOCK MAINTENANCE SYSTEM
DATE:
AIM
To develop a Stock Maintenance system project using argouml tool.
PROBLEM STATEMENT
In any organization the records about stock are maintained manually. Since these activities are done
manually and need regular updates to these records there is much probability of error occurrence, moreover
this work is a tedious work process. The various activities involved in these types of systems are adding
stock, deleting stock, updating stock, and searching stock. The system access is given to the accountant,
stock manager.
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirements
1. INTRODUCTION:
In order to overcome the major flaws of the manual record maintenance, the shift towards computerization
of the process is mandatory. The primary objective of this project is to implement the software which is
capable of maintenance of the records with simplicity and in well structured manner. The main aim is to overcome
the work load and time consumption which makes the maintenance of in an organization as a tedious process.
1.1 PURPOSE:
The main purpose of this project is to maintain the stock list details, company’s address and
inform the stock manager when the action is required to be done. The project avoids excess ordering
of the stock and helps to order necessary stock when the stock goes beneath the minimum level specified.
When the particular product reaches minimum level then it brings a notice to the stock manager.
1.2 Product scope:
The scope of the product is to maintain stock in a stationary stock company to calculate the available
quantity of a particular product present in the stock. It’s easy to add to the stock list, when there is an
arrival of a new product to the super market. When a particular product reaches a minimum level then
automatically it types letter with the required quantity of product to the product company.
1.3. DOCUMENT CONVENTIONS
Administrator-who supervises the system and maintains the database.
Customer-who purchases the product.
1.4. REFERENCES
www.scribd.com/doc/23362865/srs-of-stock-maintenance
2. OVERALL DESCRIPTION
3. EXTERNAL INTERFACE
3.1 HARDWARE INTERFACES
The stock details entered through keyboard
4. SYSTEM FEATURES
stock transaction
<<include>>
search item
add item item found
<<include>>
cashier indent
approval
supply items
maintenance
officer
payment mode
supplier
cash cheque
2. Activity Diagram :
TRANSACTION PAYMENT AND RE CEIP T DE TAILS
stock
maintenance
receive requests
add items mode of from customer
delete items update item payment
search item
enter details
item deleted YES NO
items
updated distributing
cash cheque items
4. Sequence Diagram :
Add items:
Stock System Database
Manager
1: Request to add
2: Request accepted
6: Return status
7: Provide details
8: Add item
9: Add to database
12: Terminate
Delete Items
2: Request accepted
6: Return status
7: Provide details
8: Delete item
9: Delete from database
Update Items
Stock Database
12: Term inate
Manager
1: Request to update System
2: Request accepted
6: Return status
7: Provide details
8: Update item
9: Update database
12: Terminate
Search Items
Stock System Database
Manager
1: Request to search
2: Request accepted
6: Return status
7: Provide details
8: Terminate
Payment
Collaboration Diagram :
Add Items
5: Checks database
1: Request to add
3: Enter details
8: Add item 4: Check for product id
12: Terminate 9: Add to database
Stock System Database
Manager
Delete Items
5: Checks database
1: Request to delete
3: Enter details
8: Delete item 4: Check for product id
12: Terminate 9: Delete from database
Update Items
5: Checks database
1: Request to update
3: Enter details
8: Update item 4: Check for product id
12: Terminate 9: Update database
Stock System Databas
Manager e
2: Request accepted 6: Return status
7: Provide details 10: Item updated
11: Update Succesful
Search Items
5: Checks database
1: Request to search
3: Enter product id to be searched
8: Terminate 4: Search for product id
Stock System Databas
Manager e
Payment
ADD ITEMS
Get
product Id
Invalid Id
Display error
message
DELETE ITEMS
get product
id
invalid id
SEARCH ITEMS
get product
id1
invalid id
display
error
UPDATE ITEMS
get product
id2
invalid id
display
error_message
PAYMENT
order
on request supply
receipt
6. Component diagram
COMPONENT DIAGRAM
database stock
transaction
Stock Manager
Database
Result:
Thus the UML diagrams has been successfully completed for Stock maintenance system.
Ex.No: 4 ONLINE COURSE RESERVATION SYSTEM DATE:
AIM
To develop a online course reservation system project using argouml tool .
PROBLEM STATEMENT:
Gives the description about the course and the colleges. The system gives the overall status of the course
available in all the college and also it helps to check the availability of the course in a particular college. If the
user wants to register the course, an account is required. Depending on the availability of the course, the user
can reserve their required course. For reservation, the user details like name, percentage, mail id, phone number,
address are needed. And also the system checks for the eligibility which depends on the percentage obtained
by the student. It follows some criteria. If the criteria is not satisfied, the reservation is not possible and its
displays them as a non-eligible candidate. After reserving the course register number is displayed to confirm
the details of the student.
Table of contents
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirement
1. INTRODUCTION:
Student admissions are a vital part of any university’s running because students are what keep a
University alive. The student admission is one of the most important activities within a university as one
cannot survive without students. A poor admissions system can mean fewer students being admitted into a
university because of mistakes or an overly slow response time.
The process begins with a potential student completing an application form through the Universities
and Colleges Admissions Service, the first step for students is to apply directly to the university through a
custom online form.
The next step is for the Admissions service center has to review the application and ensure that all of
the required information has been provided, from the form itself to the supplementary documentation, such as
language and degree certificates. If any of the required information is missing, it is the secretary for the
department to which the application concerns that contacts the potential student and arranges for the delivery
of the outstanding data
The application in its entirety is then forwarded, complete with a recommendation, to the respective
department’s Admissions Tutor, who has the final say as to whether each potential student is accepted or
rejected. Before making a decision, the Admissions Tutor reviews the application and the additional
documentation, comparing the academic credentials to a list of university rankings and previous, similar
applications.
1.1. PURPOSE:
The purpose of this SRS document is to specify software requirements of the Online Admission for the
university. It is intended to be a complete specification of what functionality the admission provides. The main
purpose of the system is to automate the task carried out by different peoples in the organization to perform the
student admission. Specific design and implementation details will be specified in a future document.
1.2. SCOPE:
This project’s aim is to automate the system, pre-checking the inclusion of all required material and
automatically ranking each student’s application based on a number of criteria. These criteria include the
ranking of their university, their grade at said university and their language grade certificate. The data used by
the system is stored in a database that will be the centre of all information held about students and the base for
the remainder of the process after the initial application has been made. This enables things to be simplified
and considerably quickened making the jobs of the people involved easier. It supports the current process but
centralizes it and makes it possible for decisions to be made earlier and easier way.
1.3. DOCUMENT CONVENTIONS:
Student – The person who books the ticket.
1.4. REFERENCES:
www.annauniv.edu
2. OVERALL DESCRIPTION:
3. EXTERNAL INTERFACES:
3.1 HARDWARE INTERFACES:
The system should have good hardware support. The processor should have high speed and must be of
high efficiency.
3.2 SOFTWARE INTERFACES:
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES:
4.1. COURSE RESERVATION:
4.1.1.1 DESCRIPTION AND PRIORITY:
Allow the student to select or block the seats..
4.1.1.2 STIMULUS / RESPONSE SEQUENCE:
The seat is blocked as per the student’s requirement.
Database
<<new user>>
LOGIN
<<existing user>>
OCR
REGISTRATION <<include>>
VERIFICATION VALIDATION
CANDIDATE
ADMINISTRATOR
MODIFICATION
CANCELLATION
COURSE SELECTION
COUNSELLING
ALLOCATION
COLLEGE SELECTION
<<include>>
PAYMENT NETBANKING
<<include>>
CREDIT/DEBIT CARD
2. Activity Diagram :
3. Class Diagram :
4. INTERACTION DIAGRAM:
(i)SEQUENCE DIAGRAM :
COUNSELLING:
applicant admin database
1.enter the user details
2.verifying the details
3.processing
4.succesful counselling
LOGIN:
MODIFICATION:
4.succesful registration
8.succesful modification
PAYMENT:
3.retrieve details
REGISTRATION:
4.succesful registration
(ii)COLLABORATION DIAGRAM :
COUNSELLING:
1: 1.enter the user details 2: 2.verifying the details
applicant admin database
LOGIN:
1: 1.Enter the details 2: 2.verifying database
5: 5.choose the operation 6: 6.verifying database
4: 4.login 3: 3.processing
8: 8.verification succesful 7: 7.process request
MODIFICATION:
PAYMENT:
2: 2.verify database
database
4: 4.pay amount
3: 3.retrieve details
REGISTRATION:
2: 2.verify database
database
4: 4.pay amount
3: 3.retrieve details
5. STATE CHART DIAGRAM:
COUNSELLING:
counsel
seat allocated
Reserved
LOGIN:
enter the vaild details login
details succesfull
invalid details
database
invalid change
PAYMENT:
DD
cash
REGISTRATION:
Enter Login
Details Succesful
Database
7. DEPLOYMENT DIAGRAM:
Result:
Thus the UML diagrams has been successfully completed for Online Course Reservation system.
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirement
1. INTRODUCTION
The software personal management is a system to maintain the records about each employee in a firm. This helps
in easy storage and retrieval of detail whenever it is necessary.
1.1. PURPOSE
The personal management system is a human resource management system. The system was developed to track
employee’s attendance and personal management. Employees can be tracks for previous employment history, skill,
training, education.
1.2. SCOPE
This system tracks the employee attention and personal history. It also helps human resource department to
develop and maintain an integrated organisation.
1.3. DOCUMENT CONVENTION
Managers – The person who maintains the employee detail record
Employee- The person who works in a firm and whose detail are to be kept track.
1.4. REFERENCES:
www.scribe.com/software personal maintenance system.
2. OVERALL DESCRIPTION
2.1. PRODUCT PERSPECTIVE:
This project is a self contained project designed for effective maintanence of an organization.
2.2. PRODUCT FUNCTIONS:
There are two main contents,
i) Front end – Java net beans, This is the area that all the employee can see
ii) Back end – Database, This area is designed and maintained by the HR.
2.3. OPERATING ENVIRONMENT:
Visual Basic 6.0 and Microsoft Access 2003.
3. EXTERNAL INTERFACE
3.1. HARDWARE INTERFACE
The system requires extensive database to connect with the hardware computer.
3.2. SOFTWARE INTERFACE
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES
4.1. EMPLOYEE TRACKING
4.1.1. SYSTEM DESCRIPTION AND PRIORITY
The system allows to track the details and history of a employee.
4.1.2. STIMULUS/RESPONSE SEQUENCE
The tracking is done in order to inverse the performance of organization.
4.1.3. FUNCTIONAL REQUIREMENT:
Req1: The employee id and name must be entered.
Req2: The system must be updated.
5. OTHER NON FUNCTIONAL REQUIREMENT:
5.1. PERFORMANCE MANAGEMENT:
The detail of employee must be uploaded to increase the performance of the organization.
5.2. SECURITY REQUIREMENT:
The detail of the employee must be recorded recursively and only the human resource manager must
have the authority to access them.
5.3. SAFETY REQUIREMENT:
The database must be maintained efficiently without crushing or hacking.
1. Use case Diagram:
Employee Payroll
2. Class diagram:
Software personal
management system
Training
Login
Emp Details Emp Performance Payroll
Login Training Performa payroll
Emp_Details nce
Enter
Password Enter Document
Initial Learning
Emp_ID for payment
Program
Personal
details
Validation View Salary
Progress Details
Professional Emp_Work Emp_RE
Details ing Hours marks
Access No
denied
Evaluating Mode of
Yes Project payment
details
Login
Successful Non-Eligible
Employee Due
Rejected Date
Eligible
Access to
Employee account
Employee
Designated
3. Activity diagram:
4. Interaction Diagram:
(i)Sequential Diagram:
Emp_Details:
Employee Admin Database
1: search emp
2: checking 3: checking database
4: processing
5: display emp list
8: processing
9: display emp details
Emp login:
Employee Administrator Database
1: enter emp id,psword
2: checking 3: checking database
4: validating
5: login successful
6: access details
7: checking
8: checking database
9: updating
10: details accesed
Payroll:
4: processing
5: display salary
8: processing
9: display document of pay
Emp_Performance:
1: enter emp id
2: checking 3: checking database
6: processing
7: display performance
Training:
6: skill updation
7: Alowing to update
8: processing
9: display details
(ii)Collabaration Diagram:
Login:
3: checking database
8: checking database
Details:
3: checking database
Training:
3: checking database
Performance:
5: ILP 4: processing
progress 8: processing
9: display
details
3: checking database
5: updating
2: checking
1: enter emp id 4: entering remarks & working hours
Employe Admin Databas
e e
Payroll:
3: checking database
5. StateChart Diagram:
Login:
login
Details:
Enter emp_id, validation login
pwrd successful
invalid
invalid
login
Details
invalid
invalid
Training:
training
invalid
invalids
Performance:
performa
nces
invalid
emp_id
Payroll:
Payroll
validation displayin
Enter
document of pay
emp_id
invalid
invalid id
6. Component diagram:
employe performe
data base
7. Deployment diagram:
Result:
Thus the UML diagrams has been successfully completed for Software Personnel Management System.
EX.NO : 6 RECRUITMENT SYSTEM
DATE:
AIM:
To develop recruitment system project using argouml tool.
PROBLEM STATEMENT
The recruitment system allows the job seekers to enroll their names through the process of registration. The
employee also can get the list of available candidates and shortlist for their company requirement. Once the applicant
enrolls he receives an id, which helps him in further correspondence. A fees amount is received from the job seekers for
enrollment. This system makes the task of the job seeker easier rather than waiting in queue for enrollment. This also
reduces the time consumption for both for the job seeker and employee.
SOFTWARE REQUIREMENT SPECIFICATION
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for job
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirements
1. INTRODUCTION:
This project aimed at developing a web-based recruitment system by creating details about vacancies,
storing application data and interview process initiation.
1.1 PURPOSE:
Manual recruitment is a tedious processing to the increasing number of job seekers. People
around the world can apply for the online recruitment system and it is very convenient too. This system
is specially designed for those seek the most demanding job and challenging positions in their own
field.
1.2. SCOPE:
Recruitment system allows the job seekers to find their dream job in the chosen field. This
system helps the companies to recruit the right candidate for the job. This system serves as a common
meeting ground for job seekers and employees, both locally and globally.
3. EXTERNAL INTERFACES:
3.1 HARDWARE INTERFACES:
The system should have good hardware support. The processor should have high speed and must be of
high efficiency.
3.2 SOFTWARE INTERFACE:
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES:
4.1 APPLYING FOR JOB:
4.1.1 SYSTEM DESCRIPTION AND PRIORITY:
This feature allows the job seeker to apply for job.
4.1.2 STIMULUS AND RESPONSE SEQUENCE:
When the job seeker uploads his resume, the list of jobs matching the resume will be
posted.
4.1.3 FUNCTIONAL REQUIREMENTS:
REQ1: Only registered users can apply for the job.
REQ2: The Company has the right to recruit the candidates, not the system.
5 OTHER NON-FUNCTIONAL REQUIREMENTS:
5.1 PERFORMANCE MANAGEMENT:
To increase the performance and free up database resources, the default features are written to
cache files on their initial load.
5.2 SAFETY REQUIREMENTS:
The database must be maintained effective from hacking.
5.3 SECURITY REQUIREMENTS:
Password for registered accounts are stored securely in a hash, the uploads made by the user
must be checked and then accepted.
RECRUITMENT SYSTEM
1. USECASE DIAGRAM:
account created
personal details
qualification
enrollment
employee
authentication<<include>>
user name
validate password
password
view job
view salary
job database
administrator
view vaccancies
acknowledgement
2. ACTIVITY DIAGRAM:
RECRUITMENT
SYSTEM
RECRUITMEN
ACCOUNT T STATUS
CREATION
AUTHENTI
CATION
VIEW VIEW
JOB SALARY
PERSONAL VIEW
QUALIFI USERID PASSW
DETAILS CATION VA CANC IES
ORD
INVALID
RE GISTRATION REENTER
PASSWORD
VALID LOGIN
REGISTRATION SUCCESSFUL
REGISTRATION
SUCCESSFUL
ENROLL
MENT
3. CLASS DIAGRAM:
4. INTERACTION DIAGRAM:
(i)SEQUENCE DIAGRAM:
ACCOUNT CREATION:
AUTHENTICATION:
job seeker administrator database
RECRUITMENT STATUS:
(ii)COLLABORATION DIAGRAM:
ACCOUNT CREATION:
2: processing
5: checking
AUTHENTICATION:
3: checking
RECRUITMENT STATUS:
3: checking
8: processing
ACCOUNT CREATION:
AUTHENTICATION:
recruitme
nt status
invalid
reenter
paasword
RECRUITMENT STATUS:
recruitme
nt status
invalid
reenter
paasword
COMPONENT DIAGRAM:
ENROLL
MENT
RECRUITMENT
SYSTEM
6. DEPLOYMENT DIAGRAM:
Result:
Thus the UML diagrams has been successfully completed for Recruitment system.
Ex.No: 7 CONFERENCE MANAGEMENT SYSTEM
DATE:
AIM
To develop a Conference Management System project using argouml tool.
PROBLEM STATEMENT
Conference management system is used to register for a conference by filling all the details. It maintains the active
database about information by conference in an efficient way in exercising the system there are problems such as time
consumption, lot of paper work and space consumption. So to overcome these problems we move onto conference
management .it can be viewed and analyzed in a quick and easy way. It shares time and maintenance cost, it provides
online submission of paper in a simple way for participants
SOFTWARE REQUIREMENT SPECIFICATION
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
The system provides a communication platform between the user and the reviewer. This will help both the
user and reviewer by reducing the time and workload. It is a web based system that supports the entire information
about conference in an efficient way.
Reviewer-Refers to the user who is the Central Authority who has been vested with the privilege to manage the
entire system and select the papers.
• Applicant - One who wishes to submit the paper for the conference
www.papers.in,www.india.in
4 SYSTEM FEATURES
4.1 APPLYING FOR CONFERENCE
2. ACTIVITY DIAGRAM
3. CLASS DIAGRAM
4. INTERACTION DIAGRAM:
(i) Sequence Diagram
reviewer paper
database
2: login
8: registration successful
9: give rating
10: login
11: review successful
1: sign up
6: enter user name,password,address,ph_no,e-mail id
8: registration successful
10: login
14: enter user_name,password
15: successful login
16: submit paper
18: check if paper is selected
user user
database
3: ask for details
12: ask details
17: submission successful
2: login
5: enter user name,password
7: review submitted papers
9: give rating
13: update database
reviewer paper
database
4: ask details
11: review successful
5. STATECHART DIAGRAM
REVIEW PAPER
CONFIRM PAPER
6. COMPONENT DIAGRAM
7. DEPLOYMENT DIAGRAM
Result:
Thus the UML diagrams has been successfully completed for Conference management system.
EX.NO:8 BPO MANAGEMENT SYSTEM
DATE:
AIM:
To development bpo management system project using argouml tool.
PROBLEM STATEMENT
Business Process Outsourcing (BPO) Management System is International Management of our
business. The customer needs to register them in the system. Each customer has his own username and
password. This helps the customer to login in the system, get product information they need, register their
complaints about product or management etc. The system works and their process are similar to all call centers.
Managing foreign (International) companies and responding their needs and complaints are main process
involved in BPO system.
SOFTWARE REQUIREMENT SPECIFICATION
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for job
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirements
1. INTRODUCTION
BPO Management Services (BPOMS) offers strategic new business product for the BPO marketplace.
BPO management service is both a BPO direct services and provides an expert BPO project manager.
1.1. PURPOSE
BPOMS provide a broad portfolio of business and technology solution to help its client world-
wide improve their business performance.
1.2. SCOPE
It provides a good improvement in business performance. It improves the existing business
technology and improves direct services.
1.3 DOCUMENT CONVENTIONS
BPO – Business Process Outsourcing
ITO – IT Outsourcing specifies in mainframe, issues, mid-range and Inter service manage
services as well as remote desktop and network services.
1.4 REFERENCE
http://www.bporms.com
2. OVERALL DESCRIPTION
2.1. PRODUCT PERSPECTIVE
BPOMS highly experienced experts have skills to design, implements and support the right
solution for each customer need.
2.2. PRODUCT FUNCTIONS
Our use of quality delivery method and ISO certified process enables us to deliver service and
computer engagement is highly efficient.
2.3 TOOLS TO BE USED
Visual basic and Microsoft Access
3. EXTERNAL INTERFACES
3.1 HARDWARE INTERFACES
The system should have good hardware support. The processor should have high speed and must be of
high efficiency.
<<include>> <<extend>> DB
company name
company admin company detail
company address
product name
business function BPO Manager
<<include>>
product quality
total employee
<<include>>
allocate employee
<<include>>
2. Class diagram
3. Activity diagram
BPO management
system
agree then
sign
create company details is failure
account stored in database detail
no not satisfied try for
another employee
product details and failure yes
complaint is stored
sign
agreement
enter username
and password
no
yes
invalid
retry registration
successfull
4. INTERACTION DIAGRAM:
(i) Sequence diagram
Registration
DATABASE
3:processing
4:validation
5:sucessfull registration
Product details
Agreement
company BPO outsourcing employee
admin MANAGER company
agree to solve
payment details
verfying payment
agree to pay
request for agreement
DATABAS
Product detail
4: processing
1: product detail
customer
Agreement
5. State Chart Diagram
MANAGER
6. Component diagram
BPO MANAGEMENT
SYSTEM
DataBase
7. Deployment diagram
Result:
Thus the UML diagrams has been successfully completed for BPO management system.
EX.NO:9 LIBRARY MANAGEMENT SYSTEM
DATE:
AIM:
To development library management system project using argouml tool.
PROBLEM STATEMENT:
The library management system is a software system that issues books and magazines to registered
students only. The student has to login after getting registered to the system. The borrower of the book can
perform various functions such as searching for desired book, get the issued book and return the book
SOFTWARE REQUIREMENT SPECIFICATION
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for job
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirements
LIBRARY MANAGEMENT SYSTEM
1. USE CASE DIAGRAM
2. Class Diagram
3. Activity diagram – Librarian Vs Library Management System
(i)Sequence Diagram
6. Component diagram
7. Deployment Diagram
Result:
Thus the UML diagrams has been successfully completed for Library management system.
Mini-Projects
packagepassport;
import
java.util.logging.Level;impo
rt
java.util.logging.Logger;imp
ortjava.sql.*;
/**
*
*@authorSRMVEC
*/
publicclassLoginextendsjavax.swing.JFrame {
/**
*CreatesnewformLogin
*/
public Login()
{initComponent
s();
}
/**
* Thismethodis calledfromwithintheconstructortoinitialize theform.
* WARNING:DoNOTmodifythis code. The content ofthismethodisalways
* regeneratedbytheFormEditor.
*/@SuppressWarnings("unchec
ked")
// <editor-fold defaultstate="collapsed" desc="Generated
Code">privatevoidinitComponents(){
jPanel1=newjavax.swing.JPanel();
jLabel1 = new
javax.swing.JLabel();jButton1 = new
javax.swing.JButton();jButton2 = new
javax.swing.JButton();jLabel2 = new
javax.swing.JLabel();jLabel3 = new
javax.swing.JLabel();username=newja
vax.swing.JTextField();
password = new
javax.swing.JPasswordField();err=newjava
x.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jButton1.setText("Login");
jButton1.addActionListener(new
java.awt.event.ActionListener()
{publicvoidactionPerformed(java.awt.event.ActionEvente
vt){
jButton1ActionPerformed(evt);
}
});
jButton2.setText("Register");
jButton2.addActionListener(new
java.awt.event.ActionListener()
{publicvoidactionPerformed(java.awt.event.ActionEvente
vt){
jButton2ActionPerformed(evt);
}
});
jLabel2.setText("Password");
jLabel3.setText("Username");
username.addActionListener(new
java.awt.event.ActionListener()
{publicvoidactionPerformed(java.awt.event.ActionEventevt
){
usernameActionPerformed(ev
t);
}
});
password.setToolTipText("");
javax.swing.GroupLayoutjPanel1Layout=newjavax.swing.GroupLayout(jPanel1);jPanel1.
setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(jPanel1Layout.createParallelGroup(javax.swing.Group
Layout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILI
NG)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(158,158,158)
.addComponent(jButton2,
javax.swing.GroupLayout.PREFERRED_SIZE,
88,javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(88,88,88)
.addComponent(jButton1,
javax.swing.GroupLayout.PREFERRED_SIZE,
98,javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0,71,Short.MAX_VALUE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VAL
UE)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADIN
G)
.addComponent(jLabel1,
javax.swing.GroupLayout.PREFERRED_SIZE,
335,javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADIN
G)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE,
55,javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel2,
javax.swing.GroupLayout.PREFERRED_SIZE,
55,javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(41,41,41)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADIN
G,false)
.addComponent(username,javax.swing.GroupLayout.DEFAULT_SIZE,111
,
Short.MAX_VALUE)
.addComponent(password))))))
.addGap(101,101,101))
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(192,192,192)
.addComponent(err, javax.swing.GroupLayout.PREFERRED_SIZE,
175,javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VALUE)
)
);
jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLa
yout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(54,54,54)
.addComponent(jLabel1,
javax.swing.GroupLayout.PREFERRED_SIZE,
33,javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(52,52,52)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE,
22,javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(username,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
41,Short.MAX_VALUE)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE,
23,javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(password,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(14,14,14)
.addComponent(err)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE,
34,javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE,
37,javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(94,94,94))
);
javax.swing.GroupLayoutlayout=newjavax.swing.GroupLayout(getContentPane());getCo
ntentPane().setLayout(layout);
layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel1,
javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Sho
rt.MAX_VALUE)
.addContainerGap())
);
layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.
LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,layout.createSequentialGro
up()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VALUE)
.addComponent(jPanel1,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())
);
pack();
}//</editor-fold>
}}
err.setText("invalid username or
password!");con.close();
}
catch (Exception e)
{e.printStackTrac
e();
}
}
privatevoidusernameActionPerformed(java.awt.event.ActionEventevt){
//TODOaddyourhandlingcode here:
}
/**
* @param argsthecommandline arguments
*/
publicstaticvoidmain(Stringargs[]){
/*Setthe Nimbus lookandfeel*/
//<editor-folddefaultstate="collapsed"desc="Lookandfeelsettingcode(optional)">
/*IfNimbus(introducedinJavaSE6)isnotavailable,staywiththedefaultlook andfeel.
*Fordetailsseehttp://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/t
ry{
for (javax.swing.UIManager.LookAndFeelInfo
info
:javax.swing.UIManager.getInstalledLookAndFeels(
)){
if ("Nimbus".equals(info.getName()))
{javax.swing.UIManager.setLookAndFeel(info.getClassNa
me()); break;
}
}
} catch (ClassNotFoundException ex)
{java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.
SEVERE,
null,ex);
} catch (InstantiationException ex)
{java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.
SEVERE,
null,ex);
} catch (IllegalAccessException ex)
{java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.
SEVERE,
null,ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex)
{java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.
SEVERE,
null,ex);
}
//</editor-fold>
/*Createanddisplaytheform*/
java.awt.EventQueue.invokeLater(new
Runnable() {publicvoidrun() {
newLogin().setVisible(true);
}
});
}
// Variables declaration - do not
modifyprivatejavax.swing.JLabelerr;
private javax.swing.JButton
jButton1;private
javax.swing.JButton
jButton2;private
javax.swing.JLabel
jLabel1;private
javax.swing.JLabel
jLabel2;private
javax.swing.JLabel
jLabel3;privatejavax.swing.JPanel
jPanel1;
private javax.swing.JPasswordField
password;privatejavax.swing.JTextFieldus
ername;
// End of variables
declarationprivatejavax.swi
ng.JPanels;
}
packagepassport;
/**
*
*@authorSRMVEC
*/
publicclassdummyextendsjavax.swing.JFrame{
/**
*Createsnewform dummy
*/
public dummy()
{initComponent
s();
}
/**
* Thismethodis calledfromwithintheconstructortoinitialize theform.
* WARNING:DoNOTmodifythiscode. The content ofthismethodisalways
* regeneratedbytheFormEditor.
*/@SuppressWarnings("unchec
ked")
// <editor-fold defaultstate="collapsed" desc="Generated
Code">privatevoidinitComponents(){
jLabel1 = new
javax.swing.JLabel();jLabel2 =
new javax.swing.JLabel();jButton1
= new
javax.swing.JButton();jButton2 =
new
javax.swing.JButton();name=newj
avax.swing.JTextField();
password=newjavax.swing.JPasswordField();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel1.setText("name");
jLabel2.setText("pass");
jButton1.setText("jButton1");
jButton1.addActionListener(new
java.awt.event.ActionListener()
{publicvoidactionPerformed(java.awt.event.ActionEvente
vt){
jButton1ActionPerformed(evt);
}
});
jButton2.setText("jButton2");
password.addActionListener(new
java.awt.event.ActionListener()
{publicvoidactionPerformed(java.awt.event.ActionEventevt
){
passwordActionPerformed(evt);
}
});
javax.swing.GroupLayoutlayout=newjavax.swing.GroupLayout(getContentPane());getCo
ntentPane().setLayout(layout);
layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.LEADING)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADIN
G)
.addGroup(layout.createSequentialGroup()
.addGap(165,165,165)
.addComponent(jButton1)
.addGap(110,110,110)
.addComponent(jButton2))
.addGroup(layout.createSequentialGroup()
.addGap(120,120,120)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRA
ILING)
.addComponent(jLabel1)
false)
.addComponent(jLabel2))
.addGap(157,157,157)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEA DING,
.addComponent(name)
.addComponent(password,
javax.swing.GroupLayout.DEFAULT_SIZE, 135,Short.MAX_VALUE))))
.addContainerGap(123,Short.MAX_VALUE))
);
layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.
LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(68,68,68)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE).addComponent(jLabel1)
.addComponent(name,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(23,23,23)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jLabel2)
.addComponent(password,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
131,Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jButton1)
.addComponent(jButton2))
.addGap(107,107,107))
);
pack();
}//</editor-fold>
privatevoidpasswordActionPerformed(java.awt.event.ActionEventevt){
//TODOaddyourhandlingcode here:
}
privatevoidjButton1ActionPerformed(java.awt.event.ActionEventevt){
//TODOaddyourhandlingcode here:
}
/**
* @param argsthecommandline arguments
*/
publicstaticvoidmain(Stringargs[]){
/*Setthe Nimbus lookandfeel*/
//<editor-folddefaultstate="collapsed"desc="Lookandfeelsettingcode(optional)">
/*IfNimbus(introducedinJavaSE6)isnotavailable,staywiththedefaultlook andfeel.
*Fordetailsseehttp://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/t
ry{
for (javax.swing.UIManager.LookAndFeelInfo
info
:javax.swing.UIManager.getInstalledLookAndFeels(
)){
if ("Nimbus".equals(info.getName()))
{javax.swing.UIManager.setLookAndFeel(info.getClassNa
me()); break;
}
}
} catch (ClassNotFoundException ex)
{java.util.logging.Logger.getLogger(dummy.class.getName()).log(java.util.logging.Leve
l.SEVERE,
null,ex);
} catch (InstantiationException ex)
{java.util.logging.Logger.getLogger(dummy.class.getName()).log(java.util.logging.Leve
l.SEVERE,
null,ex);
} catch (IllegalAccessException ex)
{java.util.logging.Logger.getLogger(dummy.class.getName()).log(java.util.logging.Leve
l.SEVERE,
null,ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex)
{java.util.logging.Logger.getLogger(dummy.class.getName()).log(java.util.logging.Leve
l.SEVERE,
null,ex);
}
//</editor-fold>
import
java.sql.Connection;import
java.sql.DriverManager;imp
ort
java.sql.ResultSet;importjav
a.sql.Statement;
/**
*
*@authorSRMVEC
*/
publicclassNewJFrameextendsjavax.swing.JFrame{
/**
*Createsnewform NewJFrame
*/
public
NewJFrame()
{initComponents
();
}
/**
* Thismethodis calledfromwithintheconstructortoinitialize theform.
* WARNING:DoNOTmodifythiscode. The content ofthismethodisalways
* regeneratedbytheFormEditor.
*/@SuppressWarnings("unchec
ked")
// <editor-fold defaultstate="collapsed" desc="Generated
Code">privatevoidinitComponents(){
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
lname.setText("name");
jLabel3.setText("gender");
jLabel1.setText("age");
jLabel4.setText("address");
jLabel5.setText("Username");
jLabel6.setText("password");
jButton1.setText("submit");
jButton1.addActionListener(new
java.awt.event.ActionListener()
{publicvoidactionPerformed(java.awt.event.ActionEvente
vt) {
jButton1ActionPerformed(evt);
}
});
javax.swing.GroupLayoutlayout=newjavax.swing.GroupLayout(getContentPane());getCo
ntentPane().setLayout(layout);
layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(48,48,48)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADIN
G)
.addComponent(jLabel2)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEA
DING)
.addGroup(layout.createSequentialGroup()
.addGap(11,11,11)
.addComponent(lname,
javax.swing.GroupLayout.PREFERRED_SIZE,
47,javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addGap(10,10,10)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel1)
.addComponent(jLabel3)
.addComponent(jLabel4)
false)
.addComponent(jLabel5)
.addComponent(jLabel6)
.addComponent(jButton1))))
.addGap(18,18,18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEA DING,
.addComponent(name)
.addComponent(gender)
.addComponent(age)
.addComponent(address)
.addComponent(username)
.addComponent(password,
javax.swing.GroupLayout.DEFAULT_SIZE, 93,Short.MAX_VALUE))))
.addContainerGap(350,Short.MAX_VALUE))
);
layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.
LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(65,65,65)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(lname)
.addComponent(name,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18,18,18)
.addComponent(jLabel2)
.addGap(6,6,6)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jLabel3)
.addComponent(gender,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(23,23,23)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jLabel1)
.addComponent(age,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(27,27,27)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jLabel4)
.addComponent(address,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(29,29,29)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jLabel5)
.addComponent(username,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(32,32,32)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jLabel6)
.addComponent(password,
javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,ja
vax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18,18,18)
.addComponent(jButton1)
.addContainerGap(16,Short.MAX_VALUE))
);
pack();
}//</editor-fold>
/**
* @param argsthecommandline arguments
*/
publicstaticvoidmain(Stringargs[]){
/*Setthe Nimbus lookandfeel*/
//<editor-folddefaultstate="collapsed"desc="Lookandfeelsettingcode(optional)">
/*IfNimbus(introducedinJavaSE6)isnotavailable,staywiththedefaultlook andfeel.
*Fordetailsseehttp://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/t
ry{
for (javax.swing.UIManager.LookAndFeelInfo
info
:javax.swing.UIManager.getInstalledLookAndFeels(
)){
if ("Nimbus".equals(info.getName()))
{javax.swing.UIManager.setLookAndFeel(info.getClassNa
me()); break;
}
}
}catch(ClassNotFoundExceptionex){
java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.S
EVERE, null, ex);
}catch(InstantiationExceptionex){
java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.S
EVERE, null, ex);
}catch(IllegalAccessExceptionex){
java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.S
EVERE, null, ex);
}catch(javax.swing.UnsupportedLookAndFeelExceptionex){
java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.S
EVERE, null, ex);
}
//</editor-fold>
Result:
For example:
Result:
Thus the implementation of Exam registration system has been succesfully completed
and verified.
Ex.No:3 Stock maintenance system
importjava.awt.Dimension;imp
ortjava.awt.Toolkit;
import
java.awt.event.ActionEvent;import
java.awt.event.ActionListener;imp
ortjava.sql.ResultSet;
importjava.sql.Statement;
import
java.text.SimpleDateFormat;imp
ortjava.util.Date;
import
javax.swing.JOptionPane;imp
ortjavax.swing.Timer;
importjavax.swing.table.DefaultTableModel;
/*
* Tochangethislicenseheader,choose LicenseHeadersinProjectProperties.
* Tochangethistemplatefile, chooseTools|Templates
* andopen thetemplate intheeditor.
*/
/**
*
* @authoracer
*/
public class Home extends
javax.swing.JFrame {pop_uppop=
newpop_up();
public Home()
{initComponent
s();Time();
setLocationRelativeTo(nu
ll);Toolkittoolkit
=getToolkit();
Dimensionsize=toolkit.getScreenSize();
setLocation(size.width/ 2-getWidth()/2,size.height/2-getHeight()/2);
}
publicvoidTime(){
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLO
SE); setUndecorated(true);
jLabel1.setForeground(newjava.awt.Color(153,153,153));
jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel1.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/icon/icons8_shutdown_30px.png")));//NOI18
N
jLabel1.setBorder(javax.swing.BorderFactory.createLineBorder(newjava.awt.Color(153,15
3,
153)));
jLabel1.addMouseListener(new
java.awt.event.MouseAdapter()
{publicvoidmouseClicked(java.awt.event.MouseEventevt)
{
jLabel1MouseClicked(evt);
}
});
jPanel2.add(jLabel1,neworg.netbeans.lib.awtextra.AbsoluteConstraints(830,0,57,50));
jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel3.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/icon/icons8_home_40px.png")));//NOI18N
jLabel3.setBorder(javax.swing.BorderFactory.createMatteBorder(1,1,1,1,new
java.awt.Color(153,153,153)));
jLabel3.addMouseListener(new
java.awt.event.MouseAdapter()
{publicvoidmouseClicked(java.awt.event.MouseEventevt)
{
jLabel3MouseClicked(evt);
}
});
jLabel3.addKeyListener(new
java.awt.event.KeyAdapter()
{publicvoidkeyPressed(java.awt.event.KeyEventevt
){
jLabel3KeyPressed(evt);
}
});
jPanel2.add(jLabel3,neworg.netbeans.lib.awtextra.AbsoluteConstraints(0,0,50,50));
jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel5.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/icon/icons8_out_of_stock_30px_1.pn
g"))); //NOI18N
jLabel5.setBorder(javax.swing.BorderFactory.createMatteBorder(1,1,1,1,new
java.awt.Color(153,153,153)));
jLabel5.addMouseListener(new
java.awt.event.MouseAdapter()
{publicvoidmouseClicked(java.awt.event.MouseEventevt)
{
jLabel5MouseClicked(evt);
}
});
jLabel5.addKeyListener(new
java.awt.event.KeyAdapter()
{publicvoidkeyPressed(java.awt.event.KeyEventevt
){
jLabel5KeyPressed(evt);
}
});
jPanel2.add(jLabel5,neworg.netbeans.lib.awtextra.AbsoluteConstraints(50,0,60,50));
jLabel6.setFont(newjava.awt.Font("Perpetua",0,24));//NOI18N
jLabel6.setForeground(new java.awt.Color(255, 255,
255));jLabel6.setText("StockManagementSystem");
jPanel2.add(jLabel6,neworg.netbeans.lib.awtextra.AbsoluteConstraints(300,10,-1,30));
jPanel1.add(jPanel2,neworg.netbeans.lib.awtextra.AbsoluteConstraints(0,0,890,50));
jPanel3.setBackground(newjava.awt.Color(255,255,255));
jPanel3.setBorder(javax.swing.BorderFactory.createLineBorder(newjava.awt.Color(204,20
4,
204)));
jPanel3.setLayout(newjava.awt.CardLayout());
HOME.setBackground(newjava.awt.Color(255,255,255));
jLabel2.setIcon(newjavax.swing.ImageIcon(getClass().getResource("/icon/161001
4526305.jpg")));//NOI18N
javax.swing.GroupLayoutHOMELayout=newjavax.swing.GroupLayout(HOME);HOME.s
etLayout(HOMELayout);
HOMELayout.setHorizontalGroup(HOMELayout.createParallelGroup(javax.swing.Group
Layout.Alignment.LEADING)
.addComponent(jLabel2,javax.swing.GroupLayout.DEFAULT_SIZE,888,Short.MAX_
VALUE)
);
HOMELayout.setVerticalGroup(HOMELayout.createParallelGroup(javax.swing.GroupLa
yout.Alignment.LEADING)
.addComponent(jLabel2,javax.swing.GroupLayout.DEFAULT_SIZE,518,Short.MAX_
VALUE)
);
jPanel3.add(HOME,"card2");
STOCKS.setBackground(newjava.awt.Color(255,255,255));
jTable1.setModel(new
javax.swing.table.DefaultTableModel(newObject[][]{
},
newString[]{
"Stock#","Stockname","Case","StockDate","PersoninCharge"
}
){
boolean[] canEdit = new boolean
[] {false,false, false,true,true
};
public boolean isCellEditable(int rowIndex, int
columnIndex) {returncanEdit [columnIndex];
}
});
jTable1.setGridColor(newjava.awt.Color(0,255,0));
jTable1.setSelectionBackground(new java.awt.Color(102, 102,
255));jTable1.addMouseListener(newjava.awt.event.MouseAd
apter(){
publicvoidmouseClicked(java.awt.event.MouseEventevt){
jTable1MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent
evt) {jTable1MouseEntered(evt);
}
});
jScrollPane1.setViewportView(jTable1);
jButton1.setBackground(newjava.awt.Color(255,255,255));j
Button1.setText("CREATE");
jButton1.addActionListener(new
java.awt.event.ActionListener()
{publicvoidactionPerformed(java.awt.event.ActionEvente
vt){
jButton1ActionPerformed(evt);
}
});
Button2.setBackground(newjava.awt.Color(255,255,255));j
Button2.setText("UPDATE");
jButton2.addActionListener(new
java.awt.event.ActionListener()
{publicvoidactionPerformed(java.awt.event.ActionEvente
vt){
jButton2ActionPerformed(evt);
}
});
jButton3.setBackground(newjava.awt.Color(255,255,255));j
Button3.setText("DELETE");
jButton3.addActionListener(new
java.awt.event.ActionListener()
{publicvoidactionPerformed(java.awt.event.ActionEvente
vt){
jButton3ActionPerformed(evt);
}
});
searchBox.setBorder(javax.swing.BorderFactory.createLineBorder(newjava.awt.Color(20
4,204,
204)));
searchBox.addKeyListener(new
java.awt.event.KeyAdapter()
{publicvoidkeyReleased(java.awt.event.KeyEventevt){
searchBoxKeyReleased(evt);
}
});
jLabel4.setIcon(newjavax.swing.ImageIcon(getClass().getResource("/icon/icons8_search_
20px_1.png")));//NOI18N
javax.swing.GroupLayoutSTOCKSLayout=newjavax.swing.GroupLayout(STOCKS);ST
OCKS.setLayout(STOCKSLayout);
STOCKSLayout.setHorizontalGroup(STOCKSLayout.createParallelGroup(javax.swing.Gr
oupLayout.Alignment.LEADING)
.addComponent(jScrollPane1,
javax.swing.GroupLayout.DEFAULT_SIZE, 888,Short.MAX_VALUE)
.addGroup(STOCKSLayout.createSequentialGroup()
.addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE,
129,javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE,
132,javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE,
121,javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE,
109,javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0,0,Short.MAX_VALUE))
.addGroup(STOCKSLayout.createSequentialGroup()
.addGap(24,24,24)
.addComponent(jLabel4)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(searchBox, javax.swing.GroupLayout.PREFERRED_SIZE,
225,javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VALUE)
)
);
STOCKSLayout.setVerticalGroup(STOCKSLayout.createParallelGroup(javax.swing.Grou
pLayout.Alignment.LEADING)
.addGroup(STOCKSLayout.createSequentialGroup()
.addContainerGap()
.addGroup(STOCKSLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.
LEADING)
.addComponent(searchBox, javax.swing.GroupLayout.PREFERRED_SIZE,
35,javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel4,
javax.swing.GroupLayout.Alignment.TRAILING,javax.swing.GroupLayout.PREFERRED_SI
ZE, 35,javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE,
391,javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(STOCKSLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADI
NG,false)
.addComponent(jButton1,
javax.swing.GroupLayout.DEFAULT_SIZE, 39,Short.MAX_VALUE)
.addComponent(jButton2,
javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Sho
rt.MAX_VALUE)
.addComponent(jButton3,
javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Sho
rt.MAX_VALUE)
.addComponent(jButton4,
javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Sho
rt.MAX_VALUE))
.addGap(0,30,Short.MAX_VALUE))
);
jPanel3.add(STOCKS,"card3");
jPanel1.add(jPanel3,neworg.netbeans.lib.awtextra.AbsoluteConstraints(0,50,890,520));
javax.swing.GroupLayoutlayout=newjavax.swing.GroupLayout(getContentPane());getCo
ntentPane().setLayout(layout);
layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.LEADING)
.addComponent(jPanel1,
javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Sho
rt.MAX_VALUE)
);
layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.
LEADING)
.addComponent(jPanel1,
javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Sho
rt.MAX_VALUE)
);
pack();
}//</editor-fold>
privatevoidjLabel3KeyPressed(java.awt.event.KeyEventevt){
// TODO add your handling code
here:HOME.setVisible(true);STOC
KS.setVisible(false);
}
privatevoidjLabel5KeyPressed(java.awt.event.KeyEventevt){
//TODOaddyourhandlingcode here:
HOME.setVisible(false);STOCKS.
setVisible(true);
}
privatevoidjLabel3MouseClicked(java.awt.event.MouseEventevt){
//TODOaddyourhandlingcode here:
HOME.setVisible(true);STOCKS.
setVisible(false);
}
privatevoidjLabel5MouseClicked(java.awt.event.MouseEventevt){
//TODOaddyourhandlingcode here:
HOME.setVisible(fals
e);STOCKS.setVisibl
e(true);try{
DefaultTableModel table = (DefaultTableModel)
jTable1.getModel();table.setRowCount(0);
Statementstate=Source.mycon().createStatement();ResultS
etrs=state.executeQuery("SELECT*FROM`tblstock`");
while(rs.next()){
Object o[] = {rs.getString("id"), rs.getString("stockname"),
rs.getString("quantity"),rs.getString("date"), rs.getString("person")};
table.addRow(o);
}
} catch (Exception ex)
{System.out.println(ex.getMessage(
));}
}
privatevoidjButton1ActionPerformed(java.awt.event.ActionEventevt){
// TODO add your handling code
here:pop.setVisible(true);pop.stock
.setText("AddStock");
privatevoidjButton2ActionPerformed(java.awt.event.ActionEventevt){
// TODO add your handling code
here:if(searchBox.getText().equals
("")){
JOptionPane.showMessageDialog(null,"Clickoneformthetable");
}else{
DefaultTableModel table = (DefaultTableModel)
jTable1.getModel();intr= jTable1.getSelectedRow();
pop_uppop=newpop_up();
pop.stockid.setText(Array[0]);pop.
stockname.setText(Array[1]);
pop.stockqty.setText(Array[2]);pop.stock
date.setText(Array[3]);pop.stockperson.s
etSelectedItem(Array[4]);pop.setVisible(t
rue);pop.stock.setText("UpdateStock");
}
}
privatevoidjButton3ActionPerformed(java.awt.event.ActionEventevt){
// TODO add your handling code
here:if(searchBox.getText().equals(
"")){
JOptionPane.showMessageDialog(null,"Clickoneformthetable");
}else{
DefaultTableModel table = (DefaultTableModel)
jTable1.getModel();intr= jTable1.getSelectedRow();
pop_uppop=newpop_up();
pop.stockid.setText(Array[0]);pop.
stockname.setText(Array[1]);pop.st
ockqty.setText(Array[2]);pop.stock
date.setText(Array[3]);
pop.stockperson.setSelectedItem(Array[4]
);pop.setVisible(true);pop.stock.setText("
Delete Stock");
}
}
privatevoidsearchBoxKeyReleased(java.awt.event.KeyEventevt){
//TODOaddyourhandlingcode here:
try {
DefaultTableModel table = (DefaultTableModel)
jTable1.getModel();table.setRowCount(0);
Statementstate=Source.mycon().createStatement();
ResultSet rs = state.executeQuery("select * from tblstock wherestockname like '%"
+searchBox.getText()+"%' orpersonlike'%"+searchBox.getText()+"%'");
while(rs.next()){
privatevoidjTable1MouseClicked(java.awt.event.MouseEventevt){
// TODO add your handling code
here:intt=jTable1.getSelectedRow(
);
Stringstockid=jTable1.getValueAt(t,0).toStrin
g();searchBox.setText(stockid);jButton3.setEn
abled(true);
jButton2.setEnabled(true);
}
privatevoidjTable1MouseEntered(java.awt.event.MouseEventevt){
//TODOaddyourhandlingcode here:
}
privatevoidjButton4ActionPerformed(java.awt.event.ActionEventevt){
//TODOaddyourhandlingcode here:
searchBox.setText("
");try{
DefaultTableModel table = (DefaultTableModel)
jTable1.getModel();table.setRowCount(0);
Statementstate=Source.mycon().createStatement();ResultS
etrs=state.executeQuery("SELECT*FROM`tblstock`");
while(rs.next()){
privatevoidjLabel1MouseClicked(java.awt.event.MouseEventevt){
// TODO add your handling code
here:dispose();
Login log = new
Login();log.setVisi
ble(true);
}
/**
* @param argsthecommandline arguments
*/
publicstaticvoidmain(Stringargs[]){
/*Setthe Nimbus lookandfeel*/
//<editor-folddefaultstate="collapsed"desc="Lookandfeelsettingcode(optional)">
/*IfNimbus(introducedinJavaSE6)isnotavailable,staywiththedefaultlook andfeel.
*Fordetailsseehttp://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.getClas
sName()); break;
}
}
} catch (ClassNotFoundException ex)
{java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Leve
l.SEVERE,
null,ex);
} catch (InstantiationException ex)
{java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Leve
l.SEVERE,
null,ex);
} catch (IllegalAccessException ex)
{java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Leve
l.SEVERE,
null,ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex)
{java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Leve
l.SEVERE,
null,ex);
}
//</editor-fold>
jButton3;private
javax.swing.JButton
jButton4;private
javax.swing.JLabel
jLabel1;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.JPanel
jPanel1;private
javax.swing.JPanel
jPanel2;privatejavax.swing.JPanel
jPanel3;
private javax.swing.JScrollPane
jScrollPane1;privatejavax.swing.JTabl
e jTable1;
privatejavax.swing.JTextFieldsearchBo
x;privatejavax.swing.JLabeltime;
//Endofvariablesdeclaration
}
LOGIN
DASHBOARD
ADDSTOCK
STOCKMAINTENANCE
Result: