This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Types of Computer

 

Types of Computer

We can categorize computer in two ways: on the basis of data handling capabilities and size.

On the basis of data handling capabilities, the computer is of three types:

1) Analogue Computer

Analogue computers are designed to process analogue data. Analogue data is continuous data that changes continuously and cannot have discrete values. We can say that analogue computers are used where we don't need exact values always such as speed, temperature, pressure and current.

Analogue computers directly accept the data from the measuring device without first converting it into numbers and codes. They measure the continuous changes in physical quantity and generally render output as a reading on a dial or scale. Speedometer and mercury thermometer are examples of analogue computers.

Advantages of using analogue computers:

  • It allows real-time operations and computation at the same time and continuous representation of all data within the rage of the analogue machine.
  • In some applications, it allows performing calculations without taking the help of transducers for converting the inputs or outputs to digital electronic form and vice versa.
  • The programmer can scale the problem for the dynamic range of the analogue computer. It provides insight into the problem and helps understand the errors and their effects.

Types of analogue computers:

  • Slide Rules: It is one of the simplest types of mechanical analogue computers. It was developed to perform basic mathematical calculations. It is made of two rods. To perform the calculation, the hashed rod is slid to line up with the markings on another rod.
  • Differential Analysers: It was developed to perform differential calculations. It performs integration using wheel-and-disc mechanisms to solve differential calculations.
  • Castle Clock: It was invented by Al-Jarazi. It was able to save programming instructions. Its height was around 11 feet and it was provided with the display of time, the zodiac, and the solar and lunar orbits. This device also could allow users to set the length of the day as per the current season.
  • Electronic Analogue Computer: In this type of analogue computer, electrical signals flow through capacitors and resistors to simulate physical phenomena. Here, the mechanical interaction of components does not take place. The voltage of the electrical signal generates the appropriate displays.

2) Digital Computer

Digital computer is designed to perform calculations and logical operations at high speed. It accepts the raw data as input in the form of digits or binary numbers (0 and 1) and processes it with programs stored in its memory to produce the output. All modern computers like laptops, desktops including smartphones that we use at home or office are digital computers.

Advantages of digital computers:

  • It allows you to store a large amount of information and to retrieve it easily whenever you need it.
  • You can easily add new features to digital systems more easily.
  • Different applications can be used in digital systems just by changing the program without making any changes in hardware
  • The cost of hardware is less due to the advancement in the IC technology.
  • It offers high speed as the data is processed digitally.
  • It is highly reliable as it uses error correction codes.
  • Reproducibility of results is higher as the output is not affected by noise, temperature, humidity, and other properties of its components.

3) Hybrid Computer

Hybrid computer has features of both analogue and digital computer. It is fast like an analogue computer and has memory and accuracy like digital computers. It can process both continuous and discrete data. It accepts analogue signals and convert them into digital form before processing. So, it is widely used in specialized applications where both analogue and digital data is processed. For example, a processor is used in petrol pumps that converts the measurements of fuel flow into quantity and price. Similarly, they are used in airplanes, hospitals, and scientific applications.

Advantages of using hybrid computers:

  • Its computing speed is very high due to the all-parallel configuration of the analogue subsystem.
  • It produces precise and quick results that are more accurate and useful.
  • It has the ability to solve and manage big equation in real-time.
  • It helps in the on-line data processing.

On the basis of size, the computer can be of five types:

1) Supercomputer

Supercomputers are the biggest and fastest computers. They are designed to process huge amount of data. A supercomputer can process trillions of instructions in a second. It has thousands of interconnected processors.

Supercomputers are particularly used in scientific and engineering applications such as weather forecasting, scientific simulations and nuclear energy research. The first supercomputer was developed by Roger Cray in 1976.

Characteristics or applications of supercomputers:

  • It has the ability to decrypt your password to enhance protection for security reasons.
  • It produces excellent results in animations.
  • It is used for virtual testing of nuclear weapons and critical medical tests.
  • It can study and understand climate patterns and forecast weather conditions. It can run in NOAA's system (National Oceanic and Atmospheric Administration) that can execute any type of simple and logical data.
  • It helps in designing the flight simulators for pilots at the beginner level for their training.
  • It helps in extracting useful information from data storage centres or cloud system. For example, in insurance companies.
  • It has played a vital role in managing the online currency world such as stock market and bitcoin.
  • It helps in the diagnosis of various critical diseases and in producing accurate results in brain injuries, strokes, etc.
  • It helps in scientific research areas by accurately analysing data obtained from exploring the solar system, satellites, and movement of Earth.
  • It also used in a smog control system where it predicts the level of fog and other pollutants in the atmosphere.

