Web Portal For Student Information System: Prepared by
Web Portal For Student Information System: Prepared by
Web Portal For Student Information System: Prepared by
System
Project Outline
Prepared By:
AANCHAL CHAUDHARY
PRERNA JAIN
Contents
1. Introduction.........................................................................................................................................3
1.1 Purpose........................................................................................................................................3
1.2 Intended Audience and Reading Suggestions................................Error! Bookmark not defined.
1.3 Product Scope..............................................................................................................................3
1.4 Definitions, acronyms, and abbreviations....................................................................................3
1.5 References.....................................................................................Error! Bookmark not defined.
2. System Overview.................................................................................................................................4
3. Design Considerations.........................................................................................................................5
3.1 Assumptions and Dependencies...................................................................................................5
3.2 General Constraints.......................................................................Error! Bookmark not defined.
3.2.1 Testing...................................................................................Error! Bookmark not defined.
3.2.2 Performance Requirements...................................................Error! Bookmark not defined.
3.2.3 Security Requirements...........................................................Error! Bookmark not defined.
3.3 Goals..............................................................................................Error! Bookmark not defined.
4. Development Methods.........................................................................................................................6
4.1 Microsoft SQL Server..................................................................................................................6
4.2 JAVA 1.6.......................................................................................................................................8
5. Architectural Strategies.....................................................................................................................10
5.1 Table Structure..........................................................................................................................10
5.2 ER-DIAGRAM..............................................................................................................................13
5.3 USER INTERFACES......................................................................................................................15
6. List of Table and Figures.......................................................................Error! Bookmark not defined.
1. Introduction
1.1 Purpose
This document describes the various functions of our project. The actual design of the
various modules and components of Student Information System is described in this document,
which takes care of various functionalities that our project aims to achieve and for determining
the operating characteristics of the system.
.
The Student Information System has been modularized into following modules.
LOGIN MODULE
The purpose of this module is to provide entry to the system or website. Based on the
type of login, the user is provided with various facilities and functionalities. The main function
of this module is to allow the user to use SIS. This module provides two types of login —Admin
login and Student login.
ADMINISTRATOR MODULE
In this module when the administrator will enter his/her user name and password, then
he/she will enter in to the administrator page and this page consists of two following sub
modules.
Student Addition/ Updation / Deletion: In SIS each Student is added, updated
or deleted according to its branch.
Fee Detail and Schedules: Fee information detail and schedule detail are
managed.
STUDENT MODULE
In this module when a user enters his student id and password, then he can visit all the
following pages.
Profile View:
When the student clicks on this link he/she will get his/her information
like student id, student name, password, father name, date of birth, nationality,
city, address, country, phone number, mobile number, email. If he/she wants then
he/she can change the profile.
Notice View:
When the student clicks on this link, he can see latest notices released by
the administrator.
Attendance View:
When the student clicks on this one, the student can get his overall
attendance percentage (present and absent).
4. Design Considerations
The design consideration section shows the overall description of all technical aspects
which are related to this project including hardware and software.
Although basic password authentication and role based security mechanisms will be used
to protect SIS from unauthorized access; functionality such as inserting, deleting and updating
are assumed to be sufficiently protected under the existing security policies applied by the SIS
developing team. It describes assumptions or dependencies regarding the software and its use.
These may concern such issues as:
Related software:
5. Development Methods
The following methods and approaches are used to develop this project.
A database management, or DBMS, gives the user access to their data and helps them
transform the data into information. These systems allow users to create, update and extract
information from their database.
A database is a structured collection of data. Data refers to the characteristics of people,
things and events. SQL Server stores each data item in its own fields. In SQL Server, the fields
relating to a particular person, thing or event are bundled together to form a single complete unit
of data, called a record (it can also be referred to as raw or an occurrence). Each record is made
up of a number of fields. No two fields in a record can have the same field name.
6. SQL Server Tables
SQL Server stores records relating to each other in a table. Different tables are
created for the various groups of information. Related tables are grouped together to form
a database.
7. Primary Key
Every table in SQL Server has a field or a combination of fields that uniquely
identifies each record in the table. The Unique identifier is called the Primary Key, or
simply the Key. The primary key provides the means to distinguish one record from all
other in a table. It allows the user and the database system to identify, locate and refer to
one particular record in the database.
Foreign Key
When a field is one table matches the primary key of another field is referred to as a
foreign key. A foreign key is a field or a group of fields in one table whose values match
those of the primary key of another table.
Referential Integrity
Not only does SQL Server allow you to link multiple tables, it also maintains
consistency between them. Ensuring that the data among related tables is correctly
matched is referred to as maintaining referential integrity.
Relational Database
Sometimes all the information of interest to a business operation can be stored in
one table. SQL Server makes it very easy to link the data in multiple tables. Matching an
employee to the department in which they work is one example. This is what makes SQL
Server a relational database management system, or RDBMS. It stores data in two or
more tables and enables you to define relationships between the table and enables you to
define relationships between the tables.
Data Abstraction
A major purpose of a database system is to provide users with an abstract view of
the data. This system hides certain details of how the data is stored and maintained. Data
abstraction is divided into three levels.
o Physical level: This is the lowest level of abstraction at which one describes how
the data are actually stored.
o Conceptual Level: At this level of database abstraction all the attributed and
what data are actually stored is described and entries and relationship among
them.
o View level: This is the highest level of abstraction at which one describes only
part of the database.
Advantages of RDBMS
The most important characteristic of Java is that it was designed from the outset to be
machine independent. We can run Java programs unchanged on any machine and operating
system combination that supports Java. Java programs are intrinsically more portable than
programs written in other languages. An application written in Java will only require a single set
of source code statements, regardless of the number of different computer platforms on which
it is run, so it is very useful for internet application.
Platform independence - Java programs can be run on many platforms without modification.
This portability is assured by using a Virtual machine1. When a Java program is compiled byte-
code is created rather than a standard executable file. Effectively, this is machine code for a
virtual machine, which is then interpreted by the Java interpreter. The byte-code can be run
on any platform which has a suitable interpreter.
Security - since Java has always been designed with distributed applications in mind,
security has been incorporated right from the start, and if anything this has been seen to be too
restrictive.
Characteristics of Java
Simple
Secure
Portable
Object-oriented
Robust
Multithreaded
Architecture-neutral
Interpreted
High performance
Distributed
Dynamic
J2EE
The Java-2 Enterprise Edition (J2EE™) provides a component-based approach to the
design, development, assembly, and deployment of enterprise applications. The J2EE platform
offers a multitiered distributed application model, reusable components, a unified security model,
flexible transaction control, and web services support through integrated data interchange on
Extensible Markup Language (XML)-based open standards and protocols.
Components of J2EE
SERVLET
Java servlets are small, platform-independent Java programs that can be used to
extend the functionality of a Web server in a variety of ways. Servlets are to the server
what applets are to the client—small Java programs compiled to bytecode that can be
loaded dynamically and that extend the capabilities of the host. It is a server side
programming language.
JSP
Java Server Pages is the extension of servlet to simplify the programming and
coding of servlet. It includes HTML tags to make coding easy. Ultimately it convert into
the servlet at the time of calling.
HTML
Without HTML, the World Wide Web wouldn’t exist. HTML allow the
individual elements on the Web to be brought together and assented as a collection. Text,
images, multimedia, and other files can be packed together using HTML. This section
explains the basic principles behind the interaction between HTML and the World Wide
Web.
8. Architectural Strategies
Here in below tables * is used for denoting Foreign Key and # for Primary Key.
The JDBC ( Java Database Connectivity) API defines interfaces and classes for writing database
applications in Java by making database connections. Using JDBC you can send SQL, PL/SQL
statements to almost any relational database. JDBC is a Java API for executing SQL statements
and supports basic SQL functionality. It provides RDBMS access by allowing you to embed
SQL inside Java code. Because Java can run on a thin client, applets embedded in Web pages
can contain downloadable JDBC code to enable remote database access.
In this step of the jdbc connection process, we load the driver class by calling Class.forName()
with the Driver class name as an argument. Once loaded, the Driver class creates an instance of
itself. A client can connect to Database Server through JDBC Driver. Since most of the Database
servers support ODBC driver therefore JDBC-ODBC Bridge driver is commonly used.The return
type of the Class.forName (String ClassName) method is “Class”. Class is a class injava.lang
package.
try {
Class.forName(”sun.jdbc.odbc.JdbcOdbcDriver”); //Or any other driver
}
catch(Exception x){
System.out.println( “Unable to load the driver class!” );
}
The JDBC DriverManager class defines objects which can connect Java applications to a JDBC
driver. DriverManager is considered the backbone of JDBC architecture. DriverManager class
manages the JDBC drivers that are installed on the system. Its getConnection() method is used to
establish a connection to a database. It uses a username, password, and a jdbc url to establish a
connection to the database and returns a connection object. A jdbc Connection represents a
session/connection with a specific database. Within the context of a Connection, SQL, PL/SQL
statements are executed and results are returned. An application can have one or more
connections with a single database, or it can have many connections with different databases. A
Connection object provides metadata i.e. information about the database, tables, and fields. It
also contains methods to deal with transactions.
8.2.4 Creating a jdbc Statement object
Once a connection is obtained we can interact with the database. Connection interface defines
methods for interacting with the database via the established connection. To execute SQL
statements, you need to instantiate a Statement object from your connection object by using the
createStatement() method.
8.2.5 Executing a SQL statement with the Statement object, and returning a jdbc
resultSet.
Statement interface defines methods that are used to interact with database via the execution of
SQL statements. The Statement class has three methods for executing statements:
executeQuery(), executeUpdate(), and execute(). For a SELECT statement, the method to use is
executeQuery . For statements that create or modify tables, the method to use is executeUpdate.
Note: Statements that create a table, alter a table, or drop a table are all examples of DDL
statements and are executed with the method executeUpdate. execute() executes an SQL
statement that is written as String object.
ResultSet provides access to a table of data generated by executing a Statement. The table rows
are retrieved in sequence. A ResultSet maintains a cursor pointing to its current row of data. The
next() method is used to successively step through the rows of the tabular results.
8.3 Table Creation
Statement:It is a interface. Statement object executes the SQL statement and returns the result it
produces.
CREATE TABLE table_name(field_name):An appropriate code used for creating a table with
given field name.
executeUpdate(String table):This method also executes SQL statement that may be INSERT,
UPDATE OR DELETE statement are used in the code. It takes string types parameters for SQL
statement. It returns int.
1. Login Screen
Login Screen will allow Student/Admin/Staff Login. Admin will provide password to
Student and Staff. Login Screen will be having two text fields one for entering username and
other one for entering password.
2. Home Page
After successful Login, User will come to Home Page. Home Page will be having
following options
i) Change Password
ii) Feedback
iii) Notices
iv) Profile
v) Log Out
3. Change Password Screen
After login student can change his password by selecting the change password option in
main menu of home page.
4. Profile Creation
On clicking the profile button first choice is for creating the profile or for updating the
existing profile. In this form student upload his personal and academic information.
5. Profile View
This is the second choice of profile button. This form shows the overall details of student
including personal and academic details. After filling the above form this form is generated.
On clicking the attendance button this form is viewed. This form shows the subject wise
student attendance.
When the student clicks on this, he/she will get the internals result in all the subjects.
How much grade point he/she secures out of 20 he/she can know.
When the student clicks this link he/she can get the entire fees structure quarter wise and
annual fee.