Web Component

Why Trust Techopedia

What Does Web Component Mean?

A Java web component is a server-side object used by a Web-based client (browsers) to interact with J2EE applications. Web components come in two types:

Advertisements
  1. Java Servlet: A server-side Web component used to process requests and construct responses.
  2. JavaServer Pages: Used to create dynamic Web content and server/platform-independent Web-based applications.

Techopedia Explains Web Component

A Web browser interacts with a J2EE application via the Java Servlet and JavaServer Pages Web components. However, Web component development and execution processes differ from typical stand-alone Java classes.

The Web container – the environment where Web components are executed – also provides services required for execution. If a Web component is executed by a Web container, the component must first be deployed in a Web container.

There are four basic steps involved in Web component development and execution:

  1. Writing Web component code. A deployment descriptor also may be included in the code.
  2. Packaging the Web component, along with the resources referenced in the code such as images and videos.
  3. Installing the Web component in the Web container.
  4. Accessing the link that refers to the Web component.
Advertisements

Related Terms

Margaret Rouse
Technology expert
Margaret Rouse
Technology expert

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.