Academic Dairy For Web Technologies

coldwaterphewΔιακομιστές

17 Νοε 2013 (πριν από 3 χρόνια και 8 μήνες)

97 εμφανίσεις






III B.

Tech II Semester


Academic Dairy

For

Web Technologies

Faculty: Ms
.

G. Lavanya and Mr
.

M
.

Bhaskar






Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




2




Unit
-
I
:

HTML Common tags
-

List, Tables, images, forms, Frames; Cascading Style
sheets;

Objectives
:

The major objectives of this unit are to l
earn:

1.

Web page design by html

2.

How

to prepare tables, forms and linking images

3.

How

css gives new look to the web page

Lecture Plan
:

S.

No


Name Of The Topic

No Of
lectures

1

Basic HTML Tags.

02

2

Lists&

Tables.

02

3

Images,

Frames,

Forms.

03

4

Cascading Style Sheets.

02



Total Classes

09

Assignment Questions:

1)

How HTML is useful in Web Designing?
And

Explain its Uses

2
) Explain HTML
forms and Table

tags with an example?

3)write the advantages of css over html and explain various types of

css?




Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




3




CASE STUDIES

1. Creat
e a web page that displays grade of a student

2.
Create a web page that displays clouds. Jpg image stored in Windows directory of C
drive. First display image 200 pixels as width and 150 pixels as height. Then make it
100% size
. And again make it to 50% size. Finally display original image
.

3. Create a web page for displaying Student Admission Form. Display
SNO,SNAME,PASSWORD(password),GENDER((RADIO, Male or Female),Request Hostel
Facility(Checkbox),Address(text area),Course Nam
e(combo box),submit and reset
buttons.

4. Create a web page to display result of various relational operators by comparing
values 35 and 45.Display the result in a tabular form

5. Create a web page to display a form with three text fields, two for acceptin
g numbers
and third one displaying result. Form should contain four buttons with labels ADD,
SUBTRACT, MULTIPLY, and DIVIDE. Perform the respective arithmetic operation and
display the result in the third text box


Unit
-
II
:

Introduction to Java Scripts, Ob
jects in Java Script, Dynamic HTML with
Java Script

Objectives
:

The major objectives of this unit are:

1.

To
introduce

the
Java Scripting
.

2.

How to design pages using Java Script.

3.

Various DHTML tags.


Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




4




4.

Write
Differences between DHTML and JavaScript.

L
ecture Plan
:

S.

No

Name Of The Topic

No Of
lectures

1

Introduction To Java Script.

02

2

Objects in java script.

03

3

Dynamic style sheets.

02


Total Classes

08


Assignment Questions:


1)
(a)
Describe the primitive data types that JavaScript uses.

(b) Write a script that reads an integer and determines and
displays

whether

it is

2)
Explain JavaScript objects and list some JavaScript objects?

3)
What is event model? Write a script to demonstrate ONCLICK event?

CASE STUDIES
:

1.Write a script that us
es relational and equality operators to compare two strings
input by the user through an HTML form, output in a HTML text area to check whether
the first string is less than or equal to second string.

2. Use four different functions for accepting data, f
inding sum, average calculation and
to find largest among them. Every time display the data along with output. User four
buttons to call the respective functions

3. Use the screen object to get the users screen, and then use information to place an
image i
n the middle of the page

4. Is JavaScript supports error handling? If it supports describe the mechanisms to
handle them


Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




5





UNIT
-
III
:

XML: Document type definition, XML Schemas, Document Object model,
Presenting XML, Using XML Processors: DOM and SAX

Objecti
ves
:

The major objectives of this unit are:

1.

To introduce the
extensible

Markup Language

2.

Difference between various other Markup Languages compared to XML

3.

DOM and SAX parsers

Lecture Plan
:

S.

No

Name Of The Topic

No Of
lectures

1

XML:

Document typ
e definition,

XML Schemas.

02

2

Document object model,

Presenting XML.

03

3

Using XML Processors:

DOM&SAX.

04


Total Classes

09

Assignment Questions:

1)

Explain the basic structure of an XML document and highlight the
advantages of XML over HTML.


2)
Explain the following terms related to Document Type Definition:

i. elements

ii. Attributes & entities

iii. Internal & external entities.


3) Explain

the usage of the following XSL elements:


i. apply
-
templates ii.
Attribute

iii.
Eval IV
.
Te
mplate


Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




6





V
. value
-

of
VI
.
Choose
.



3)

Explain about XML Processors.


4) Discuss in detail about Document Object Model.

CASE STUDIES
:

1.
Create a DTD for a catalog of four
-
stroke motor bikes, where each
motorbike has the
following child elem
ents
-
make, model, year, engine, chasis number and accessories. The
engine element has the child elements engine number, number of cylinders, type of
fuel. The acceeories element has the attributes like disc brake, auto
-
start and radio,
each of which is req
uired and has the possible values yes and no. Entities must be
declared for the names of the popular motor makes


UNIT
-
IV
:

Java Beans: Introduction to Java Beans, Advantages of Java Beans, BDK

Introspection, Using Bound properties, Bean Info
Interface, Con
strained

properties. Persistence, Customizes, Java Beans API, Introduction to EJB’s.

Objectives
:

The major objectives of this unit are:

1.

To define a Java Bean and its various advantages.

2.

Creating a Java Bean.

3.

A brief overview of Java Beans API.

Le
cture Plan

S.No

Name Of The Topic

No Of
lectures


Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




7




1

Introduction to Java beans,

Advantages.

02

2

BDK
Introspection, using

