A PROJECT WORK ON STUDENT PORTAL
BY
K.PRASANTHI CH.RAMA LAKSHMI SK.GOUSIYA PARVEEN A.NAGA ANUSHA S.NAGAMANI
GUIDED BY MS.E.KIRANMAI(MCA)
(Computer Department)
SUBMITTED TO SRI DURGA MALLESWARA SIDDHARTHA MAHILA KALASALA
(An Autonomous in the jurisdiction of Acharya Nagarjuna University ) VIJAYAWADA-10
ACKNOWLEDGEMENT
It is with immense pleasure that we would like to express our indebted gratitude to our guide Miss E.KIRANMAI who has guided us a lot and encouraged us in every step of the project work. Her invaluable moral and guidance through out the project helped us to a greater extent. At the same time, we feel elated to thanks our Head of the department Smt. T. SreeLakshmi Madam for inspiring us all the way and for arranging all the facilities and resources needed for our project. We would like to take this opportunity to thank for beloved Principal Smt. T.VIJAYA LAKSHMI Madam for providing a great for us in compiling our projects and for giving us the opportunity of doing the project. We extend our gratitude to the faculty of the Computer Science Department for their unflinching and valuable suggestions. Not to forget our friend’s who had ed us in completing our project in time.
CONTENTS
1.
Abstract
2.
Software and Hardware Requirements
3.
Introduction to JAVA, SERVLETS, HTML, MSACCESS
4.
Module Description
5.
Testing
6.
Data Flow Diagrams
7.
Data Dictionary
8.
Coding
9.
Forms and Reports
10. 11.
Future scope of the Project Bibliography
ABSTRACT
Student Portal is a private domain web portal, which is being
developed for a private College. The portal acts as a information kiosk for students and faculties. The portal acts as a bridge of communication between the students, faculties and the istration. The application helps in improving the communication standards between the different domains existing in the organization. The overall advantage of the system is empowered by decreasing the latency that arises while operating through the manual process. The actual application decreases the overheads that exist on the job schedules among the faculties and the istration. The portal helps in adjusting and arranging the operational standards in the maintenance of information related to their students and examinations, the faculties and their assigned job. The s can handle all the operational based information with respect to the transactional state that may arise in completing the application procedures that take place while the system is functioning. The actual purpose in deg the system is to make the organizational process to get speed up. The management can have the expected information at its bay at any instance. Generating the required reports as per the operational requirements becomes much easier and information availability at the hand. The system not only becomes false proof and higher levels of satisfaction prevail at the side of the student, faculty and s. The application is also security oriented and gets associated with in the system, as the general structure of accessibility is fairly demandable. The students can just get on to the portal to know any such information that is of importance to their academics. The students
can also have referential information related to the normal structure of their courses, semesters and time tables of the examination .The portal also provides the accessibility towards the provision of old question paper and their answers along with the academic material that is given by the faculties. From the side of the faculties point the site helps in managing the nominal requirements for the faculties to enquire, for the subjects what they have been allocated along with the courses for which they have been ed. The portal also helps the faculties in managing the information related to the assignments that they have to schedule for students as per the semester in which they are made responsible. The Portal maintains the details of the corporate companies that are interested to provide placements to their College students through campus placements. The portal maintains the list of all the corporate sectors that are available and also provides the facilities for ing them selves onto the database of this site for their future endeavors. The Students and the faculties as well as the management can have a
fair
glance
of
information
regarding
all
the
corporate sectors and guide their students regarding the essentials and necessities of job placements.
The total portal has been planned to be associated through the conceptual constant of the Java network and databases technologies, the concept handles the late trends that are set for higher data transfer rates optimized bandwidth utilizations of the network by using the technologies lire EJB & Servlets the web content is applied through dynamism with oriental usage of Java server pages at various stages.The Portal also maintains the specifications of the library catalog of all the books that are available in the college, making the students and the faculties much easier to check for the existing titles in the library before hand.
PROJECT SYNOPSIS
Synopsis The
entire
project
has
been
developed
keeping
is
of
the
Distributed client server computing technologies mind. The specifications have been normalized by 3NF to eliminate all the anomalies that may arise due to the database transaction t h a t a r e e x e c u t e d b y t h e a d m i n i s t r a t o r. T h e u s e r i n t e r f a c e i s browser
specific
to
give
distributed
accessibility
for
the
overall system. The internal database has been selected as MSAccess. to
The basic objectives of table have been exploited
provide higher consistency and reliability for
storage.
The
MSAccess
was
a
choice
as
it
the data
provides
the
constructive of Relational criteria for higher-level reliability a n d s e c u r i t y. T h e t o t a l f r o n t e n d w a s d o m i n a t e d u s i n g H T M L standards applied with the dynamism of Java server pages. The communication client was applied using the servlets
at
all proper levels high-level care was taken to check that the system
manages
date
consistency
with
proper
business
validation.
About the Organization College
has
taken
a
standardized
decision
to
extend
its
services at the reach of the students and faculties, making the system more flexible and adaptable. The college has a group of different academic courses that are provided as virtue
of
College.
selection The
for
the
management
students has
who
taken
a
are
ing
decision
in
the its
technical meeting to make the system more flexible and that can be at the reach of the faculties and students. The system has students enrolling from different areas of the country and
world.
technical
The
system
courses,
with
provides a
vast
both
choice
technical of
and
electives
at
nonthe
reach of the students. The students can award any course of
their choice once they fulfill the norms as stated by the academic council of India. The student can get enrolled into only one course at a time and he is cornered to adopt the subjects available
that
are
options.
very
specific
The
system
to at
that any
course
print
of
from
the
time
can
communicate with respect to the standards and strategies for which a semester has been started. The major problem that is faced by the organization is in managing the profile status of each faculty and student with respect to their operational standards under the environment. The organization to speed up
the
entire
activity
has
launched
the
proposal
of
developing their portal, which can drastically decrease the overall burden and load upon the system. Why the New system? With
the
new
system
the
following
activities
gets
more
momentum. 1. The student, faculty or the s can view of access the information virtually from anywhere in the College promises. 2. The
faculties
have
the
flexibility
of
providing
the
student with all that material and information that is n e c e s s a r y. 3. The information related to exam and assignments are ported at the convenience of the faculties. 4. The students can gain hands on information related to the examination and assignments on which he need to get scheduled.
5. The students need not shuttle themselves around the istrative office for the sake of examination or fees payments information. 6. The
information
can
be
managed
in
a
standardized
database, which can always serve the process of search m u c h e a s i e r a n d f a s t e r. 7. The students can also avail their examination results through the systems itself. 8. The Students and istration
can have a plan of
action for the campus placements that can take place in near future as per the academic schedules.
REQUIREMENTS
Hardware Requirements
Pentium IV Processor. 128 MB RAM. 20GB Hard Disk space. Ethernet card with an Internet and Internet zone.
Software Requirements Windows
2000,Windows
XP
operating
and
Netscape
system. Internet
explorer
navigator. MS-Access. Java/J2EE. Tomcat 4.1,Tomcat 5.0
5.0
ACCESS,SERVLETS, JDBC,JSP,HTML
In my project, I have chosen Java language for developing the code.
About Java Initially the language was called as “oak” but it was renamed as “Java” in 1995. The primary motivation of this language was the need for a platformindependent (i.e., architecture neutral) language that could be used to create software to be embedded in various consumer electronic devices. Java is a programmer’s language. Java is cohesive and consistent. Except for those constraints imposed by the Internet environment, Java gives the programmer, full control. Finally, Java is to Internet programming where programming.
C was to system
Importance of Java to the Internet Java has had a profound effect on the Internet. This is because; Java expands the Universe of objects that can move about freely in Cyberspace. In a network, two categories of objects are transmitted between the Server and the Personal computer. They are: ive information and Dynamic active programs. The Dynamic, Self-executing programs cause serious problems in the areas of Security and probability. But, Java addresses those concerns and by doing so, has opened the door to an exciting new form of program called the Applet.
Java Virtual Machine (JVM) Beyond the language, there is the Java virtual machine. The Java virtual machine is an important element of the Java technology. The virtual machine can be embedded within a web browser or an operating system. Once a piece of Java code is loaded onto a machine, it is verified. As part of
the loading process, a class loader is invoked and does byte code verification makes sure that the code that’s has been generated by the compiler will not corrupt the machine that it’s loaded on. Byte code verification takes place at the end of the compilation process to make sure that is all accurate and correct. So byte code verification is integral to the compiling and executing of Java code.
Overall Description
Java Source
Java byte code
JavaVM
. Class
Java
Picture showing the development process of JAVA Program
Java programming uses to produce byte codes and executes them. The first box indicates that the Java source code is located in a. Java file that is processed with a Java compiler called javac. The Java compiler produces a file called a. class file, which contains the byte code. The. Class file is then loaded across the network or loaded locally on your machine into the execution environment is the Java virtual machine, which interprets and executes the byte code.
SERVLETS Introduction The Java web server is JavaSoft's own web Server. The Java web server is just a part of a larger framework, intended to provide you not just with a web server, but also with tools. To build customized network servers for any Internet or Intranet client/server system. Servlets are to a web server, how applets are to the browser.
About Servlets Servlets provide a Java-based solution used to address the problems currently
associated
with
doing
server-side
programming,
including
inextensible scripting solutions, platform-specific APIs, and incomplete interfaces. Servlets are objects that conform to a specific interface that can be plugged into a Java-based server. Servlets are to the server-side what applets are to the client-side - object byte codes that can be dynamically loaded off the net. They differ from applets in that they are faceless objects (without graphics or a GUI component). They serve as platform independent, dynamically loadable, plugable helper byte code objects on the server side that can be used to dynamically extend server-side functionality. For example, an HTTP Servlets can be used to generate dynamic HTML content. When you use Servlets to do dynamic content you get the following advantages:
They’re faster and cleaner than CGI scripts
They use a standard API (the Servlets API)
They provide all the advantages of Java (run on a variety of servers without needing to be rewritten).
Attractiveness of Servlets There are many features of Servlets that make them easy and attractive to use. These include:
Easily configured using the GUI-based tool
Can be loaded and invoked from a local disk or remotely across the network.
Can be linked together, or chained, so that one Servlets can call another Servlets, or several Servlets in sequence.
Can be called dynamically from within HTML pages, using server-side include tags.
Are secure - even when ing across the network, the Servlets security model and Servlets sandbox protect your system from unfriendly behavior.
Advantages of the Servlet API One of the great advantages of the Servlet API is protocol independence. It assumes nothing about:
The protocol being used to transmit on the net
How it is loaded
The server environment it will be running in
These qualities are important, because it allows the Servlet API to be embedded in many different kinds of servers. There are other advantages to the Servlet API as well. These include:
It’s extensible - you can inherit all your functionality from the base classes made available to you.
It’s simple, small, and easy to use.
Features of Servlets
Servlets are persistent. Servlet are loaded only by the web server and can maintain services between requests.
Servlets are fast. Since Servlets only need to be loaded once, they
offer
much
better
performance
over
their
CGI
counterparts.
Servlets are platform independent.
Servlets are extensible. Java is a robust, object-oriented programming language, which easily can be extended to suit your needs
Servlets are secure.
Servlets can be used with a variety of clients.
Loading Servlets Servlets can be loaded from three places From a directory that is on the CLASSPATH. The CLASSPATH of
the
JavaWebServer includes service root/classes/ which is where the system classes reside.
From the <SERVICE_ROOT /Servlets/ directory.
This is
*not* in the
server’s class path. A class loader is used to create Servlets from this directory. New Servlets can be added - existing Servlets can be recompiled and the server will notice these changes. From a remote location. For this a code base like http: // nine.eng / classes / foo / is required in addition to the Servlets class name. Refer to the GUI docs on Servlet section to see how to set this up.
Loading Remote Servlets Remote Servlets can be loaded by: 1. Configuring the Tool to setup automatic loading of remote Servlets 2. Setting up server side include tags in .shtml files 3. Defining a filter chain configuration
Invoking Servlets A Servlet invoker is a Servlet that invokes the "service" method on a named Servlet. If the Servlet is not loaded in the server, then the invoker first loads the Servlet (either from local disk or from the network) and the then invokes the "service" method. Also like applets, local Servlets in the server can be identified by just the class name. In other words, if a Servlet name is not absolute, it is treated as local. A client can invoke Servlets in the following ways:
The client can ask for a document that is served by the Servlet.
The client (browser) can invoke the Servlet directly using a URL, once it has been mapped using the Servlet Aliases section of the GUI.
The Servlet can be invoked through server side include tags.
The Servlet can be invoked by placing it in the Servlets/ directory.
The Servlet can be invoked by using it in a filter chain.
JavaScript JavaScript is a script-based programming language that was developed by Netscape Communication Corporation. JavaScript was originally called Live Script and renamed as JavaScript to indicate its relationship with Java. JavaScript s the development of both client and server components of Web-based applications. On the client side, it can be used to write programs that are executed by a Web browser within the context of a Web page. On the server side, it can be used to write Web server programs that can process information submitted by a Web browser and then updates the browser’s display accordingly Even though JavaScript s both client and server Web programming, we prefer JavaScript at Client side programming since most of the browsers s it. JavaScript is almost as easy to learn as HTML, and JavaScript statements can be included in HTML documents by enclosing the statements between a pair of scripting tags <SCRIPTS>.. . <SCRIPT LANGUAGE = “JavaScript”> JavaScript statements Here are a few things we can do with JavaScript:
Validate the contents of a form and make calculations.
Add scrolling or changing messages to the Browser’s status line.
Animate images or rotate images that change when we move the mouse over them.
Detect the browser in use and display different content for different browsers.
Detect installed plug-ins and notify the if a plug-in is required.
We can do much more with JavaScript, including creating entire application.
JavaScript Vs Java JavaScript and Java are entirely different languages. A few of the most glaring differences are:
Java applets are generally displayed in a box within the web document; JavaScript can affect any part of the Web document itself.
While JavaScript is best suited to simple applications and adding interactive features to Web pages; Java can be used for incredibly complex applications.
There are many other differences but the important thing to is that
JavaScript and Java are separate languages. They are both useful for
different things; in fact they can be used together to combine their advantages.
Advantages
JavaScript can be used for Sever-side and Client-side scripting. It is more flexible than VBScript. JavaScript is the default scripting languages at Client-side since all the browsers s it.
Hyper Text Markup Language
Hypertext Markup Language (HTML), the languages of the World Wide Web (WWW), allows s to produces Web pages that include text, graphics and pointer to other Web pages (Hyperlinks). HTML is not a programming language but it is an application of ISO Standard 8879, SGML (Standard Generalized Markup Language), but specialized to hypertext and adapted to the Web. The idea behind Hypertext is that instead of reading text in rigid linear structure, we can easily jump from one point to another point. We can navigate through the information based on our interest and preference. A markup language is simply a series of elements, each delimited with special characters that define how text or other items enclosed within the elements should be displayed. Hyperlinks are underlined or emphasized works that load to other documents or some portions of the same document. HTML can be used to display any type of document on the host computer, which can be geographically at a different location. It is a versatile language and can be used on any platform or desktop. HTML provides tags (special codes) to make the document look attractive. HTML tags are not case-sensitive. Using graphics, fonts, different sizes, color, etc., can enhance the presentation of the document. Anything that is not a tag is part of the document itself. Basic HTML Tags :
-->
Specifies comments
……….
Creates hypertext links
……….
Formats text as bold
……….
Formats text in large font.
…
Contains all tags and text in the HTML document
...
Creates text
…
Definition of a term
...
Creates definition list
…
Formats text with a particular font
Encloses a fill-out form
...
Defines a particular frame in a set of frames
…
Creates headings of different levels
...
Contains
tags
that
specify
information
about a document
...
Creates a horizontal rule
…