CIT 303
Web Development with JAVA
Chapter 1 : Introduction to Web Development
DAE Computer Information Technology | Third Year
Short Questions
A web application or a web app is a software application that runs on server, a web application uses web browsers and web technology to perform tasks over internet.
Website: A set of related web pages located under a single domain name, and published on at least one web server.
For example www.tevta.gop.pk
Web Page: A web page is a document that is suitable for the World Wide Web and web browsers. A web browser displays a web page on a monitor or mobile device.
HTML stands for Hyper Text Makrup Language. It is a standard markup language for creating Web Pages. It describe the structure of web pages using markups. HTML elements are the building blocks of HTML pages.
HTTP (Hypertext Transfer Protocol) is the set of rules for transferring files (text, graphic images, sound, video, and other multimedia files) on the World Wide Web.
A client (browser) submits an HTTP request to the server; then the server returns a response to the client. The response contains status information about the request and may also contain the requested content.
GET is used to request data from a specified resource. GET is one of the most common HTTP methods. The query string (name/value pairs) is sent in the URL of a GET request: For example,
GET /test/demo_form.php?name1=value1&name2=value2
POST is used to send data to a server to create/update a resource. The data sent to the server with POST is stored in the request body of the HTTP request:
For example,
POST /test/demo_form.php HTTP/1.1
Host: w3schools.com
name1=value1&name2=value2
It is the program that runs on server dealing with the generation of content of web page. Or we can say that server-side programming must deal with dynamic content. It runs on the server.
a. PHP
b. C++
c. Java and JSP
It is the program that runs on the client machine (browser) and deals with the user interface/display and any other processing that can happen on client machine like reading/writing cookies.
a. JavaScript
b. HTML (Structure)
c. CSS (Designing)
d. jQuery etc
JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages.
The application tier, also known as the logic tier or middle tier, is the heart of the application. In this tier, information collected in the presentation tier is processed - sometimes against other information in the data tier - using business logic, a specific set of business rules. The application tier can also add, delete or modify data in the data tier.
1 Logical and physical separation of functionality: Each tier can run on
a separate operating system and server platform. And each tier runs
on at least one dedicated server hardware or virtual server.
2 Faster development: An organization can bring the application to
market faster, and programmers can use the latest and best
languages and tools for each tier.
03129671316, 03085507292
Share feedback in the comment