E learning resource Locator Project Report (J2EE)

32
Department of Computer Science & Engineering Project Report On E-LEARNING RESOURCE LOCATOR Shri Dharmasthala Manjunatheshwar College of Engineering &Technology Dharwad-580002 Team Members Chiranjeevi Adi 2SD11CS405 Veerabhadrappa Kallapur 2SD11CS436 Sanjunath Raye 2SD10CS087 Project Guide Basavaraj Vaddatti Asst. Professor Dept. of Computer Science & Engineering

description

Packages Used: NETBEANs IBM DB2

Transcript of E learning resource Locator Project Report (J2EE)

Page 1: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 1

Department of Computer Science & Engineering

Project Report On

E-LEARNING RESOURCE LOCATOR

Shri Dharmasthala Manjunatheshwar College of Engineering &Technology Dharwad-580002

Team Members

Chiranjeevi Adi 2SD11CS405 Veerabhadrappa Kallapur 2SD11CS436 Sanjunath Raye 2SD10CS087

Project Guide

Basavaraj Vaddatti Asst. Professor

Dept. of Computer Science & Engineering

Page 2: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 2

E-Learning Resource Locator

1. Introduction 1.1 Methodology----------------------------------------------------------------------------3 1.2 Definitions, Acronyms and Abbreviations---------------------------------------3 1.3 Tools to be used-----------------------------------------------------------------------3 1.4 Reference -------------------------------------------------------------------------------5 1.5 Technologies to be used------------------------------------------------------------6 2. Overall Descriptions 2.1 System Analysis-------------------------------------------------------------------------9 2.2 Scope of the project--------------------------------------------------------------------10 2.3 Existing System-------------------------------------------------------------------------10 2.4 Proposed System-----------------------------------------------------------------------11 2.5 Benefits of users/system--------------------------------------------------------------12 3. Special Requirements 3.1 Functional Requirements-------------------------------------------------------------13 3.2 System Design 3.2.1 UML Diagram----------------------------------------------------------------13 3.2.2 Use case Diagram----------------------------------------------------------14 3.2.3 Class Diagram---------------------------------------------------------------16 3.2.4 Sequence Diagram---------------------------------------------------------18 3.3 E-R Diagram-----------------------------------------------------------------------------20 3.4 Activity Diagram ------------------------------------------------------------------------21 3.5 Data Flow Diagram---------------------------------------------------------------------23 3.6 Table Description-----------------------------------------------------------------------25 3.7 Snapshots--------------------------------------------------------------------------------26

Page 3: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 3

1. Introduction: 1.1) Methodology “E Leaning-Resource Technology ” is education based website/software , helping students to get all resources & study materials of every courses available. It uses “E-Book” facility. It is reliable & time efficient approach compared to all links of the website provided by any search engine while searching for course materials. 1.2) Definitions, Acronyms and Abbreviations: DB2

Database_2.A database management system that provides a flexible and efficient database platform to maintain records of students, Professors, admin and domain.

JSP

Java Server Pages. It is used to create dynamic web content. J2EE

Java 2 Enterprise Edition. A programming platform which is a part of java platform for developing and running distributed java.

HTTP

Hypertext Transfer Protocol. It’s a service protocol. NetBeans

Eclipse is a multi-language software development environment comprising a base workspace and an extensible plug-in system for customizing the environment.

Page 4: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 4

