Don't miss an insight. Subscribe to Techopedia for free.

Subscribe
Advertisements

Web Component

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