2) Mainframe computer

Mainframe computers are designed to support hundreds or thousands of users simultaneously. They can support multiple programs at the same time. It means they can execute different processes simultaneously. These features of mainframe computers make them ideal for big organizations like banking and telecom sectors, which need to manage and process high volume of data.

Mainframe computers are designed to support hundreds or thousands of users simultaneously. They can support multiple programs at the same time. It means they can execute different processes simultaneously. These features of mainframe computers make them ideal for big organizations like banking and telecom sectors, which need to manage and process a high volume of data that requires integer operations such as indexing, comparisons, etc.

Characteristics of Mainframe Computers:

  • It can process huge amount of data, e.g. millions of transactions in a second in the banking sector.
  • It has a very long life. It can run smoothly for up to 50 years after proper installation.
  • It gives excellent performance with large scale memory management.
  • It has the ability to share or distribute its workload among other processors and input/output terminals.
  • There are fewer chances of error or bugs during processing in mainframe computers. If any error occurs it can fix it quickly without affecting the performance.
  • It has the ability to protect the stored data and other ongoing exchange of information and data.

Applications of mainframe computers:

  • In health care, it enabled hospitals to maintain a record of their millions of patients in order to contact them for treatment or related to their appointment, medicine updates or disease updates.
  • In the field of defence, it allows the defence departments to share a large amount of sensitive information with other branches of defence.
  • In the field of education, it helps big universities to store, manage and retrieve data related to their courses, admissions, students, teachers, employees and affiliated schools and colleges.
  • In the retail sector, the retail companies that have a huge customer base and branches use mainframe computers to handle and execute information related to their inventory management, customer management, and huge transactions in a short duration.

3) Miniframe or Minicomputer

It is a midsize multiprocessing computer. It consists of two or more processors and can support 4 to 200 users at one time. Miniframe computers are used in institutes and departments for tasks such as billing, accounting and inventory management. A minicomputer lies between the mainframe and microcomputer as it is smaller than mainframe but larger than a microcomputer.

Characteristics of miniframe or minicomputer:

  • It is light weight that makes it easy to carry and fit anywhere.
  • It is less expensive than mainframe computers.
  • It is very fast compared to its size.
  • It remains charged for a long time.
  • It does not require a controlled operational environment.

Applications of minicomputers:

A minicomputer is mainly used to perform three primary functions, which are as follows:

  • Process control: It was used for process control in manufacturing. It mainly performs two primary functions that are collecting data and feedback. If any abnormality occurs in the process, it is detected by the minicomputer and necessary adjustments are made accordingly.
  • Data management: It is an excellent device for small organizations to collect, store and share data. Local hospitals and hotels can use it to maintain the records of their patients and customers respectively.
  • Communications Portal: It can also play the role of a communication device in larger systems by serving as a portal between a human operator and a central processor or computer.

4) Workstation

Workstation is a single user computer that is designed for technical or scientific applications. It has a faster microprocessor, a large amount of RAM and high speed graphic adapters. It generally performs a specific job with great expertise; accordingly, they are of different types such as graphics workstation, music workstation and engineering design workstation.

Characteristics of workstation computer:

  • It is a high-performance computer system designed for a single user for business or professional use.
  • It has larger storage capacity, better graphics, and more powerful CPU than a personal computer.
  • It can handle animation, data analysis, CAD, audio and video creation and editing.

Any computer that has the following five features, can be termed as a workstation or can be used as a workstation.

  • Multiple Processor Cores: It has more processor cores than simple laptops or computers.
  • ECC RAM: It is provided with Error-correcting code memory that can fix memory errors before they affect the system's performance.
  • RAID (Redundant Array of Independent Disks): It refers to multiple internal hard drives to store or process data. RAID can be of different types, for example, there can be multiple drives to process data or mirrored drives where if one drive does not work than other starts functioning.
  • SSD: It is better than conventional hard-disk drives. It does not have moving parts, so the chances of physical failure are very less.
  • Optimized, Higher end GPU: It reduces the load on CPU. E.g., CPU has to do less work while processing the screen output.

