Java Intro.docx
Java Intro.docx
What is Language?
Types of Language
What is Java?
● Java is a high-level and object-oriented programming language;
● it’s platform-independent.
● It is the fastest language, reliable, and secure.
● Around 500 companies 90% use java. Sal 7 lak/per annum.
Knowledge:
Introduction:
Why Java?
From desktop to web applications, scientific supercomputers to gaming consoles,
cell phones to the Internet, Java is used in every nook and cranny.
Java’s Environment:
To learn Java or any programming language, one first needs to know about its
environment. Environment refers to the circumstances where a programming
language works and how that program works. Java runs on a JVM environment.
Convert by Javac
Byte code
Data types, variables and arrays – Programs with input,numeric input – type
conversion and casting.
Unit 1
Internet
Internet
● Definition
● Applications
● How the internet works
● Internet Retrospective
● The main components of the internet
○ Client or endpoint devices.
○ Servers
○ Internet protocols.:
○ IP addresses.
○ Routers.
○ Domain name system
○ Web browsers.
○ ISPs
Intranet
● PAN
● LAN
● MAN
● WAN
History:
The internet was Introduced by the Advanced Research Projects Agency (ARPA)
of the U.S. government in 1969.
ARPA was later renamed the Defense Advanced Research Projects Agency
(DARPA) in 1972.
Type of Internetworking
Wired connections:
Cable: Cable service connects to the Internet via cable TV. It uses a
broadband connection and can be faster than both dial-up and DSL service;
however, it is only available where cable TV is available.
Satellite: A satellite connection uses broadband but does not require cable or
phone lines; it connects to the Internet through satellites.
3G,4G and 5G: It is most commonly used with mobile phones, and it
connects wirelessly through your ISP's network.
Every computer on the internet is identified by a unique IP address.
IP Address is a unique set of numbers (such as 110.22.33.114) which identifies a
computer location.
Hardware needed
Modem:The type of Internet access you choose will determine the type of modem
you need. Dial-up access uses a telephone modem, DSL service uses a DSL
modem, cable access uses a cable modem, and satellite service uses a satellite
adapter.
The web is a collection of information or websites that can be accessed using the
internet.
WWW INTERNET
—-------------------------------------------------------------------------------------------------
○ File sharing
○ Downloading media files and software
○ Sending and receiving emails
○ Browsing any information
○ Using social media platforms, forums, and communities
○ E-Commerce, bill payments, online purchasing of food and medicines
○ Voice Calls, Video Conferencing, and Chatting with friends, family
members, and colleagues
How the internet works
● When one device attempts to send a message to another device, the data is
sent over the internet in the form of packets and each packet is assigned a
port number.
● A packet that has both a unique IP address and port number can be
translated from alphabetic text into electronic signals by traveling through
the layers of the Open Systems Interconnection (OSI) model.
● The message is then sent over the internet where it's received by the
internet service provider's (ISP) router.
● The router examines the destination address assigned to each packet and
determines where to send it.
● The packet reaches the client and travels in reverse from the bottom
physical layer of the OSI model to the top application layer.
● Servers: Servers are the computers that provide services or share stored
resources with the client devices.
● Internet protocols.: To retrieve the required data on the internet, a set of
guidelines and procedures known as protocols. Common internet
protocols include IP, TCP/IP, HTTP, HTTP Secure (HTTPS) and file transfer
protocol. Other protocols, such as Session Initiation Protocol for voice-over
IP, Post Office Protocol 3 (POP3) and Internet Message Access Protocol for
email are also used.
● ISPs. ISPs are companies that provide users with internet connectivity. They
operate the infrastructure, including the cables and routers needed to connect
users to the global network.
Internet Retrospective:
In 1989, British scientist Tim Berners-Lee proposed the World Wide Web, a
system for accessing information on the internet using hypertext. By 1991,
the first website was live.
The dot-com boom and bust was a period of rapid growth in the stock
market for internet-based companies that occurred from 1995 to 2001
Today, the internet accepts every aspect of modern life from education and
healthcare to governance and entertainment
intranet
As this is a private network, so no one from the outside world can access this
network.
So many organizations and companies have their intranet network and only its
members and staff have access to this network.
This is also used to protect your data and provide data security to a particular
organization
Features of intranet:
Advantages of Intranet
● In the intranet, the cost of conveying data utilizing the intranet is very
low.
● Using intranet employees can easily get data anytime and anywhere.
● Data overloading.
● Although the intranet provides good security, but it still lacks in some
places.
Internet Intranet
Anyone can access the Internet. In this, anyone can’t access the Intranet.
On the internet, there are multiple users. On an intranet, there are limited users.
Examples of Intranets
● Microsoft SharePoint
● Google Workspace
● Zoho Connect
Reliability: Features like error handling and congestion control ensure consistent
performance in both environments.
Types of Network
1. Personal Area Network (PAN)
like smartphones, tablets, laptops, and wearables, to communicate and share data
with each other.
○
MAN(Metropolitan Area Network)(a city)