Docsity

Introduction to Java Programming Concepts - Prof. Ahad, Study notes of Web Programming and Technologies

Partial preview of the text

Download Introduction to Java Programming Concepts - Prof. Ahad and more Study notes Web Programming and Technologies in PDF only on Docsity!

Engineering in One Video (EIOV) Watch video on

Introduction Operator Data Types Arrays Methods & Classes Inheritance Package and Interface Features of Object-Oriented programming(OOPs) Exception Handling Multithread programming

History of Web Protocol Governing Web How to develop Web Project Internet Services Core Java

Java Applet String Handling AWT and AWT Controls Layout Manager Happy Ending!

Topics to be covered...

Engineering in One Video (EIOV)^ Watch video on

EIOV

History of Web

Sir Tim Berners-Lee invented the World Wide Web in 1989.

In the history of the World Wide Web, there are two lines to be traced : The development of hypertext The development of the internet protocols.

In 1972, DARPA starts research leading to the internet.

In 1975, Alan Kay produces the first personal computer.

Berners-Lee developed the first web browser and web server software in 1990, and by 1991, the first web page was created.

The web quickly grew in popularity as more people began to use it for communication, collaboration, and sharing information.

Engineering in One Video (EIOV)^ Watch video on

EIOV

History of Web

The introduction of HTML, the markup language used to create web pages, in 1991, and the development of the first web standards in the mid-1990s helped to make the web more accessible and user-friendly.

The early 2000s saw the rise of web 2.0, a term coined to describe a new generation of web applications that allowed users to contribute and interact with content.

Social networking sites such as Facebook and Twitter, online video sharing sites such as YouTube, and collaborative platforms such as Wikipedia are all examples of web 2. applications.

Engineering in One Video (EIOV)^ Watch video on

EIOV

Protocol Governing Web

Hypertext Transfer Protocol (HTTP): HTTP is the foundation of data communication on the web. It is a protocol used to transfer data over the internet, and it governs how web browsers and servers communicate with each other.

Hypertext Transfer Protocol Secure (HTTPS): HTTPS is a more secure version of HTTP that encrypts data transmitted between a web server and a web browser. It uses SSL (Secure Sockets Layer) or TLS (Transport Layer Security) encryption to protect data from interception and hacking.

File Transfer Protocol (FTP): FTP is a protocol used for transferring files between computers over the internet. It is commonly used to upload and download files from web servers.

Engineering in One Video (EIOV)^ Watch video on

EIOV

Protocol Governing Web

Simple Mail Transfer Protocol (SMTP): SMTP is a protocol used for sending email over the internet. It enables email clients to send messages to mail servers, which then forward the message to the recipient's mail server.

Post Office Protocol (POP): POP is a protocol used for retrieving email from a mail server. It allows email clients to download messages from the mail server and store them locally on the user's computer.

Internet Message Access Protocol (IMAP): IMAP is a protocol used for retrieving and managing email messages. It allows email clients to access messages stored on a mail server and synchronize changes between the server and the client.

TCP/IP and UDP

Engineering in One Video (EIOV)^ Watch video on

EIOV

How to develop Web Project

Goals and objectives Team building Research and review Project proposal

Developing concepts Content planning Rough design Final design Build prototype Prototype testing

Coding

Phase-I : Strategy :

Phase-II : Design and specification :

Phase-III : Production or development :

Engineering in One Video (EIOV)^ Watch video on

EIOV

How to develop Web Project

Automation testing Manual testing

Buy domain name Hosting

Phase-IV : Testing and maintenance :

Phase-V : Register with ISP :

Phase-VI : Launch

Engineering in One Video (EIOV)^ Watch video on

EIOV

Internet Services

Communication services Electronic mail Telnet c. Mailing lists Internet telephony (VoIP)

Information retrieval services FTP

Web services: Allow exchange of information between applications on the web.

WWW: It offers a way to access documents spread over the several servers over the internet. The hyperlinks allow the users to navigate between the documents.

Internet service provides a way for data to be transferred from internet servers to our computer. Categories:

Engineering in One Video (EIOV)^ Watch video on

Core Java

Engineering in One Video (EIOV) Watch video on EIOV

EIOV

Core Java

Object-oriented programming: Allows developers to create modular and reusable code.

Platform-independent: Java code can run on any platform(Windows, Mac, Linux, and other) that has a Java Virtual Machine (JVM).

Automatic memory management: Java uses automatic memory management, which means that developers don't need to manage memory manually. The Java Virtual Machine automatically allocates and deallocates memory.

Exception handling: Allows developers to handle errors and exceptions effectively.

Java is a popular programming language that is widely used for developing desktop, web, and mobile applications. Some of the key features of Java are:

Engineering in One Video (EIOV)^ Watch video on

EIOV

Core Java

Rich API The Java Standard Library includes APIs for file I/O, networking, database access, and more.

Multi-threading: Create applications that can perform multiple tasks simultaneously. Multi-threading can improve application performance and responsiveness.

Security: Java has built-in security features that help protect against viruses, malware, and other security threats.

Engineering in One Video (EIOV)^ Watch video on

Engineering in One Video (EIOV) Watch video on EIOV

EIOV

Operator

The Java unary operators require only one operand. Unary operators are used to perform various operations such as : Incrementing/decrementing a value by one (++,--) Inverting the value of a Boolean (!)

Java arithmetic operators are used to perform addition, subtraction, multiplication, and division. They act as basic mathematical operations.

Relational operators enables us to test for any relationship between two operands. ==(equal to), != (not equal to), > (greater than), < (less than), >= (greater than or equal to), <= (less than or equal to) are the example of relational operator.

**1. Unary operator :

  1. Arithmetic operator :
  2. Relational operator :**

Engineering in One Video (EIOV)^ Watch video on