5) Microcomputer

Microcomputer is also known as a personal computer. It is a general-purpose computer that is designed for individual use. It has a microprocessor as a central processing unit, memory, storage area, input unit and output unit. Laptops and desktop computers are examples of microcomputers. They are suitable for personal work that may be making an assignment, watching a movie, or at office for office work.

Characteristics of a microcomputer:

  • It is the smallest in size among all types of computers.
  • A limited number of software can be used.
  • It is designed for personal work and applications. Only one user can work at a time.
  • It is less expansive and easy to use.
  • It does not require the user to have special skills or training to use it.
  • Generally, comes with single semiconductor chip.
  • It is capable of multitasking such as printing, scanning, browsing, watching videos, etc.

FAQs on the Types of Computers

1. What are the Three Main Types of Computers?

On the basis of data handling capabilities, the three main types of computers are:

  • Analog computers
  • Digital computers
  • Hybrid computers

2. What is a Workstation?

A workstation is a kind of computer that can be used for software development, desktop publishing, and creating engineering applications. Although a modest amount of processing power is present in a workstation, it has relatively good graphical capabilities.

3. What do you Understand by the Term Mainframe?

A mainframe is often very expensive and a very large type of computer. These kinds of computers have the potential to support hundreds and even thousands of people in one go. Furthermore, programs can run simultaneously, and concurrent execution is possible in mainframe computers.

4. What are the advantages of Analog computers?

The advantages of Analog computers are that it represents the data within the system's range and enables users for real-time computations. These as well carry out the calculations without using transducers. Analog systems come in different types, such as Hybrid computers, Digital computers, Castlerock, Electronic Analog computers, slide rules, and differential analyzers. Each of these has advantages and drawbacks of its own. Students who need a thorough explanation of each can go through these on Javatpoint website.

5. What are slide rules?

The simplest analog computer system is the slide. It is used to carry out numerous mathematical computations. These are made up of two rods. The rod slides off with the marking on the other rod when there any calculations are made. In contrast, differential calculations are performed using differential analyzers. These operate using a wheel and disc system. Through Javatpoint, where correct explanations are given that are simple for all pupils to understand, they can learn all the concepts easily.

6. What are digital computers?

All logical operations are completed quickly and efficiently by digital computers. They work with digital or binary numbers. One of the numerous benefits of digital computers is that they can store a large amount of data. Digital computers can simply add new functionality. The cost of these computers is quite low, and the data processing is done at high speed. The cost is quite low, and the data processing is done quickly digitally. For further information about the different sorts of computers, students can consult Javatpoint.

7. What are mainframe computers?

The mainframe is a type of computer that can be characterized as an expensive and substantial computer system. This is very powerful as they have the potential to support numerous users at the same time. These also facilitate different program executions. It provides great performance with extensive memory management and has a long lifespan. Another advantage of using a mainframe is that errors are often quite infrequent, but when they do occur, the system automatically corrects them. They also have a wide range of applications.

8. What do you understand about Hybrid computers?

Digital and analog computers are combined in order to create hybrid computers. Although the accuracy and memory are close to digital computers, the speed is similar to analogue computers. Before the process, these kinds of computers take the analogue signals and transform them into digital signals. These are typically used in specialist applications that combine analog and digital data. Hybrid computers have the capability to resolve complicated problems in real-time and contain a very high speed.

9. Which type of computer has two or more processors and it supports 4 to 200 users at one time.

A minicomputer is a multiprocessing computer of medium size. This type of computer has two or more CPUs and can accommodate 4 to 200 users in one go.




History of Computers

 

History of Computers

The first counting device was used by the primitive people. They used sticks, stones and bones as counting tools. As human mind and technology improved with time more computing devices were developed. Some of the popular computing devices starting with the first to recent ones are described below;

Abacus

The history of computer begins with the birth of abacus which is believed to be the first computer. It is said that Chinese invented Abacus around 4,000 years ago.

It was a wooden rack which has metal rods with beads mounted on them. The beads were moved by the abacus operator according to some rules to perform arithmetic calculations. Abacus is still used in some countries like China, Russia and Japan. An image of this tool is shown below;


