Collegement Management JAVA Project
Collegement Management JAVA Project
Collegement Management JAVA Project
"A project is a bit real life that has been imported in the school"
By: - Ballard
In other words project is constituent of seven words and I have tried my best
to give its definition analyzing each word as: -
P - Perfect planning
R - Resources
O - Organization
J - Joint Efforts
E - Engineering Skill
C - Communication
T- Technique
The name of the project is College campus This project will covers the solution for
the current system drawbacks and provide a brand new system, which includes automation
of the previous system through computer technology, and also provide some more useful
features including previous ones for the personal use of organization .Our project will be
developed using MICROSOFT VISUAL BASIC 6.0 as the front-end and for keeping data
we will use the MS-ACCESS as our back-end. This project involves client server concept as
the data is being entered and retrieved from a front end and being maintained and updated at
a back end. All the data regarding the material being sold to and purchased from customer
and suppliers respectively is being maintained. Moreover data of regarding the stock of the
company is also being maintained.
The data can be efficiently entered and retrieved various reports can also be generated
which include admission fees reports, teacher details report, student
Computer Pentium 4
Processor
RAM 64 MB
Hard Disk Used 328 MB on system drive
CD-ROM Drive Required
Video 800 × 600, 256 colors
Mouse Any compatible mouse
Keyboard Any compatible mouse
Multimedia Multimedia kit
Visual Basic is an object oriented programming language. It is also very friendly. It has
many driven interface, which gives a user a great deal of convenience in creating and
handling the database.
Visual Basic’s nature requires various kinds of controls because, unlike program
written in older text based languages. Window program must respond to events. An event
might come to program to any of these controls, as well as from internal activities such as
PC’s dock. Events come in random order. The user might perform several of these in
different order each times run the program. You must use event driven programming
technique to respond properly to the user’s action and other activities that triggers the
event.
The Visual Basic learning edition is the introductory edition that lets us easily
create windows application.
The Visual Basic Professional edition is for computer professional and
includes advanced features such as tools to develop ActiveX and Internet controls.
The Visual Basic enterprise edition is the most advanced edition and is aimed at the
programmer who builds distributed application in a team environment It includes all the
features of the professional edition, plus with Visual Basic,
We can create the following types of applications: -
Standard EXE
ActiveX
ActiveX DLL
ActiveX Document EXE, ActiveX Document DLL
VB Application Wizard, VB Wizard Manager
Data Project
HS Application
DHTML Application
ADD In
VB Enterprise Edition Control
Three main Objects are required to access data from existing database of ADO object
models are: -
Connections
Recordset
Command
Connection
When we work with data in database, we must first create a connection to data
source. The connection object makes a connection between an application and
a data source such as Microsoft SQL Server. Each connection object supports
multiple lower level objects such as recordset and command objects. Creating
a connection object same as setting connection string properly of ADODC.
A recordset object represents the entire set of records from the table or the
result of the executed commands. It is used to access records returned from
query. We manipulate data entirely using recordset object, but creating a
connection object explicitly enable us to open multiple recordset on the same
connections.
Dim rs as ADODB.recordset
Set rs =new connection
We use the open method to retrieve records from the data source, the syntax
of open method:]
Recordset.open [source], [active connection],[cursor type],[lock type],[option]
Commands
We use a command object to query a database and access the records that are
returned from the database. The recordset are returned in a recordset object.
Command object is used to create recordset object and obtain records, to
execute a bulk operations or to manipulate the structures of a database.
COMPONENTS OF ACCESS
Definitions
Characteristics Of a System
Organization
It is the arrangements of components that help to achieve objectives.
Interaction
Interaction refers to manner in which each components function with other
components.
Interdependence
Interdependence means that parts of organization or computer system
depend on one another. They are coordinated and linked together according to
a plan. One subsystem depends on the input of another subsystem for proper
functioning.
Integration
Integration refers to holism of system. Synthesis follows analysis to
achieve the central objectives of the organization. Integration is concerned
with how a system is titled together. It is more than sharing physical parts.
Existing System is computerized but not fully computerized only sales and purchase gets
the computerized Facility .Most of the official and clerical work done manually, that is
payroll, sales/ purchases record are maintain on the registers. Existing system build in
Fox pro (dos based) technology. That is not according to needs of present time and not
provide better interface to users .Problem in the existing system are as follows:--
Drawbacks
Interface:--
The existing system Build in dos based technology that does not provide better
interface and easy environment to user in which they would like to work.
Time Consuming:--
Existing system is very time consuming system Because Access to working screens.
Is not easy.
Complexity:-
The Working of existing system is very complex Record keeping and editing are done at
different location so it is not so easy to work on a system that is
Not providing centralized Adding and updating facility.
The best possible solution for the organization current system’s problem will be
the automation of the organization. In other words the new system should provide the
automated features of the previous system with new approach along with much more
new features.
As in this developing world, IT is emerging in each and every field. So the best
automation option for the organization will be introducing a computer in its working
which will keep track of all the customers, sales, purchases, etc . All the information
regarding the customers, sales, purchases, Account, employees etc are stored in MS-
ACCESS database.
By providing the users an efficient automated system with a computer will surely
develop not only the proper functionality of the system but also to prevent the
mismanagement of data.
The objective of the proposed system is must because objective is goal of our system
like it
Tell what we are going to develop and what will be the basic needs of the
proposed system
Like Accuracy of data, redundancy, Security etc. And how we provide these
needs to our system. Keeping in mind the limitations of previous system there are
possibly the following
Goals that we are to achieve by updating of present system. These are as
follows:-
To provide graphical user interface (GUI) For user as it more User friendly than
Dos based system and provide better interface.
Increasing the speed of tasks performed on the system by using several shortcuts.
We do not have to wait for results rather they are displayed in just a time of 100 th part
of a second and otherwise, we can also see the status of processing through the
progress bar at the bottom.
In the project execution phase, the team develops the required application.
Because this is the most elaborate phase in terms or project cost and time, this
phase can be further being divided in to the following stages:
Requirement analysis
High-level design
Low- level design
Construction
Integrations and testing
User acceptance test
These stages are discussed in the following section. First, however, we’ll discuss the final
phase in a project life cycle, the project development phase. As the name suggests, during
this phase, the application is deployed at the client location. In addition, support is
provided to the client for a particular period of time to take care of any bugs that might
occur in the application after the deployment.
Before proceeding any further, let’s take a look at each of the project execution
phase:
After analyzing these requirements, it was decided to make two modules for the
Inventory control’s application software:
Module 1
The complete analysis of the proposed system was done during the course
completion of this project work. In this analysis task, a complete care about the feasibility
of the purpose system was taken. The following feasibility analysis was carried out
during the course of this project.
Economic Feasibility
Technical Feasibility
Operational Feasibility
ECONOMIC FEASIBILITY
This project is being done at Metro c21. The cost involved in this project is the
hardware as well as software costs. The software being used in this project is VISUAL
BASIC6.0 and MS-ACCESS. Our organization has to load this software before using this
project. They have to spend very less amount of money because they have already
computer systems having Latest p4 processors. Therefore no problem regarding hardware
occurred. So the project is economically feasible.
TECHNICAL FEASIBILITY
Technically, the existing has many facilities. All the requirements of the existing
system are not met by the hardware and software means. However, the proposed system
can be developed in a manner where all the requirements can be met through software
means.
OPERATIONAL FEASIBILITY
This is done in order to know whether the proposed system will be user friendly and error
free in its functioning .Peoples are inherently resistant to change, and computers have been
known to facilitate change .A towards the development of proposed system.
A Systematic Method has to achieve the beneficial result at the end. It involves starting
with a vague idea and developing it into a series of steps.
The series of steps for successful system development or successful system
design are given bellow :-
First step is to study problem completely because first of all we should know the goal,
which we have to achieve.
Second step we should see what kind of output we require and what kind of input we give
so that we can get desire output from the system.
High-Level Design:
In the high level design phase, the team decides on the functionality of the
system. In addition, the various data input and output formats are finalized, and
the operating requirements are identified. Approval is requested from the client
regarding the functional specification document if the proposed interfaces for
the application. The design of the next phase is based on this design.
During the low-level design phase, detailed design of the various software
modules is prepared using the High-level design. The team decided on various standards,
such as naming conventions for variables, controls and forms for a project. All these
specifications are documented so that consistency can be maintained among the various
modules foe an application.
E-R diagram can express the overall logical structure of a database graphically-R diagram
are simple and clear qualities that may well account in large part for the widespread use
of the E-R model .in this we deal with entities and their relationship.
Entity: -Entity is an object, which has certain properties. Like students has an entity
who has properties like roll no, Name, class etc.
Attributes: -These is the features, qualifiers, of the entities and their relationship.
Entity Type: -An entity type is like class in object oriented representing the general
structure of the entities that belongs to the same class.
Entity Set: -Collection of same entities that has same properties is known as entity set.
Entity set is of two types.
In the EF, there are mainly four symbols. These four symbols are discussed as below: -
Circle Process
Thus, by appropriating choosing the EF symbols the required EF can be designed, which
graphically represents the flow of data in the given system.
Addres
s Salary Wor
Type
k
Name For
DOB
Teacher Objectives &
Features
Reg. Manage
No. Phone Address s Program
No. s
Name
Student College campus
Admission
Fees detail
Teacher
Eligibility
y
In short, DFD is designed to aid communication. A DFD typically shows the minimum
contents of data stores. The DFD methodology is quite effective when the required design is
unclear and the user and the analyst need a notational language for communication. The DFD
is easy to understand after a brief orientation.
The primary strength of the DFD is its ability to represent data flows. It may be used at high
or low levels of analysis and provides good system documentation
Student Existing
Entry student? New Input
Info
Yes
Form Validation
Check for Details
Strore Data
If detail
equal to st. id
Form Validation
Store Changes
Store Charges
Start
Invalid
If
Exist
Valid
MDI Form
Stop
Student
Information
No Check Yes
Student Delete Record
Record
Stop
Start
Student
Information
Stop
Start
Teacher
Information
Stop
Start
Enter Teacher
identification (id)
Retrieve
Teacher
Database
Calculation of
salary
Stop
This Form keeps path of other forms like Student information, Teacher information, Fees
information, Programs, Objectives, Features, Student result sheet etc.
In this form shows the name who develop the project and system information
This form act as Login for the user who wants to access the software for the “College
Campus “, By filling the valid user name and password user will be able to access the
Software . This provides protection from the unauthorized users.
This Form keeps track of all information regarding the student of college like their Name,
class, roll no., address etc.
Teachers can easily add/edit information about Students who gets admission in
the college.
This Form keeps track of all information regarding the student of college like their
Father’s Name, App no., Student D.O.B, address etc.
Teachers can easily add/edit information about Students and delete/update the
student record who gets admission in the college.
In This form Showing the detail of all Classes Fees according to Student Courses.
In This form Showing the detail of Fees Details according to the Class.
This Form keeps track of all information regarding the Teacher of college like their
Name, Basic salary, address etc.
Staff Members can easily Update the information about Teachers or delete the
record of Teacher who leaves the College.
This Form keeps track of all information regarding the non teaching staff of college like
their Name, Basic salary, address etc.
This Form stores the information of the all Teacher Salary of College.Staff can easily
add/edit information about Teacher.
This Form used to delete the Student record from the college.
This Form used to Update the Teacher record from the college.
Eligibility Form 2
Program Form1
Program Form 2
Objectives Form
Features
Exit Button
Description of fields: -
Addmission:- Addmission form table stores the information related to the student who
are studying in the College.
Filed no. Field Name Data type
1 App_no Number
2 Class Text
3 Roll no. Text
4 Session Text
5 Fees Date/Time
6 Date Date/Time
7 Reg No. Text
8 Sub 1 Text
9 Sub 2 Number
10 Sub 3 Currency
11 Sub 4 Number
12 Sub 6 Number
13 Sub 6 Number
14 Sub 6 Number
Teacher detail:- This table stores the details information about the Teacher.
Clearance Chit:-This table stores the details information about the clearance chit
1 Class Text
2 Roll No. Number
3 Name Text
4 Lib_Fine Number
5 Exam_Fine Number
6 Canteen_Fine Number
7 Absent_Fine Number
8 Admin_Block_ Number
Charges
9 Lab_Fine Number
10 Total_Fine Number
New Class:- This Table shows the information of new class of the college.
The coding phase effects both coding and maintenance profoundly well
written codes reduced the testing and maintenance efforts. Because the testing and
maintenance cost of the software are much higher the coding cost, the goal of coding
should be written to reduce testing and maintenance efforts. Hence during coding the
focus should be on developing programs that are very easy to understand.
MDIForm1.sm1.Enabled = True
MDIForm1.Adm1.Enabled = True
MDIForm1.rep1.Enabled = True
End If
End Sub
End Sub
End Sub
If rs.RecordCount = 0 Then
rs.Close
MsgBox "Rec. not found..."
Else
Text1.Text = rs(0)
Combo1.Text = rs(1)
Text2.Text = rs(2)
Text3.Text = rs(3)
Text4.Text = rs(4)
DTPicker1.Value = rs(5)
Text5.Text = rs(6)
Text6.Text = rs(7)
Text7.Text = rs(8)
Text8.Text = rs(9)
Text9.Text = rs(10)
Text10.Text = rs(11)
Text11.Text = rs(12)
Text12.Text = rs(13)
Text13.Text = rs(14)
rs.Close
MsgBox "Student Info. found..."
End If
End Sub
'MsgBox appno
Unload Me
Load Form2
Form2.Show
End Sub
If MsgBox("Do you want to Del. Rec. ", vbInformation + vbYesNo, "Delete Rec.") = vbYes
Then
End If
End If
End Sub
If rs.RecordCount = 0 Then
rs.Close
MsgBox "Rec. not found..."
Else
Text1.Text = rs(0)
Text2.Text = rs(2)
Text13.Text = rs(14)
Text14.Text = rs(15)
Text15.Text = rs(16)
Text16.Text = rs(17)
Text17.Text = rs(18)
Text18.Text = rs(19)
Text19.Text = rs(20)
rs.Close
MsgBox "Student Info. found..."
End If
End Sub
If rs.RecordCount = 0 Then
rs.Close
MsgBox "Rec. not found..."
Else
rs(0) = Val(Text1.Text)
rs(1) = DTPicker1.Value
rs(2) = Text2.Text
rs(3) = Text3.Text
rs(4) = Text4.Text
rs(5) = Text5.Text
rs(6) = Val(Text6.Text)
rs(7) = Val(Text7.Text)
rs(8) = Val(Text8.Text)
rs(9) = Text9.Text
rs(10) = Text10.Text
rs(11) = Text11.Text
rs(12) = Val(Text12.Text)
rs(14) = Val(Text13.Text)
rs(15) = Val(Text14.Text)
rs(16) = Val(Text15.Text)
rs(17) = Text16.Text
rs(18) = Text17.Text
rs(19) = Text18.Text
rs(20) = Val(Text19.Text)
rs.Update
MsgBox ("record has been Updated")
End If
End Sub
If Option1.Value = 1 Then
rs(13) = Option1.Caption
Else
rs(13) = Option2.Caption
End If
rs(14) = Val(Text13.Text)
rs(15) = Val(Text14.Text)
rs(16) = Val(Text15.Text)
rs(17) = Text16.Text
rs(18) = Text17.Text
rs(19) = Text18.Text
rs(20) = Val(Text19.Text)
rs.Update
MsgBox ("record has been saved")
Text1.Text = ""
Text2.Text = ""
Option1.Caption = ""
Option2.Caption = ""
End Sub
End Sub
Private Sub Form_Unload(Cancel As Integer)
con.Close
End Sub
If MsgBox("Do you want to Del. Rec. ", vbInformation + vbYesNo, "Delete Rec.") = vbYes
Then
End If
End Sub
If rs.RecordCount = 0 Then
rs.Close
MsgBox "Rec. not found..."
Else
Text1.Text = rs(0)
Text2.Text = rs(2)
Text3.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
Text9.Text = rs(9)
Text10.Text = rs(10)
Text11.Text = rs(11)
Text12.Text = rs(12)
Text13.Text = rs(14)
Text14.Text = rs(15)
Text15.Text = rs(16)
Text16.Text = rs(17)
If rs.RecordCount = 0 Then
rs.Close
MsgBox "Rec. not found..."
Else
rs(0) = Val(Text1.Text)
rs(1) = DTPicker1.Value
rs(2) = Text2.Text
rs(3) = Text3.Text
rs(4) = Text4.Text
rs(5) = Text5.Text
rs(6) = Val(Text6.Text)
rs(7) = Val(Text7.Text)
rs(8) = Val(Text8.Text)
rs(9) = Text9.Text
rs(10) = Text10.Text
rs(11) = Text11.Text
rs(12) = Val(Text12.Text)
If Option1.Value = 1 Then
rs(13) = Option1.Caption
Else
rs(13) = Option2.Caption
End If
rs(14) = Val(Text13.Text)
rs(15) = Val(Text14.Text)
rs(16) = Val(Text15.Text)
rs(17) = Text16.Text
rs(18) = Text17.Text
rs(19) = Text18.Text
rs(20) = Val(Text19.Text)
rs.Update
MsgBox ("record has been Updated")
End If
End Sub
If Option1.Value = 1 Then
rs(13) = Option1.Caption
Else
rs(13) = Option2.Caption
End If
rs(14) = Val(Text13.Text)
rs(15) = Val(Text14.Text)
rs(16) = Val(Text15.Text)
rs(17) = Text16.Text
rs(18) = Text17.Text
rs(19) = Text18.Text
rs(20) = Val(Text19.Text)
rs.Update
MsgBox ("record has been saved")
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
Text11.Text = ""
Text12.Text = ""
Text13.Text = ""
Text14.Text = ""
Text15.Text = ""
Text16.Text = ""
Text17.Text = ""
Text18.Text = ""
Text19.Text = ""
Option1.Caption = ""
Option2.Caption = ""
End Sub
End If
End Sub
End Sub
rs.MoveFirst
Do While rs.EOF = False
cmb_class.AddItem (rs(0))
Combo2.AddItem (rs(1))
rs.MoveNext
Loop
End Sub
End Sub
End Sub
If MsgBox("Do you want to Del. Rec. ", vbInformation + vbYesNo, "Delete Rec.") = vbYes
Then
Set rs = New ADODB.Recordset
rs.Open "select * from teacher_details where teacher_id='" & cmb_teacher.Text & "'", con,
adOpenStatic, adLockOptimistic
If rs.RecordCount = 0 Then
rs.Close
MsgBox "record not found...."
Else
rs.Delete
rs.Update
MsgBox "REC. HAS BEEN DELETED"
End If
End If
End Sub
rs.MoveFirst
Do While rs.EOF = False
cmb_teacher.AddItem (rs(0))
rs.MoveNext
Loop
End Sub
End Sub
End Sub
rs.Update
MsgBox ("record has been saved...")
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
End Sub
If rs.RecordCount = 0 Then
rs.Close
MsgBox "record not found..."
Else
Text1.Text = rs(0)
Text2.Text = rs(3)
Text3.Text = rs(4)
Combo3.Text = rs(5)
Text4.Text = rs(6)
Text5.Text = rs(7)
Text6.Text = rs(8)
Text7.Text = rs(9)
Text8.Text = rs(10)
Text9.Text = rs(11)
Text10.Text = rs(12)
Text11.Text = rs(13)
Text12.Text = rs(14)
Text13.Text = rs(15)
Text14.Text = rs(16)
Text15.Text = rs(17)
Text16.Text = rs(18)
Text17.Text = rs(19)
'Combo1.Text = ""
'combo2.Text = ""
rs.Close
MsgBox "record is found...."
End If
End Sub
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
Text11.Text = ""
Text12.Text = ""
Text13.Text = ""
Text14.Text = ""
Text15.Text = ""
Text16.Text = ""
Combo3.Text = ""
Text17.Text = ""
cmb_class.Text = ""
cmb_rollno.Text = ""
Text1.SetFocus
End Sub
If rs.RecordCount = 0 Then
rs.Close
MsgBox "record not found..."
End Sub
rs.MoveFirst
Do While rs.EOF = False
cmb_rollno.AddItem (Val(rs(2)))
cmb_class.AddItem (rs(1))
rs.MoveNext
Loop
End Sub
End Sub
End Sub
cmb_rollno.AddItem (Val(rs(2)))
cmb_class.AddItem (rs(1))
rs.MoveNext
Loop
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
If rs.RecordCount = 0 Then
rs.Close
MsgBox "Rec. not found..."
Else
rs(0) = cmb_classid.Text
rs(1) = Text1.Text
rs(2) = Text2.Text
rs(3) = Val(Text3.Text)
rs.Update
MsgBox "record has been updated........"
End If
End Sub
If rs.RecordCount = 0 Then
rs.Close
MsgBox "Rec. not found..."
Else
rs.Delete
rs.Update
MsgBox "REC. HAS BEEN DELETED"
End If
End If
End Sub
rs.MoveFirst
Do While rs.EOF = False
cmb_classid.AddItem (rs(0))
rs.MoveNext
Loop
The system development life cycle involves the phase of testing and debugging after the
requirement analysis .designing and coding .the project automation of store inventory system of
Metro C21 Departmental Store Phagwara was tested, debugged and implemented successfully.
There are two strategies of software testing adopted for the new system that is as follows:-
Code Testing
Specification Testing
Code Testing
Code testing was carried out to see the correctness of the logic involves the correctness of
modules. Test was conducted based upon sample data, live data and artificial data. All the
modules are checked separately for assuring correctness and accuracy in all calculations.
Specification Testing
It examines the specification stating what the program should do and how it should perform under
conditions. This testing strategy is better strategy since it focuses on the way the software is
expected to work. The testing was started from the top most modules and carried the modules at
lowest level. The amount of testing interactive module is very low and cohesion in the modules is
very high. The coupling usually found in the interactive modules on the data coupling but few of
the data modules are also shown stamp coupling and the control coupling.
These testing phases involve unit testing, validation testing, and system testing. Within
each module the functionality independent units are testing for the validity and corrective ness
and then these units are tested together to carry out integration testing. The integration testing
results in the corrective ness and proper functioning of individual
modules. After the integration testing, the phases of validation testing comes.blackbox-testing
techniques are used exclusively during validation.
PERFORMANCE CRITERIA
The purpose of system testing is to identify and correct errors in the candidate system.
Following performance criteria are used for the system testing.
It is the time between the receipt of the input and the availability of the output. the objective
is to declare on and evaluate all these factors that might have bearing on the turn around time
for handling all applications.
File Protection
Database files are handled by “Ms Access Server” so it gives full protection
to database files.
Backup
Backup relates to procedure to use when the system is not working
correctly with current data. In this software we use “Access” as backend tool which itself
provides facility for backup & recovery of data.
Human Factor
Unit Testing
Integration Testing
The relationship between the different modules is checked under this testing
all the modules are integrated into single system and tested with simple data.
The most important and crucial phase of the system development life cycle is the successful
implementation of the new system. it is the replace of the old system by the new one, in a
way. This involves creating the computer-based system, installing the system and training
the user .we successfully carried out all these activities. The convention method used was
Post Implementation:
The purpose of the post implementation review is to determine whether the system has met
its objective that are to see if the performance level of user has improved and whether the
system is producing the desired results. It would be found that the system is working
without any problem. It would be better than previous one and will provide numerous new
features.
IMPLEMENTATION
Once the programmer has properly finished developing, coding and testing the program, the
development of the program is near to end. Now the project team will
Release the program to play its part in the over all system—the programmer just has tiding up
to do.
How the team will release the program depends on the installation.in most
cases,however,the process will involve some kind of acceptance test.this is tom
ensure that the user or his/her respective satisfies the system.allowing the user to try
out the new system to see whether his/her needs are met.
Admission Report 2
This report shows the all information about the Teacher Salary.