Professional Documents
Culture Documents
Java Programing
Java Programing
Java Programing
Unit 1: Introduction
Notes
Structure
1.1 Introduction
1.2 Computer Communication
1.3 OSI model of ISO
1.4 Computer Network Types
1.5 Internet
1.5.1 Evolution of Internet
1.5.2 Applications of Internet
1.5.3 Internet Service Provider (ISP)
1.5.4 IP Addressing System on the Internet
1.5.5 Accessing Internet
1.6 RFC
1.7 Client-server Architecture
1.5 Summary
1.6 Check Your Progress
1.7 Questions and Exercises
1.8 Key Terms
1.9 Further Readings
Objectives
After studying this unit, you should be able to:
z Understand the concept of Internet.
z Discuss the network models.
z Explain the client server model.
1.1 Introduction
Data communications refers to the transmission of this digital data between two or more
computers and a computer network or data network is a telecommunications network
that allows computers to exchange data. The physical connection between networked
computing devices is established using either cable media or wireless media. The best-
known computer network is the Internet
Notes Computer networks are classified based on various factors. They includes:
z Geographical span
z Inter-connectivity
z Administration
z Architecture
z Geographical Span
Network Architecture
z Computer networks can be discriminated into various types such as Client-Server,
peer-to-peer or hybrid, depending upon its architecture.
z There can be one or more systems acting as Server. Other being Client, requests
the Server to serve requests. Server takes and processes request on behalf of
Clients.
z Two systems can be connected Point-to-Point, or in back-to-back fashion. They
both reside at the same level and called peers.
z There can be hybrid network which involves network architecture of both the above
types.
Network Applications
Computer systems and peripherals are connected to form a network. They provide
numerous advantages:
z Resource sharing such as printers and storage devices
z Exchange of information by means of e-Mails and FTP
z Information sharing by using Web or Internet
z Interaction with other users using dynamic web pages
z IP phones
z Video conferences
z Parallel computing
OSI Model
Open System Interconnect is an open standard for all communication systems. OSI
model is established by International Standard Organization (ISO). This model has
seven layers:
Tcp/Ip
Like OSI network model, TCP/IP also has a network model. TCP/IP was on the path of
development when the OSI standard was published and there was interaction between
the designers of OSI and TCP/IP standards. The TCP/IP model is not same as OSI
model. OSI is a seven-layered standard, but TCP/IP is a four layered standard. The OSI
model has been very influential in the growth and development of TCP/IP standard, and
that is why much OSI terminology is applied to TCP/IP. The following figure compares
the TCP/IP and OSI network models.
Comparison between seven layer OSI and four layer TCP/IP Models
As we can see from the above figure, presentation and session layers are not there in
TCP/IP model, and Network Access Layer in TCP/IP model combines the functions of
Data link Layer and Physical Layer.
collision, each host will wait for a small interval of time and again the data will be
retransmitted.
Notes
1.4 Computer network types
Networks are distinguished based on their geographical span. A network can be as
small as distance between your mobile phone and its Bluetooth headphone and as
large as the internet itself, covering the whole geographical world,
WAN may use advanced technologies such as Asynchronous Transfer Mode (ATM),
Frame Relay, and Synchronous Optical Network (SONET). WAN may be managed by
Notes multiple administrations.
1.5 Internet
Internet is a global system of interconnected computer networks for sharing of
information. It serves billions of users worldwide. Its a network of networks which
consists of millions of private, public, business, and government networks which are
linked by a broad array of wireless and optical networking technologies.
Internet carries an extensive range of information resources and services. The term
internet is derived from two words INTER and NET, that is it is a network of many
computers around the world. The Internet has made it possible for people all over the
world to communicate with each other effectively and inexpensively.
1.6 RFC
Request for Comments (RFC)
Memos in the Requests for Comments (RFC) document series , it contains technical
and organizational notes about the Internet. They cover many aspects of computer
networking, including protocols, procedures, programs, and concepts, as well as
meeting notes, opinions, and sometimes humor. Below are links to RFCs, as available
from ietf.org and from rfc-editor.org. Note that there is a brief time period when the two
sites will be out of sync. When in doubt, the RFC Editor site is the authoritative source
page.
RFCs associated with an active IETF Working Group can also be accessed from the
Working Group's web page via IETF Working Groups.
1.8 Summary
INFORMATION TECHNOLOGY can be viewed as "the study, design, development,
application, implementation, support or management of computer-based information
systems". Internet is a global system of interconnected computer networks for sharing
of information. The internet service provider is an intermediary (connected to the
internet by specialized lines) which gives you access to the Internet, using a number
which you enter using your modem, and which enables a connection to be established.
In a client/server architecture, some application program act as information providers
(servers), while other application programs act as information receivers (clients).
Computer stores all its information in binary form (0,1) called bits. The amount of data
that a computer network can transfer in a certain amount of time is called the bandwidth
It is measured in kilobytes per second (kbps) or megabytes per second (mbps).
Objectives
After studying this unit, you should be able to:
z Understand the concept of WWW and its feature.
z Discuss the Web browser and server
z Explain the HTTP and URL.
2.1 Introduction
The World Wide Web (WWW) is a system of interlinked hypertext documents which are
accessed via Internet. With a web browser, one can view web pages that may contain
text, images, videos, and other multimedia, and navigate between them via hyperlinks.
The World Wide Web was developed by a computer scientist Tim Berners-Lee
within the European Organization for Nuclear Research in Geneva, Switzerland.
Notes Berners-Lee combined several existing ideas into a single system to make it easier for
physicists to use data on the Internet. An early prototype Web became operational in
1989, and the idea quickly spread to universities in the rest of the world.
In 1991, Tim burners-lee at CERN, invents software named ”WORLD WIDE WEB”
for the next computer, he dream up for html which unify file/display format and uses
postscript. In this unit we will going to explore web.
z The user requests a page by typing a URL in a browser, and the web server
receives the request.
Notes z The web server looks at the file extension to determine whether a web application
server must process the page. Then, one of the following actions occur:
If the user requests a file that is a simple web page (often one with an HTM or
HTML extension), the web server fulfills the request and sends the file to the
browser.
If the user requests a file that is a page that a web application server must
process (one with a CFM, CFML, or CFC extension for ColdFusion requests),
the web server passes the request to the web application server. The web
application server processes the page and sends the results to the web server,
which returns those results to the browser.
Notes
z The Web is Dynamic: Because information on the web is contained on the site that
published it, the people who published it in the first place can update it at any time.
Notes If you are browsing that information, you do not have to install anew version of the
help system, buy another book, or call technical support to get updated information.
Just browse and check out what is up there.
z Accessing of Many Forms of Internet Information: There are dozens of different
ways of getting at information on the Net namely, FTP, Gopher, Usenet news,
WAIS databases, Telnet, and e-mail. Before the web became as popular as it is
now, to get to these different kinds of information you had to use different tools for
each one, all of which had to be installed and all of which used different commands.
Although the web itself is its own information system, with its own internet protocol
(HTTP, the Hyper Text Transfer Protocol). Web browsers can also read files from
other Internet Services and you can create links to information on those systems
just as you would create links to information on web pages.
z The Web is Interactive: Interactivity is the ability to "talk back" to the web server.
Unlike the television, the web is interactive. It means the act of selecting a link and
jumping to another web page to go somewhere else on the web. It also enables you
to communicate with the publisher of the pages you are surfing.
z Conferencing: In addition to an Internet telephone, we may also have a video
communication. A digital camera and a video digitizer, which converts a picture into
a digital message is required for the purpose. With a combination of Internet video
communication and Internet audio phones we can have a conference between
people who may be located in different continents.
It can be observed that on the Net we can establish all kinds of contact instantaneously
except physical contact. The Internet has thus promoted the understanding between the
people in the world, by bringing them close together virtually.
Web Address
Websites and the pages they contain each have a unique worldwide address. This
address (or Uniform Resource Locator, URL, in Internet jargon). The address for
Microsoft is www.microsoft.com. For most sites, this is all you need to specify and it
defaults to the main page (or home page) for the site. In some cases, you may also
need or want to specify the path and file name such as www.microsoft.com/office97.
Directories do not include all of the sites on the Web, but generally include all of the
major sites and companies. Yahoo is a great directory.
Notes
Search Engines read the entire text of all sites on the Web and creates an index
based on the occurrence of key words for each site. AltaVista and Infoseek are powerful
search engines.
the browser history. This was both for privacy and for security for concern parents
whose children were beginning to lap them on their knowledge of technology.
Notes
Today, browser histories are used for the same purposes that they were used for in
the beginning of their existence. The only difference is the sophistication of the systems
that are now used. The application of the browser history has not changed as it is still
used for the main purposes of memory and security. The only difference is that the
browser history can be just as secured as any other piece of critical information that
may be stored on a computer either domestically or professionally.
Notes There's a common set of features that you'll find on most web servers. Because web
servers are built specifically to host websites, their features are typically focused around
setting up and maintaining a website's hosting environment.
Most web servers have features that allow you to do the following:
z Create one or more websites. (No I don't mean build a set of web pages. What I
mean is, set up the website in the web server, so that the website can be viewed via
HTTP)
z Configure log file settings, including where the log files are saved, what data to
include on the log files, etc. (Log files can be used to analyse traffic, etc.)
z Configure website/directory security. For example, which user accounts are/aren't
allowed to view the website, which IP addresses are/aren't allowed to view the
website etc.
z Create an FTP site. An FTP site allows users to transfer files to and from the site.
z Create virtual directories, and map them to physical directories
z Configure/nominate custom error pages. This allows you to build and display user
friendly error messages on your website. For example, you can specify which page
is displayed when a user tries to access a page that doesn't exist (i.e. a "404 error").
z Specify default documents. Default documents are those that are displayed when
no file name is specified. For example, if you open "http://localhost", which file
should be displayed? This is typically "index.html" or similar but it doesn't need to
be. You could nominate "index.cfm" if your website is using ColdFusion. You could
also nominate a 2nd choice (in case there is no index.cfm file), and a 3rd choice,
and so on.
Notes All HTTP transactions follow the same general format, as shown in Figure 1.8
2.9 URL
The World Wide Web uses a URL or Uniform Resource Locator to represents
hypermedia links and links to network services within html documents... An object may
be a file, a picture, a movie or anything. It identifies a particular internet resource. For
example, a web page, gopher, server, library catalog, an image or a text files. URLs
represent a standardized addressing scheme for internet resources.
z First is the protocol required to get the object.
z The second is the piece of information, which is the machine name where the object
is located.
z The third is the path name of the object
For example, to retrieve an HTML document, the protocol used is HTTP (Hyper Text
Transfer Protocol). The location of the HTML document or machine name may be as
“www.gmail.com”.
URLs consist of letters, numbers and punctuations. The basic structure of a URL is
hierarchical and the hierarchy moves from left to right. The format of a URL is“
protocol://machine name/path ”. For example, a URL to the above mentioned HTML
page could be as follows:
Https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&c
ontinue=https://mail.google.com/mail/?tab%3Dwm&scc=1<mpl=default<mplcache=2
2.10 Summary
In 1991, Tim burners-lee at CERN, invents software named ”WORLD WIDE WEB” for
the next computer, he dream up for html which unify file/display format and uses
postscript. Web Browsers are the information retrievers. It is a client software that acts
as an interface between the user and the inner- working of the internet, specially the
World Wide Web. A website in computer science is a file of information located on a
Objectives
After studying this unit, you should be able to:
z Understand the concept of Web browser.
z Discuss the Netscape communicator
z Learn the concept of Microsoft internet explorer.
Notes
Adding a bookmark
To bookmark a page
1. Go to webpage you want to bookmark, i.e., open it in your browser.
2. Click on Bookmarks g Bookmark This Page.
3. An Add Bookmark window will appear, Now click on ok and you’ll see the new
bookmark added to bookmark’s list.
4. Add Bookmark window.
5. Newly added bookmark
Edit a bookmark
One can use Bookmarks g Organize Bookmark command. The Bookmark Manager
window will appear, select the added bookmark and go to edit menu or right click
choose delete option, it will delete the added bookmark.
Notes The Location toolbar of Netscape Navigator displays the URL of the page currently
displayed in your browser window. But when you click at the down arrow symbol to the
right of URL box, you get to see a pull down menu of URLs. This pull down menu shows
the URLs of sites and lines to Webpages you have visited so far.
By default Netscape Navigator stores the lists of URLs visited in last 21 days.
Command Keys
Reload Ctrl+R
Notes
z Standard Button Toolbar: The standard-button toolbar offers some useful buttons
that are used for navigating or browsing. Screenshot shows the standard-button
Notes toolbar of MSIE.
z Address Bar: URL of the document is to be typed in this place
z Status bar: It is situated on the lower left corner of the browser, which reports the
progress of the data download.
z Access Indicator Icon: It is situated on the upper right corner of the browser, when
your browser is retrieving data; it tells so by animating itself.
Notes
Notes By default MSIE keeps pages in your history list for 20 days. You can change this
number in Internet Options dialog.
1. Click on Internet Options Present in tools, under General tab
2. Enter desired number of history days in the box provided under History option.
View Menu
1. Show or hide toolbars.
2. Show or hide status bar.
3. Stops download.
4. Updates the web page.
5. View the source code of the web page.
Favorites Menu
1. Add to list of favorites.
2. Organize list of favorites.
Tools Menu
Set new settings for Internet.
lp Menu
View help contents and index.
3.4 Summary
Notes Browser is a program which lets you to visit different sites on the internet and display
their offerings on your own computer. To load a web page, type its URL in the location
box of Netscape Navigator and then press Enter. One can change text size choosing
Increase Font or Decrease Font option on View menu. One can use Bookmarks g
Organize Bookmark command. The Location toolbar of Netscape Navigator displays the
URL of the page currently displayed in your browser window. By default Netscape
Navigator stores the lists of URLs visited in last 21 days. History List can helps to view
and access the History list’s entries by selecting Tools g Options command. One can
change this number under History option; enter the desired number of days in the box
provided for it. A Shortcut menu is activated by clicking right button of the mouse and
the menu which displays commonly used commands in a particular context. A very
popular Web Browser. Most Microsoft products user uses simple web browser. To load
a web page, type its URL in the location box of internet explorer and then press Enter.
The Address bar of MSIE displays the URL of the page currently displayed in your
browser window. Click on the down arrow symbol to the right of URL box, you get to
see a pull down menu of URLs. A Shortcut menu is activated by clicking right button of
the mouse and the menu which displays commonly used commands in a particular
context.