Napier's Bones

It was a manually-operated calculating device which was invented by John Napier (1550-1617) of Merchiston. In this calculating tool, he used 9 different ivory strips or bones marked with numbers to multiply and divide. So, the tool became known as "Napier's Bones. It was also the first machine to use the decimal point.

Computer napier bones 1

Pascaline

Pascaline is also known as Arithmetic Machine or Adding Machine. It was invented between 1642 and 1644 by a French mathematician-philosopher Biaise Pascal. It is believed that it was the first mechanical and automatic calculator.

Pascal invented this machine to help his father, a tax accountant. It could only perform addition and subtraction. It was a wooden box with a series of gears and wheels. When a wheel is rotated one revolution, it rotates the neighboring wheel. A series of windows is given on the top of the wheels to read the totals. An image of this tool is shown below;

Computer pascaline 1

Stepped Reckoner or Leibnitz wheel

It was developed by a German mathematician-philosopher Gottfried Wilhelm Leibnitz in 1673. He improved Pascal's invention to develop this machine. It was a digital mechanical calculator which was called the stepped reckoner as instead of gears it was made of fluted drums. See the following image;

Computer Stepped reckoner or leibnitz wheel 1

Difference Engine

In the early 1820s, it was designed by Charles Babbage who is known as "Father of Modern Computer". It was a mechanical computer which could perform simple calculations. It was a steam driven calculating machine designed to solve tables of numbers like logarithm tables.

Computer Difference engine 1

Analytical Engine

This calculating machine was also developed by Charles Babbage in 1830. It was a mechanical computer that used punch-cards as input. It was capable of solving any mathematical problem and storing information as a permanent memory.

Computer Analytical engine 1

Tabulating Machine

It was invented in 1890, by Herman Hollerith, an American statistician. It was a mechanical tabulator based on punch cards. It could tabulate statistics and record or sort data or information. This machine was used in the 1890 U.S. Census. Hollerith also started the Hollerith?s Tabulating Machine Company which later became International Business Machine (IBM) in 1924.

Computer Tabulating machine 1

Differential Analyzer

It was the first electronic computer introduced in the United States in 1930. It was an analog device invented by Vannevar Bush. This machine has vacuum tubes to switch electrical signals to perform calculations. It could do 25 calculations in few minutes.

Computer Differential analyzer 1

Mark I

The next major changes in the history of computer began in 1937 when Howard Aiken planned to develop a machine that could perform calculations involving large numbers. In 1944, Mark I computer was built as a partnership between IBM and Harvard. It was the first programmable digital computer.

Computer mark 1

Generations of Computers

A generation of computers refers to the specific improvements in computer technology with time. In 1946, electronic pathways called circuits were developed to perform the counting. It replaced the gears and other mechanical parts used for counting in previous computing machines.

In each new generation, the circuits became smaller and more advanced than the previous generation circuits. The miniaturization helped increase the speed, memory and power of computers. There are five generations of computers which are described below;

First Generation Computers

The first generation (1946-1959) computers were slow, huge and expensive. In these computers, vacuum tubes were used as the basic components of CPU and memory. These computers were mainly depended on batch operating system and punch cards. Magnetic tape and paper tape were used as output and input devices in this generation;

Some of the popular first generation computers are;

  • ENIAC ( Electronic Numerical Integrator and Computer)
  • EDVAC ( Electronic Discrete Variable Automatic Computer)
  • UNIVACI( Universal Automatic Computer)
  • IBM-701
  • IBM-650

Second Generation Computers

The second generation (1959-1965) was the era of the transistor computers. These computers used transistors which were cheap, compact and consuming less power; it made transistor computers faster than the first generation computers.

In this generation, magnetic cores were used as the primary memory and magnetic disc and tapes were used as the secondary storage. Assembly language and programming languages like COBOL and FORTRAN, and Batch processing and multiprogramming operating systems were used in these computers.

Some of the popular second generation computers are;

  • IBM 1620
  • IBM 7094
  • CDC 1604
  • CDC 3600
  • UNIVAC 1108

Third Generation Computers

The third generation computers used integrated circuits (ICs) instead of transistors. A single IC can pack huge number of transistors which increased the power of a computer and reduced the cost. The computers also became more reliable, efficient and smaller in size. These generation computers used remote processing, time-sharing, multi programming as operating system. Also, the high-level programming languages like FORTRON-II TO IV, COBOL, PASCAL PL/1, ALGOL-68 were used in this generation.