bound properties,
constrained properties.

03

3

Java Beans API
, Introduction

to EJB’S
.

03


Total Classes

08

Assignment Questions:

1
. (a) Write a note on Custom
-
tag libraries.


(b) Discuss about usage of JavaBean Component in JSP.


2.
Explain about bound properties of Java Beans.


3)
Discuss Java Beans API.

CASE STUDIES
:

1.

Take the Tick Tock Bean available in BDK, build an application whic
h controls the
colors Bean. Develop the necessary code to exhibit the bound properties of java
beans with the above mentioned beans


UNIT
-
V
:

Web Servers and Servlets: Tomcat web server, Introduction to
serve lets
:
Lifecycle of a
Server let
, JSDK, The
Serve

let

API, The javax.servelet
Package;

Reading
Serve let

parameters, Reading Initialization parameters. The
javax.servelet HTTP package, Handling Http Request & Responses, Using
Cookies
-
Session Tracking, Security Issues

Objectives
:

The major objectives of t
his unit are:

1.

To introduce web servers and servlets.


Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




8




2.


Servlet Life cycle and API.

3.

The Javax Http package and cookies.

Lecture Plan
:

S.No

Name Of The Topic

No Of
lectures

1

Tomcat
Web server
,

Introduction to
servlets, life

cycle
of a

servlet JSDK
.

02

2

Servlet API,
Javax. Packages, reading

serve let

paramerters
,
HTTP

Packages.

04

3

HTTP Request &Responses, cookies, session tracking,
security Issues.

02


Total Classes

08



Assignment Questions:

1)

Explain in detail about servlet Lifecycle.

2)

E
xplain about servlet parameters.

3)

What is cookie? Explain about session tracking.

4)

Explain about javax.servelet HTTP package.

CASE STUDIES
:


Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




9




1. Create a HTML form with three input fields first name, last name and e
-
mail. Pass
these values to a servlets.
In the servlets, verify all input fields are not null and display
them back to client


UNIT
-
VI
:

Introduction to JSP: The Problem with
Serve let
. The Anatomy of a JSP Page,
JSP Processing. JSP Application Design with MVC Setting Up and JSP
Environment: Inst
alling the Java Software Development Kit, Tomcat Server &
Testing Tomcat

Objectives
:

The major objectives of this unit are:

1.

To

introduce to JavaServerPages.

2.MVC


3
.

Installation of Tomcat and Apache, JDK

Lecture Plan
:

Assignment Questions
:

S.No

Name Of The Topic

N
o Of
lectures

1

Problem With Servlet Jsp Page, JSP
processing, application design with MVC
setting.

03

2

Installing The Java s/w&JDK kit tomcat
server &testing tomcat.

03


Total Classes

06


Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




10




1)

Explain about anatomy of a JSP page.

2)

Expl
ain in detail about MVC architecture.

3)

Explain about JSP processing.

4)

Difference between JSP and servlet.

CASE STUDIES
:

Installing and discuss about the Tomcat Server



UNIT
-
VII
:

JSP Application Development: Generating Dynamic Content, Using Scripting
Elemen
ts Implicit JSP Objects, Conditional Processing


Displaying Values
Using an Expression to Set an Attribute, Declaring Variables and Methods
Error Handling and Debugging Sharing Data
between

JSP pages, Requests,
and Users Passing Control and Date between P
ages


Sharing Session and
Application Data


Memory Usage Considerations

Objectives
:

The major objectives of this unit are:

1. To

introduce to Java

Server

Pages.

2. Installation

of Tomcat and Apache, JDK

Lecture Plan
:

S.No

Name Of The Topic

No Of
lectures

1

Generating dynamic content,

JSP objects,
conditional processing
-
displaying values,
03


Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




11




declaring variable methods.

2

Error handling debugging sharing data
b/w JSP page, request&

user passing.

03

3

Sharing session application data
-
memory
usage consider
ations.

02


Total Classes

08

Assignment Questions
:

1)

Write about Implicit JSP objects.

2)

Explain about Conditional processing.

3)

What are the methods for Error Handling?

4)

Discuss about usage of Java

Bean Component in JSP.

CASE STUDIES
:

Develop a JSP to keep tra
ck number of users and display a message “You are n
th

visitor

where n is number of user



UNIT VIII
:

Database Access: Database Programming using JDBC, Studying Javax.sql.*
package, Accessing a Database from a JSP Page, Application


Specific
Database Actio
ns, Deploying JAVA Beans in a JSP Page, Introduction to
struts framework.

Objectives
:

The major objectives of this unit are:

1.
Database Programming using JDBC

2.

studying

Javax.sql.* package.


Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




12




3.Accesing database from Jsp page

3.

To learn strut framework

Lecture Plan
:

S.

No

Name Of The Topic

No Of
lectures

1

Database Programming using JDBC,
javax.sql.* package.

02

2

Form from JSP Page,

actions,

deploying
JavaBeans in JSP page.

03

3

Struts framework.

02


Total Classes

07

Assignment Questions
:

1)

Write in

detail about Javax.sql.* package.

2)

Discuss the four types of JDBC drivers.

3)

Discuss briefly about Deploying JAVA Beans in a JSP Page.

4)

Discuss about statement class.

5)

Give a note on popular JDBC driver names.

CASE STUDIES
:

Write a java program to create a tab
le for a Banking System which contains the
following information: Customer account number, customer name, customer address,
credit, debit and balance. Create the table with suitable data and explain how to update
the table entries





Dep
t
.

of Computer Science Engineering, School of Engineering, Anurag Group of Institutions




13