Professional Documents
Culture Documents
Abstract
Cloud computing infrastructure, the sharable e-Learning platform can be proposed to
provide a good learning environment for learners. Three layer architecture of the e-Learning
platform is provided to facilitate the sharing, reusing learning objects and interoperability among
various learning content efficiently. The middleware layer imports an indexing module and a
metadata transformation module to complete metadata exchange among acknowledged e-
Learning standards. Therefore, learners can make use of available learning objects without
having to be affiliated with other LMS. The proposed e-Learning platform based on Cloud
computing infrastructure would allow the independent LMS embedded in different e-Learning
standards to share the learning objects. In short, you can say cloud computing will help huge
amount of learning objects to be accessed reliably and flexibly over the Internet.
PROJECT DESCRIPTION
1
This project entitled as “E-LEARNING PLATFORM USING CLOUD COMPUTING” is
done in JSP as front end and MY SQL as back end. This project consists of following modules.
MODULES:
Admin
User
Career
Scholarship
Courses
IEEE Papers
Knowledge pool
Admin Login:
The admin has to login with username and password that is unique for him. After
authenticating the username and password is it is wrong he has to login again with appropriate
username and password. If it is correct, he can manage the web application. Admin can add
career related information like what are the courses one can do after puc and degree. The related
colleges information and eligibility for that career option. He can add the all the government and
private scholarships the student can get. The scholarship name, eligibility criteria for that
scholarship and the url link are provided. He can add the courses related to different engineering
domain such as programming, networking. The courses information is provided along the course
description and the useful youtube link.
User Login:
The user has to register with some required details in the web application where the
username and password are provided to each user and after the user has to login with that
username and password. After authenticating the username and password is it is wrong he has to
login again with appropriate username and password. If it is correct, he can access the contents
from web application.
User Career:
2
User can access career related information like what are the courses one can do after puc
and degree. The related colleges information and eligibility for that career option. He can view
the all the government and private scholarships. Get the scholarship name, eligibility criteria for
that scholarship and apply for the scholarship through the url link provided. He can know the
courses related to different engineering domain such as programming, networking. Access
course description and go for the provided youtube link for more information. He can download
the different IEEE papers through the url link given for that paper.
Career:
Completed Course
Career Course
College Name
Description
Completed Course includes some courses like BE, Bcom, BBA and others. User need to
choose any of the course which he completed so that he can get the Career Courses, College
Name for that career course and Description of the college.
SCHOLARSHIPS:
Name
Eligibility
Url
Description
In scholarships module admin provides different Scholarship Name, Eligibility for that
scholarship, Url link for the scholarship, by clicking on the link he can directly go that website
and Description about particular scholarship. User can search the particular scholarship.
Courses:
3
The “COURSES” module includes following options
Domain Name
Video
Title
Description
IEEE:
Title
Description
Download link
In this module some IEEE papers are provided by admin. Title contains the domains like
image processing, cloud computing, data mining, android etc. Description gives the title of the
paper. There is a Download link for downloading the particular paper.
KNOWLEDGE POOL:
Title
Description
Download link
In knowledge pool, Title contains the aptitude papers and competitive exams question
papers. Here Admin add those papers. Description contains the question paper names. User can
access those by using Download link. User is unable to modify the content.
4
CHAPTER 2
SOFTWARE PROJECT PLAN
This chapter discusses about the time schedule for the project, and it contains the Various
phases of the project.
7. Coding 35 days
8. Testing 5 days
5
CHAPTER 3
CUSTOMER REQUIREMENTS DETERMINATION
DISADVANTAGES
Low information sharing.
Spelling mistakes.
6
3.2 PROPOSED SYSTEM
There will be admin and user. Admin can dump the data in web application and manages,
controls all the activities of the application. The user has to register in the web application ad
fetch, view data which was added by admin. The web application is hosted in the cloud server.
Adding and fetching information by admin and user is done by using Mysql. E-Learning is
essential in current trend and combining ELearning with Cloud computing gives more benefits.
Cloud computing deliver services autonomously based on demand and provides sufficient
network access, data resource environment and flexibility by keeping this point in view,
implementation of system will be done.
ADVANTAGES
7
CHAPTER 4
SOFTWARE REQUIREMENTS SPECIFICATION
The project must satisfy the End user requirements. Accuracy and fast must be imposed
in this project.
The project is developed as easy as possible for the sake of end user. The project has to
be developed with a view of satisfying the future requirements and future enhancement.
This project has been finally implemented satisfying the needs specified by the company.
As per as the performance is concerned this system said is performing well. The processing times
as well as time taken to generate reports were also very less even when large amount of data was
used. The system is designed in such a way that even when large amount of data are used for
processing there would less performance degradation
During a requirements-gathering session for major new information system, key users
asked the attributes of the web-oriented graphical interface.
Most interface constraints and restrictions that are imposed by a designer are intended to
simplify the mode of interaction.
The user interface should move into the virtual world of the application. The user should
not be aware of the operating system, file management functions, or other arcane computing
technology .A user should never be required to type operating system commands from within
Web application software.
8
The user feels a sense of control when able to manipulate the objects that are necessary to
perform a task in a manner similar to what would occur if the object were physical thing.
The database or databases that are being failed over to the standby server cannot be used
for anything else. But databases on the standby server not being used for failover can still be
used normally.
When it comes time for the actual failover, you must do one of two things to make your
applications work: either rename the standby server the same name as the failed production
server (and the IP address), or re-point your user's applications to the new standby server. In
some cases, neither of these options is practical.
9
4.5 RESOURCE REQUIREMENTS
RAM : 4 GB
10
4.6 SECURITY REQUIREMENTS
Web Applications are available via network access, it is difficult, if not possible, to limit
the population of End-users who may access the application, In order to protect sensitive content
and provide secure modes of data transmission, strong security measures must be implemented
throughout the infrastructure that supports a Web Application and within the application itself.
For these and many other reasons, Web Application security is paramount in many
situations. The key measure of security is the ability of the Web Application and its server
environment to rebuff unauthorized access and/or thwart an outright malevolent attack.
11
A software component that is developed for reuse would be verified to be correct and
would contain no defects. In reality, formal verification is not carried out routinely, and defects
can and do occur. However, with each reuse, defects are found eliminated, and a component’s
quality improves as a result. Over time, the component becomes virtually defect free.
Recovery
CHAPTER 5
12
SYSTEM ANALYSIS
Admin User
Login Register
Database
13
Admin
Level 0
Details DB
Level 1
Level 2
Level 3
Admin Course DB
Course
Level 4
Level 5
14
Level 6
User
Level 0
Details DB
Level 1
15
Level 3
Level 4
16
5.2 USE CASE DIAGRAM
Login
Add Career
View User
Information
Customer
View Career
View Courses
View
Scholarship
IEEE Papers
Knowledge
Pool
17
5.3 UML
Admin User
Login Register
RESPONSE
QUERY
18
5.4 CASE TOOL FOR ANALYSIS
CASE BUILDING BLOCKS
CASE Tools
Integration Framework
Portability Services
Operating System
Hardware Platform
Environment Architecture
The compilers, editors and debuggers those are available to support most conventional
programming languages. Web development tools include to the generation of text, graphics,
forms, scripts and other elements of a web page.
19
CHAPTER 6
DESIGN
In this project, the end user gives the input through the predefined options. For
administrator the input is given through the JSP to the database.
In accurate input data is the most common cause of errors in data processing .Input design is the
process of converting user oriented inputs into a computer based format. the goal of designing is
to make data entry as easy, logical and from errors as possible.
The input forms are designed to be user friendly. Meaningful labels are given to input
fields. Immediate validations are done for each input from the user so that the individual inputs
are not sending to the gateway.
The input forms are designed so that they provide proper links to the other forms. Each
screen has the provision to view the home previous and next page.
The Administrator can create a new user, edit the existing user, delete the existing user
and view all user information. But the normal user can only view the user information and edit
his / her profile such as First name, last name, and password and so on
6.1.1 NORMALIZATION
A relation is said to be in second normal form is it is in first normal form and it should
satisfy any one of the following rules;
20
SECOND NORMAL FORM
A relation is said to be in 2NF if and only if it is in 1NF and every non key attribute is
fully functional dependent on the primary key.
The relation users are in 2NF, because every non-key attribute such as Name, Password
are fully functional dependent on the primary key User Id.
21
6.2 TABLE AND DATABSE DESIGN
CAREER
COURSE
IEEE
22
KNOWLEDGE POOLING
REGISTRATION:
SCHOLARSHIP
23
6.3 OUTPUT DESIGN
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In any system results of processing are communicated to the users and to
other system through outputs. In output design it is determined how the information is to be
displaced for immediate need and also the hard copy output. It is the most important and direct
source information to the user. Efficient and intelligent output design improves the system’s
relationship to help user decision-making.
1. Designing computer output should proceed in an organized, well thought out manner; the right
output must be developed while ensuring that each output element is designed so that people will
find the system can use easily and effectively. When analysis design computer output, they
should Identify the specific output that is needed to meet the requirements.
3.Create document, report, or other formats that contain information produced by the system.
The output form of an information system should accomplish one or more of the following
objectives.
24
6.5 FRONT END DESIGN
JAVA
In the early nineties, Java was created by a team led by James Gosling for Sun
Microsystems. It was originally designed for use on digital mobile devices, such as cell phones.
However, when Java 1.0 was released to the public in 1996, its main focus had shifted to use on
the Internet. It provided more interactivity with users by giving developers a way to produce
animated webpage’s. Over the years it has evolved as a successful language for use both on and
off the Internet. A decade later, it’s still an extremely popular language with over 6.5million
developers worldwide.
Easy to Use: The fundamentals of Java came from a programming language called c++.
Although c++ is a powerful language, it was felt to be too complex in its syntax, and
inadequate for all of Java's requirements. Java built on, and improved the ideas of c++, to
provide a programming language that was powerful and simple to use.
Reliability: Java needed to reduce the likelihood of fatal errors from programmer
mistakes. With this in mind, object-oriented programming was introduced. Once data and
its manipulation were packaged together in one place, it increased Java’s robustness.
Secure: As Java was originally targeting mobile devices that would be exchanging data
over networks, it was built to include a high level of security.
25
Platform Independent: Programs needed to work regardless of the machine they were
being executed on. Java was written to be a portable language that doesn't care about the
operating system or the hardware of the computer.
The Java programming language is a high-level language that can be characterized by all
of the following buzzwords:
Multithreaded Robust
Dynamic Secure
In the Java programming language, all source code is first written in plain text files
ending with the .java extension. Those source files are then compiled into .class files by the
javac compiler. A .class file does not contain code that is native to your processor; it instead
contains BYTE CODES — the machine language of the Java Virtual Machine (Java VM). The
java launcher tool then runs your application with an instance of the Java Virtual Machine.
26
THE JAVA PLATFORM
You've already been introduced to the Java Virtual Machine; it's the base for the Java
platform and is ported onto various hardware-based platforms.
The API is a large collection of ready-made software components that provide many useful
capabilities. It is grouped into libraries of related classes and interfaces; these libraries are known
as packages.
As a platform-independent environment, the Java platform can be a bit slower than native
code. However, advances in compiler and virtual machine technologies are bringing performance
close to that of native code without threatening portability.
27
The general-purpose, high-level Java programming language is a powerful software platform.
Every full implementation of the Java platform gives you the following features:
Development Tools: The development tools provide everything you'll need for
compiling, running, monitoring, debugging, and documenting your applications. As a
new developer, the main tools you'll be using are the javac compiler, the java launcher,
and the javadoc documentation tool.
Application Programming Interface (API): The API provides the core functionality of
the Java programming language. It offers a wide array of useful classes ready for use in
your own applications. It spans everything from basic objects, to networking and
security, to XML generation and database access, and more. The core API is very large;
to get an overview of what it contains, consult the Java Platform Standard Edition 7
Documentation.
Deployment Technologies: The JDK software provides standard mechanisms such as the
Java Web Start software and Java Plug-In software for deploying your applications to end
users.
User Interface Toolkits: The Swing and Java 2D toolkits make it possible to create
sophisticated Graphical User Interfaces (GUIs).
Integration Libraries: Integration libraries such as the Java IDL API, JDBC™ API,
Java Naming and Directory Interface™ (JNDI) API, Java RMI, and Java Remote Method
Invocation over Internet Inter-ORB Protocol Technology (Java RMI-IIOP Technology)
enable database access and manipulation of remote objects.
Get started quickly: Although the Java programming language is a powerful object-
oriented language, it's easy to learn, especially for programmers already familiar with C
or C++.
Write less code: Comparisons of program metrics (class counts, method counts, and so
on) suggest that a program written in the Java programming language can be four times
smaller than the same program written in C++.
28
Write better code: The Java programming language encourages good coding practices,
and automatic garbage collection helps you avoid memory leaks. Its object orientation, its
JavaBeans™ component architecture, and its wide-ranging, easily extendible API let you
reuse existing, tested code and introduce fewer bugs.
Develop programs more quickly: The Java programming language is simpler than C++,
and as such, your development time could be up to twice as fast when writing in it. Your
programs will also require fewer lines of code.
Avoid platform dependencies: You can keep your program portable by avoiding the use
of libraries written in other languages.
Write once, run anywhere: Because applications written in the Java programming
language are compiled into machine-independent byte codes, they run consistently on any
Java platform.
29
6.6 BACK END DESIGN
MY SQL
MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses. MySQL
is developed, marketed and supported by MySQL AB, which is a Swedish company. MySQL is
becoming so popular because of many good reasons −
MySQL is a very powerful program in its own right. It handles a large subset of
the functionality of the most expensive and powerful database packages.
MySQL works on many operating systems and with many languages including
PHP, PERL, C, C++, JAVA, etc.
MySQL works very quickly and works well even with large data sets.
MySQL is very friendly to PHP, the most appreciated language for web
development.
FEATURES OF MYSQL:
The following list shows the most important properties of MySQL. This section is
directed to the reader who already has some knowledge of relational databases. We will
30
use some terminology from the relational database world without defining our terms
exactly. On the other hand, the explanations should make it possible database novices to
understand to some extent what we are talking about.
Relational Database System: Like almost all other database systems on the market,
MySQL is a relational database system.
Almost all of the familiar large database systems (Oracle, Microsoft SQL Server, etc.) are
client/server systems. These are in contrast to the file-server systems, which include Microsoft
Access, dBase and FoxPro. The decisive drawback to file-server systems is that when run over a
network, they become extremely inefficient as the number of users grows. Ease of Use &
Administration Ease of use has been a design goal for MySQL since its inception. MySQL offers
exceptional quick-start capability with the average time from software download to installation
completion being less than fifteen minutes. Once installed, self management features like
automatic space expansion, auto-restart, and dynamic configuration changes take much of the
burden off already overworked database administrators. The visual database design,
development, administration and monitoring tools delivered within MySQL Enterprise Edition
and presented later in this document further enhance MySQL’s ease of use and administration.
The LAMP Stack Describing why MySQL became the #1 database choice for web-based
applications would not be complete without mentioning the LAMP stack. LAMP (standing for
Linux, Apache, MySQL, PHP/Perl/Python) became the leading open source web platform,
adopted by a large majority of popular Web sites across the world including Facebook, Google,
Twitter, YouTube, Craiglist and Zappos. LAMP is chosen by savvy IT leaders as a way to
improve operational efficiency and reduce IT infrastructure costs.
31
Web-based applications must typically be available 24/7. Downtime can be extremely
detrimental to customer loyalty, and potentially very costly. Web properties need their database
platform to exhibit high code quality, fault tolerance, rapid restart & restore, dynamic adaptation
to increasing workload as well as simple upgrades and easy maintenance operations.
There are two flavors of Database Management System (DBMS) known as shared-file
and client-server. A shared file based DBMS consists of a database access application which
interacts directly with the underlying database files. These types of database are typically
designed for less demanding data storage needs and are used almost exclusively on desktop
computers. Microsoft Access is a typical example of this category of DBMS. Such database
systems are never used in distributed or enterprise level environments. MySQL falls into the
client-server DBMS category. A client-server DBMS is split into two components. The server
component typically resides on the same physical computer as the database files and is
responsible for all interactions with the database. The second component is the client. The client
sends all database requests to the server which in turn processes the request and returns the
results of the request back to the client.
32
There are a couple of key advantages to the client-server architecture DBMS. Firstly, there is no
need for the client to be running on the same computer system as the server. Instead, requests can
be sent by the client over a network or internet connections to the server on a remote host. The
fact that the server resides on a remote computer is invisible to the client user. This makes the
database available to greater numbers of users than a shared-file DBMS offers. In large scale
enterprise environments this also allows high levels of fault tolerance and load balancing to be
implemented. Secondly, separating the client from the server allows a wider range of client types
to be used to access the database. Valid clients can be the MySQL tools, applications written in
other programming languages such as C, C++ or Java, or web based applications developed
using languages such as PHP or JSP).
33
6.7 ALGORITHM USED
ADMIN:
USER:
34
CHAPTER 7
IMPLEMENTATION AND TESTING
7.1 PROGRAMS
ADMIN LOGIN
<html>
<body>
<form action="adminlogin.jsp">
<center>
<%
try
35
{
String u=request.getParameter("t1");
String p=request.getParameter("t2");
if(request.getParameter("b1")!=null)
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
ps.setString(1,u);
ps.setString(2,p);
ResultSet rs=ps.executeQuery();
if(rs.next())
response.sendRedirect("admin.html");
else
%>
<script>
alert("Login Failed");
36
</script>
<%
}}}
catch(Exception e)
out.println(e);
%>
</center></table>
</form></body>
</html>
CHANAGE PASSWORD
<html>
<body>
<form action="achagepassword.jsp">
<center>
37
username" name=t></tr>
name=b1></th></tr>
<%
try
String u=request.getParameter("t");
String c=request.getParameter("t1");
String p=request.getParameter("t2");
String r=request.getParameter("t3");
if(request.getParameter("b1")!=null)
if(p.equals(r))
38
Class.forName("com.mysql.jdbc.Driver");
Connection con=DriverManager.getConnection
("jdbc:mysql://localhost:3306/learning","root","root");
ps.setString(1,p);
ps.setString(2,c);
ps.setString(3,u);
int x=ps.executeUpdate();
if(x>0)
%>
<script>
alert("Update Success");
</script>
<%
else
%><script>
39
alert("Update Failed");
</script>
<%
}}
}}
catch(Exception e){
out.println(e);
%>
</center>
</table>
</form>
</body>
</html>
CAREER PORT
<html>
<body bgcolor=pink>
<form action="careerport.jsp">
<center>
40
<table cellpadding=5 cellspacing=5>
<option>B.E</option>
<option>B.Sc</option>
<option>BCA</option>
<option>MCA</option>
<option>M.Sc</option>
</select></tr>
<tr><td>Description</td><td><textarea name=t4></textarea></tr>
<%
try
String a=request.getParameter("t1");
String b=request.getParameter("t2");
String c=request.getParameter("t3");
String d=request.getParameter("t4");
41
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
if(request.getParameter("b1")!=null)
ps.setString(1,a);
ps.setString(2,b);
ps.setString(3,c);
ps.setString(4,d);
int x=ps.executeUpdate();
if(x>0)
%>
<script>
alert("Register Success");
</script>
<%
}}}
catch(Exception e)
out.println(e);
42
}
%>
</center>
</table>
</form>
</body>
</html>
ADD COURSE
<html>
<body bgcolor=pink>
<form action="course.jsp">
<center>
<tr><th colspan=2>COURSE</th></tr>
43
<tr><td>Link3</td><td><input type=text placeholder="enter Url" name=t5></tr>
<%
try
String a=request.getParameter("t1");
String b=request.getParameter("t2");
String c=request.getParameter("t3");
String d=request.getParameter("t4");
String e=request.getParameter("t5");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
if(request.getParameter("b1")!=null)
ps.setString(1,a);
ps.setString(2,b);
ps.setString(3,c);
ps.setString(4,d);
ps.setString(5,e);
44
int x=ps.executeUpdate();
if(x>0)
%>
<script>
alert("Insert Success");
</script>
<%
}}}
catch(Exception e)
out.println(e);
%>
</center>
</table>
</form></body></html>
IEEE
<html>
45
<body bgcolor=pink>
<form action="ieee.jsp">
<center>
<%
try
String a=request.getParameter("t1");
String b=request.getParameter("t2");
String c=request.getParameter("t3");Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
if(request.getParameter("b1")!=null)
ps.setString(1,a);
46
ps.setString(2,b);
ps.setString(3,c);
int x=ps.executeUpdate();
if(x>0)
%>
<script>
alert("Insert Success");
</script>
<%
catch(Exception e)
out.println(e);
%>
</center>
</table>
</form>
</body>
47
</html>
REGISTER
<html>
<body bgcolor=pink>
<form action="register.jsp">
<center>
<tr><td>Address</td><td><textarea name=ta></textarea></tr>
48
<tr><th><input type=submit value="SUMBIT" name=b1></th><th><input type=reset
value="CLEAR" name=b1></th></tr>
<%
try
String a=request.getParameter("t1");
String b=request.getParameter("r1");
String ad=request.getParameter("ta");
String c=request.getParameter("t2");
String d=request.getParameter("t3");
String e=request.getParameter("t4");
String f=request.getParameter("t5");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
if(request.getParameter("b1")!=null)
ps1.setString(1,d);
ResultSet rs=ps1.executeQuery();
if(rs.next())
49
{
%>
<script>
</script>
<%
else
ps.setString(1,a);
ps.setString(2,b);
ps.setString(3,ad);
ps.setString(4,c);
ps.setString(5,d);
ps.setString(6,e);
ps.setString(7,f);
int x=ps.executeUpdate();
if(x>0)
%>
<script>
50
alert("Register Success");
</script>
<%
}}}}
catch(Exception e)
out.println(e);
%>
</center>
</table></form></body></html>
SCHOLARSHIP
<html>
<body bgcolor=pink>
<form action="scholarship.jsp">
<center>
<tr><th colspan=2>SCHOLARSHIP</th></tr>
51
<tr><td>Eligibility</td><td><input type=text placeholder="Eligibility" name=t2></tr>
<tr><td>Description</td><td><textarea name=t4></textarea></tr>
<%
try
String a=request.getParameter("t1");
String b=request.getParameter("t2");
String c=request.getParameter("t3");
String d=request.getParameter("t4");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
if(request.getParameter("b1")!=null)
ps.setString(1,a);
ps.setString(2,b);
ps.setString(3,c);
ps.setString(4,d);
52
int x=ps.executeUpdate();
if(x>0)
%>
<script>
alert("Register Success");
</script>
<%
}}}
catch(Exception e)
out.println(e);
%>
</center>
</table>
</form>
</body>
</html>
VIEW CAREER
53
<%@ page import="java.util.*;"%>
<html>
<body>
<form action="sviewcareer.jsp">
<center><br>
<%
try
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
ResultSet rs=ps.executeQuery();
%>
</table>
<br><br><br>
<%
while(rs.next())
54
%>
<tr>
<td><%=rs.getString(2)%>
<td><%=rs.getString(3)%>
<td><%=rs.getString(4)%></tr>
<%
}}
catch(Exception e)
out.println(e);
%>
</center>
</table>
</form></body></html>
VIEW COURSE
55
<html>
<body>
<form action="sviewcourse.jsp">
<center><br>
<%
try
String s=request.getParameter("t1");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
ResultSet rs=ps.executeQuery();
%>
<tr><th>DOMAIN<th>TITLE</tr>
<%
while(rs.next())
%>
<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>
56
</tr>
<%
}}
catch(Exception e)
out.println(e);
%>
</center>
</table>
</form>
</body>
</html>
VIEW IEEE
<html>
<body>
57
<form action="sviewieee.jsp">
<center><br>
<%
try
String a="";
String s=request.getParameter("t1");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
ps.setString(1,a);
ResultSet rs=ps.executeQuery();
%>
<tr><th>DOMAIN<th>TITLE</tr>
<%
while(rs.next())
%>
<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>
58
</tr>
<%
}}
catch(Exception e)
out.println(e);
%>
</center>
</table>
</form>
</body>
</html>
<html>
59
<body>
<form action="sviewknow.jsp">
<center><br>
<%
try
String s=request.getParameter("t1");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
ResultSet rs=ps.executeQuery();
%>
<tr><th>DOMAIN<th>TITLE</tr>
<%
while(rs.next())
%>
<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>
</tr>
60
<%
}}
catch(Exception e)
out.println(e);
%>
</center>
</table>
</form>
</body>
</html>
VIEW SCHOLARSHIP
<html>
<body>
<form action="sviewscholarship.jsp">
61
<center><br>
<%
try
String s=request.getParameter("t1");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
ResultSet rs=ps.executeQuery();
%>
<tr><th>SCHOLAR NAME<th>ELIGIBILITY</tr>
<%
while(rs.next())
%>
<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>
</tr>
<%
62
}
catch(Exception e)
out.println(e);
%>
</center>
</table>
</form>
</body>
</html>
<html>
<body>
<form action="userinfo.jsp">
<center><br>
63
<table border=4 cellpadding=5 cellspacing=5>
<%
try
String s=request.getParameter("t1");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
ResultSet rs=ps.executeQuery();
%>
<tr><td>NAME<td>GENDER<td>ADDRESS<td>PHONENUMBER<td>E-MAIL
ID<td>USER NAME</tr>
<%
while(rs.next())
%>
<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>
<td><%=rs.getString(3)%><td><%=rs.getString(4)%>
<td><%=rs.getString(5)%><td><%=rs.getString(6)%></tr>
<%
64
}}
catch(Exception e)
out.println(e);
%>
</center></table></form></body></html>
USER LOGIN
<html>
<body>
<form action="userlogin.jsp">
<center>
65
<tr><th colspan=2><a href="uchagepassword.jsp">Change Password</a></th></tr>
<%
try
String u=request.getParameter("t1");
String p=request.getParameter("t2");
if(request.getParameter("b1")!=null)
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
ps.setString(1,u);
ps.setString(2,p);
ResultSet rs=ps.executeQuery();
if(rs.next())
response.sendRedirect("user.html");
else
66
{
%>
<script>
alert("Login Failed");
</script>
<%
}}}
catch(Exception e)
out.println(e);
%>
</center></table></form></body></html>
SEARCH CAREER
<html>
<body>
<form action="viewcareer.jsp">
<center><br>
67
<table border=2 cellpadding=5 cellspacing=5>
<option>B.E</option>
<option>B.Sc</option>
<option>BCA</option>
<option>MCA</option>
<option>M.Sc</option>
</select></tr>
<%
try
if(request.getParameter("b1")!=null)
String s=request.getParameter("t1");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
ps.setString(1,s);
68
ResultSet rs=ps.executeQuery();
%>
</table>
<br><br><br>
<%
while(rs.next())
%>
<tr>
<td><%=rs.getString(2)%>
<td><%=rs.getString(3)%>
<td><%=rs.getString(4)%></tr>
<%
}}}
catch(Exception e)
out.println(e);
%>
</center>
69
</table>
</form>
</body>
</html>
VIEW COURSE
<html><body>
<form action="viewcourse.jsp">
<center><br>
<%
try
String s=request.getParameter("t1");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");
70
ResultSet rs=ps.executeQuery();
%>
<%
while(rs.next()){
%>
<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>
<td><a href=<%=rs.getString(3)%>><%=rs.getString(3)%></a>
<td><a href=<%=rs.getString(4)%>><%=rs.getString(4)%></a>
<td><a href=<%=rs.getString(5)%>><%=rs.getString(5)%></a></tr>
<%
}}
catch(Exception e)
out.println(e);
%>
</center>
</table></form>
</body></html>
71
7.2 TESTING
The purpose of testing is to discover errors. Testing is the process of trying to discover
every conceivable fault or weakness in a work product. It provides a way to check the
functionality of components, sub assemblies, assemblies and/or a finished product It is the
process of exercising software with the intent of ensuring that the
Software system meets its requirements and user expectations and does not fail in an
unacceptable manner. There are various types of test. Each test type addresses a specific testing
requirement.
Unit testing is usually conducted as part of a combined code and unit test phase of the
software lifecycle, although it is not uncommon for coding and unit testing to be conducted as
two distinct phases.
Test objectives
All field entries must work properly.
Pages must be activated from the identified link.
The entry screen, messages and responses must not be delayed.
72
Features to be tested
Verify that the entries are of the correct format
No duplicate entries should be allowed
All links should take the user to the correct page.
7.3.2 INTEGRATION TESTING
Integration tests are designed to test integrated software components to determine if they
actually run as one program. Testing is event driven and is more concerned with the basic
outcome of screens or fields. Integration tests demonstrate that although the components were
individually satisfaction, as shown by successfully unit testing, the combination of components is
correct and consistent. Integration testing is specifically aimed at exposing the problems that
arise from the combination of components.
integration testing is the incremental integration testing of two or more integrated software
components on a single platform to produce failures caused by interface defects.
The task of the integration test is to check that components or software applications, e.g.
components in a software system or – one step up – software applications at the company level –
interact without error.
Test Results: All the test cases mentioned above passed successfully. No defects encountered.
73
Organization and preparation of functional tests is focused on requirements, key functions, or
special test cases. In addition, systematic coverage pertaining to identify Business process flows;
data fields, predefined processes, and successive processes must be considered for testing.
Before functional testing is complete, additional tests are identified and the effective value of
current tests is determined.
74
CHAPTER 8
CONCLUSION
75
REFERENCES
BOOKS:
1. “Object Oriented Programming with Java” - E.Balagurusamy
Published By Oracle.
5. “Head First Servlet And Jsp” – Kathy Sierra & Bert Bates
Published By O’Reilly.
WEB REFERRING:
https://www.owasp.org/index.php/Java_Security_Resources
http://www.j2ee-security.net/book/sample-chap/
http://www.murach.com/books/jse6/ides.html3
http://www.murach.com/servlet/murach.downloads.DownloadServlet?file=jse6_eclipse
_tutorial.pdf&code=jse6&description=Eclipse%20tutorial
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/JavaSE6_build39.html
http://www.webopedia.com/TERM/J/Java.html
http://www.site.uottawa.ca/~tcl/javapres/limitations.html
76
ABBREVIATIONS USED
NF-Normal Form
77
APPENDIX
OUTPUTS
HOME
78
ADMIN LOGIN
ADMIN
79
CAREER PORT
80
SCHOLARSHIP
81
COURSE
82
IEEE PAPERS
83
KNOWLEDGE POOLING
84
USER INFO
85
USER LOGIN
86
VIEW CAREER
87
SCHOLARSHIP INFORMATION
COURSE INFORMATION
88
IEEE PAPERS
KNOWLEDGE
89
CAREER
SCHOLARSHIP
90
IEEE PAPER
KNOWLEDGE POOLING
91
USER REGISTER
92