Some of the popular third generation computers are;

  • IBM-360 series
  • Honeywell-6000 series
  • PDP(Personal Data Processor)
  • IBM-370/168
  • TDC-316

Fourth Generation Computers

The fourth generation (1971-1980) computers used very large scale integrated (VLSI) circuits; a chip containing millions of transistors and other circuit elements. These chips made this generation computers more compact, powerful, fast and affordable. These generation computers used real time, time sharing and distributed operating system. The programming languages like C, C++, DBASE were also used in this generation.

Some of the popular fourth generation computers are;

  • DEC 10
  • STAR 1000
  • PDP 11
  • CRAY-1(Super Computer)
  • CRAY-X-MP(Super Computer)

Fifth Generation Computers

In fifth generation (1980-till date) computers, the VLSI technology was replaced with ULSI (Ultra Large Scale Integration). It made possible the production of microprocessor chips with ten million electronic components. This generation computers used parallel processing hardware and AI (Artificial Intelligence) software. The programming languages used in this generation were C, C++, Java, .Net, etc.

Some of the popular fifth generation computers are;

  • Desktop
  • Laptop
  • NoteBook
  • UltraBook
  • ChromeBook




What is Computer?

 

What is Computer?

A computer is a programmable electronic device that accepts raw data as input and processes it with a set of instructions (a program) to produce the result as output. It renders output just after performing mathematical and logical operations and can save the output for future use. It can process numerical as well as non-numerical calculations. The term "computer" is derived from the Latin word "computare" which means to calculate.

A computer is designed to execute applications and provides a variety of solutions through integrated hardware and software components. It works with the help of programs and represents the decimal numbers through a string of binary digits. It also has a memory that stores the data, programs, and result of processing. The components of a computer such as machinery that includes wires, transistors, circuits, hard disk are called hardware. Whereas, the programs and data are called software.

It is believed that the Analytical Engine was the first computer which was invented by Charles Babbage in 1837. It used punch cards as read-only memory. Charles Babbage is also known as the father of the computer.

The basic parts without which a computer cannot work are as follows:

  • Processor: It executes instructions from software and hardware.
  • Memory: It is the primary memory for data transfer between the CPU and storage.
  • Motherboard: It is the part that connects all other parts or components of a computer.
  • Storage Device: It permanently stores the data, e.g., hard drive.
  • Input Device: It allows you to communicate with the computer or to input data, e.g., a keyboard.
  • Output Device: It enables you to see the output, e.g., monitor.

Computers are divided into different types based on different criteria. Based on the size, a computer can be divided into five types:

  1. Micro Computer
  2. Mini Computer
  3. Mainframe Computer
  4. Super Computer
  5. Workstations

1. Micro Computer:

It is a single-user computer which has less speed and storage capacity than the other types. It uses a microprocessor as a CPU. The first microcomputer was built with 8-bit microprocessor chips. The common examples of microcomputers include laptops, desktop computers, personal digital assistant (PDA), tablets, and smartphones. Microcomputers are generally designed and developed for general usage like browsing, searching for information, internet, MS Office, social media, etc.

2. Mini Computer:

Mini-computers are also known as "Midrange Computers." They are not designed for a single. They are multi-user computers designed to support multiple users simultaneously. So, they are generally used by small businesses and firms. Individual departments of a company use these computers for specific purposes. For example, the admission department of a University can use a Mini-computer for monitoring the admission process.

3. Mainframe Computer:

It is also a multi-user computer capable of supporting thousands of users simultaneously. They are used by large firms and government organizations to run their business operations as they can store and process large amounts of data. For example, Banks, universities, and insurance companies use mainframe computers to store the data of their customers, students, and policyholders, respectively.

4. Super Computer:

Super-computers are the fastest and most expensive computers among all types of computers. They have huge storage capacities and computing speeds and thus can perform millions of instructions per second. The super-computers are task-specific and thus used for specialized applications such as large-scale numerical problems in scientific and engineering disciplines including applications in electronics, petroleum engineering, weather forecasting, medicine, space research and more. For example, NASA uses supercomputers for launching space satellites and monitoring and controlling them for space exploration.