1.3) Tools Used: Application architecture – JAVA, J2EE JAVA Java is an object-oriented programming language developed by Sun Microsystems a company best known for its high end UNIX workstations. Java language was designed to be small, simple, and portable across platforms, operating systems, both at the source and at the binary level, which means that Java programs (applet and application) can run on any machine that has the Java virtual machine (JVM) installed. J2EE Java Platform, Enterprise Edition or Java EE is a widely used platform for server programming in the Java programming language. The Java platform (Enterprise Edition) differs from the Java Standard Edition Platform (Java SE) in that it adds libraries which provide functionality to deploy fault-tolerant, distributed, multi-tier Java software, based largely on modular components running on an application server. Glash Fish: Glash Fish is an open source software implementation of the Java Servlet and Java Server Pages technologies. The Java Servlet and JavaServer Pages specifications are developed under the Java Community Process. Glash Fish is developed in an open and participatory environment and released under the glash fish License version .glash fish is intended to be a collaboration of the best-of-breed developers from around the world. Development tool –Net Beans Net Beans is a multi-language software development environment comprising a base workspace and an extensible plug-in system for customizing the environment. It is written mostly in Java. It can be used to develop applications in Java and, by means of various plug-ins, other programming languages including Ada, C, C++, COBOL, Fortran, Haskell, Perl, PHP, Python, R, Ruby (including Ruby on Rails framework), Scala, Clojure, Groovy, Scheme, and Erlang. It can also be used to develop packages for the software Mathematic. Development environments include the NetBeans Java development tools (JDT) for Java and Scala, NetBeans CDT for C/C++ and NetBeans PDT for PHP, among others. Database platform – DB2: DB2 Database is the database management system that delivers a flexible and cost effective database platform to build robust on demand business applications and supports the J2EE and web services standards.

Page 5: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 5

1.4) References: * Object Oriented Modeling and Design with UML-Michael Blaha, James Rambaugh. * Software Engineering, Seventh Edition, Ian Sommerville. * IBM TGMC Sample Synopsis. * IBM – www.ibm.in/developerworks . * Java - www.sun.com * Wikipedia - www.wikipedia.com * Database Management Systems - Navathe. * Complete Reference - J2EE - Keogh. 1.5) Technologies to be used:

DB2: Database Management System. Glash Fish. Net Beans.

Software Interface: Client on Intranet Web Browser, Operating System (any) Web Server Apache Tomcat, Operating System (any) Data Base Server DB2, Operating System (any) Development End Net Beans (J2EE, Java, Java Bean, Servlets, HTML, XML, AJAX), DB2, OS (Windows), Glash Fish (Web Server)

Page 6: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 6

Pictorial Representation:

Hardware Interface: Minimum Requirements:

Client Side

Processor RAM Disk Space

Internet Explorer – 6/Firefox

Intel Pentium III or AMD 800MHZ

128 MB 100 MB

Server Side

Processor RAM Disk Space

Net Beans db

Intel Pentium III or AMD 800MHZ

1 GB 4 gB

2 Overall Descriptions:

Page 7: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 7

About E-Learning Resource Locator: E-Learning Resource Locator is a web application designed

exclusively for SDMCET. The project is intended for Computer Science department

of the college.

Using this application all registered students can access the system.

The users of the system can access the required learning materials.

All registered Professors can upload learning materials for students.

The system makes it possible for the students to access all learning

materials from home and interact with the Professors and clarify their doubts on

different subjects.

The students can access notes on any subject. Notes are available

for the students of all branches. Students can download all notes, if they want to.

Moreover, power point presentations on all topics can be uploaded in

to the system.

Publication House can also be allowed to upload the information or

some materials to the students for their learning process and students can also

download those material.

The students can clarify their doubts with the Professors by posting

their questions into the forum.

Any registered professors are allowed to answers or reply to any

questions.

Page 8: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 8

2.1 System Analysis

The proposed E-Learning Resource System has the following features.

Only registered students and Professors can access the system.

Students can view and download all learning materials (notes, ppts).

Students can view ppts of topics which help them to grasp the topics easily.

Professors can upload all learning materials.

Students are allowed to discuss their doubts with the professor.

Students can post their questions into the discussion forum.

Registers professors are allowed to answer to the students questions.

Students are allowed to download the resources.

More than one professors are allowed to answer to the students questions.

Publication house also uploads some subject materials to the students.

The students are also downloading those materials which are uploaded by the