5. Work stations:

It is a single-user computer. Although it is like a personal computer, it has a more powerful microprocessor and a higher-quality monitor than a microcomputer. In terms of storage capacity and speed, it comes between a personal computer and minicomputer. Work stations are generally used for specialized applications such as desktop publishing, software development, and engineering designs.


Benefits of Using a Computer:

  • Increases your productivity: A computer increases your productivity. For example, after having a basic understanding of a word processor, you can create, edit, store, and print the documents easily and quickly.
  • Connects to the Internet: It connects you to the internet that allows you to send emails, browse content, gain information, use social media platforms, and more. By connecting to the internet, you can also connect to your long-distance friends and family members.
  • Storage: A computer allows you to store a large amount of information, e.g., you can store your projects, ebooks, documents, movies, pictures, songs, and more.
  • Organized Data and Information: It not only allows you to store data but also enables you to organize your data. For example, you can create different folders to store different data and information and thus can search for information easily and quickly.
  • Improves your abilities: It helps write good English if you are not good at spelling and grammar. Similarly, if you are not good at math, and don't have a great memory, you can use a computer to perform calculations and store the results.
  • Assist the physically challenged: It can be used to help the physically challenged, e.g., Stephen Hawking, who was not able to speak used computer to speak. It also can be used to help blind people by installing special software to read what is on the screen.
  • Keeps you entertained: You can use the computer to listen to songs, watch movies, play games and more.

The computer has become a part of our life. There are plenty of things that we do in a day are dependent on a computer. Some of the common examples are as follows:

  1. ATM: While withdrawing cash from an ATM, you are using a computer that enables the ATM to take instructions and dispense cash accordingly.
  2. Digital currency: A computer keeps a record of your transactions and balance in your account and the money deposited in your account in a bank is stored as a digital record or digital currency.
  3. Trading: Stock markets use computers for day to day trading. There are many advanced algorithms based on computers that handle trading without involving humans.
  4. Smartphone: The smartphone that we use throughout the day for calling, texting, browsing is itself a computer.
  5. VoIP: All voice over IP communication (VoIP) is handled and done by computers.



Servlet API

Servlet API

  1. Servlet API
  2. Interfaces in javax.servlet package
  3. Classes in javax.servlet package
  4. Interfaces in javax.servlet.http package
  5. Classes in javax.servlet.http package

The javax.servlet and javax.servlet.http packages represent interfaces and classes for servlet api.

The javax.servlet package contains many interfaces and classes that are used by the servlet or web container. These are not specific to any protocol.

The javax.servlet.http package contains interfaces and classes that are responsible for http requests only. 

Let's see what are the interfaces of javax.servlet package.

Interfaces in javax.servlet package

There are many interfaces in javax.servlet package. They are as follows:

  1. Servlet
  2. ServletRequest
  3. ServletResponse
  4. RequestDispatcher
  5. ServletConfig
  6. ServletContext
  7. SingleThreadModel
  8. Filter
  9. FilterConfig
  10. FilterChain
  11. ServletRequestListener
  12. ServletRequestAttributeListener
  13. ServletContextListener
  14. ServletContextAttributeListener

Classes in javax.servlet package

There are many classes in javax.servlet package. They are as follows:

  1. GenericServlet
  2. ServletInputStream
  3. ServletOutputStream
  4. ServletRequestWrapper
  5. ServletResponseWrapper
  6. ServletRequestEvent
  7. ServletContextEvent
  8. ServletRequestAttributeEvent
  9. ServletContextAttributeEvent
  10. ServletException
  11. UnavailableException

Interfaces in javax.servlet.http package

There are many interfaces in javax.servlet.http package. They are as follows:

  1. HttpServletRequest
  2. HttpServletResponse
  3. HttpSession
  4. HttpSessionListener
  5. HttpSessionAttributeListener
  6. HttpSessionBindingListener
  7. HttpSessionActivationListener
  8. HttpSessionContext (deprecated now)

Classes in javax.servlet.http package

There are many classes in javax.servlet.http package. They are as follows:

  1. HttpServlet
  2. Cookie
  3. HttpServletRequestWrapper
  4. HttpServletResponseWrapper
  5. HttpSessionEvent
  6. HttpSessionBindingEvent
  7. HttpUtils (deprecated now)