publication house.

Professors also download the materials which are uploaded by the publication

house.

2.2 Scope of the Project The proposed E-Learning system is simple to use for both Professors and

students. The proposed system includes the following.

Web-based access:

All users who have internet facility can access the system wherever and whenever they wish.

Document management:

System allows uploading and downloading of documents (pdfs, word documents, PPT).

Media management:

System allows uploading and downloading of ppts and pdf files.

Page 9: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 9

2.3 EXISTING SYSTEM: The World Wide Web (WWW or Web in short) E-Learning provides a simple

‘point and click’ means of exploring the immense volume of pages of information

residing on the Internet. Information on Web is presented on Web pages, which

appear as a collection of text, graphics, pictures. In addition, a Web page can

contain hyperlinks to other Web pages. Much of the Web’s success is due to the

simplicity with which it allows users to provide, use and refer to information

distributed geographically around the world.

E-LEARNING RESOURCE LOCATOR DRAWBACKS:

No authentication to access the data.

No access control.

No better security.

It is not time efficient approach.

No database security.

2.4 Proposed System

1. Digital Library

A Digital Library that provides all the learning materials for the

students. It should include notes and questions for each topic.

2. Power point presentations

Ppts of lectures can be uploaded into the system. This can be

viewed by all registered users.

3. Forum

The students can discuss their doubts with the Professors.

Page 10: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 10

2.5 Benefits for Users:

The users of the system include students, Professors, toppers of college and

mentors.

Students:

Students can easily access learning materials from anywhere at any time.

Notes and ppts on various topics are also available.

Students can also discuss with the Professors to clear their doubts.

Professors / Mentors:

Discussion forum is also provided for the users for expressing their views.

Professors can upload notes, ppts and pdf format.

Publication:

Publisher can upload some material to viewer.

Publisher can also provide the uploaded material for downloading.

Page 11: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 11

3. Special Requirements

3.1 Functional Requirements

1. Registration:

Only registered users should be able to access the resources in the system.

He must be able to add or delete new topics to the system.

Administrator must be able to add or delete users to the system.

2. Resources:

Professors must be able to upload documents, pdfs, and ppts files to the

system.

Students must be able to view and download the resources.

It should allow students to view ppts and pdfs.

3. Communication

Students must be able to communicate with the Professors to clear their

doubts.

Page 12: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 12

3.2 System Design

3.2.1 UML Diagrams

Activity diagrams are a loosely defined diagram technique for showing

workflows of stepwise activities and actions, with support for choice, iteration and

concurrency. In the Unified Modelling Language, activity diagrams can be used to

describe the business and operational step-by-step workflows of components in a

system. An activity diagram shows the overall flow of control.

In the Unified Modeling Language (UML), a class diagram is a type of

static structure diagram that describes the structure of a system by showing the

system's classes, their attributes, and the relationships between the classes.

Page 13: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 13

3.2.2 Use Case Diagram

The primary actors of the system are Professors and student and

publisher.

Register

Sign In

Search Material

ResourceUpload

ResourceDoenload

Interaction

Association

Sign out

Student Professor/Mentors

Publisher

Register

Sign In

Search Material

Resource Download

Resource Upload

Interaction

Association

Sign Out

Page 14: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 14

Documentation Of Use case Diagram:

i. Professors/Mentors

User role: Tutor

User functions:

a) Content creation, b) view learner’s progress, c) answering students questions.

ii. Students/Toppers of college: User role: Learner

User functions:

a) View learning materials, b) View personal progress, c) Interactive discussions

iii. Publication User Role: publisher User functions: a) upload some information. b) provide some materials.

Page 15: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 15

3.2.3 Class Diagram:

StudentUSN NoNameAddressEmail Id

view_details()download_resource()change_password()register()

ProfessorEmp_IdEmp_nameAddress

Download()Upload()Serch()Logini()Logout()

PersonNameIdAddres

Publication HousePub_IdPubliaction_nameAddressEmail_Id

Download()Upload()login()logout()

ResourceResource_idResource_typeSubject_nameAuthor_name

Uploads/Downloads

1Downloads

Uploads/Downloads

1..*

1..*

1..*

1..*

1..*

1..* 1..*1..*

1

Page 16: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 16

Documentation of Class Diagram:

Admin class:

Main class in an e-learning system is admin. Username, password/id and designation or email are the main attributes of this class.admin_user() is the method for user login.registration_user() is used for checking whether the username and password are valid.loging_user() is for logging in ans valid_loging_out() is for logging out from the system.

Student class: It has many attributes including username, password, usn no and email id. Download()method is used to view or download the files or material from the database. search() method is used to search the particular information by selecting some topic.

Professors class: It has many attributes including username, password, staff code. Download()method is used to view or download the files or material from the database. search() method is used to search the particular information by selecting some topic.

upload_file() is the method for uploading files.

Publication Class: It has many attributes like document code, author id, userlogin, password, and file types which should be uploaded by the house of publication using upload() function.

Page 17: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 17

3.2.4 Sequence Diagram

(a) Student

(b) Professors/Mentor

Page 18: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 18

3.3 E R Diagram

E R Diagram of E Learning Resource Locator:

Page 19: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 19

3.4 Activity Diagrams

System Activity Diagram: User Registration Diagram

Page 20: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 20

Activity Diagram: User Login

Page 21: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 21

DOCUMENTATION OF ACTIVITY DIAGRAM:

The user logs in to the system using his username & pwd. Then he selects

a topic and views the learning materials .During learning, he can use the chat facility

to clear doubts. Then he can take test by selecting the difficulty level. A timer is set

at the start of the test. If he is not able to complete within the given time period, then

marks are given for the marked questions only. If he completes within the given

period, then evaluation is done on submitting. He can also view the test record. If he

wants to improve his marks, he can repeat the learning process again.

3.5 Data Flow Diagrams

Introduction

DFD is very useful in understanding a system and can be effectively

used during analysis. A DFD shows the flow of data through a system. It views a

system as a function that transforms the inputs into desired outputs. Any complex

systems will not perform this transformation in a single step, and a data will typically

undergo a series of transformations before it becomes the output. The DFD aims to

capture the transformations that take place within a system to the input data so that

eventually the output data is produced. The agent that performs the transformation of

data from one state to another is called a process (or a bubble). So a DFD shows the

movement of data through the different transformations or the processes in the

system. Named circles show the process and named arrows entering or leaving the

bubbles represent data flows. A rectangle represents a source or sink and is a net

originator or consumer of data. A source or sink is typically outside the main system

of study.

Page 22: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 22

DFD WITH DETAILED EXPLANATION

Context level DFD:

This shows the context level diagram of the system. The users of the system are Professors, students, toppers of college and mentors.

Page 23: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 23

Level 0 DFD

Student:

Page 24: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 24

Professors:

Level 1 DFD

Process 1(Upload files)

This shows uploading of files by Professors.

Page 25: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 25

Process 2(View files)

Level2 DFD

Process-3 (Select topic)

This shows selecting a particular topic. The user needs to select the semester and the subject in order to access a particular topic.

Process-4 (Uploading to server)

This shows uploading files to server. The Professors needs to select the file type and browse the file from the local system to upload it to the server.

Page 26: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 26

3.6) Snapshots

Home Page

Page 27: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 27

AdministratorHomePage

Page 28: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 28

Add Professor Page

Page 29: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 29

Change Password Page:

Delete User Page:

Page 30: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 30

Upload Page:

Page 31: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 31

Download Resource Page:

Discussion Forum Home Page:

Page 32: E learning resource Locator Project Report (J2EE)

E-Learning Resource Locator

Tech Blazers Page 32

Add Query Page:

Reply To Query Page: