Computer Knowledge

Java Enterprise and Web Technologies

2,183 Questions

Java enterprise and web technologies questions focus on J2EE architecture, web services like SOAP, and servlet functionalities. These topics frequently appear in IT officer and specialist scale examinations. Regular practice ensures familiarity with enterprise application components.

HttpServlet methodsSOAP and web servicesEJB architecture rolesJ2EE componentsJSP servlet callingUDDI concepts

Java Enterprise and Web Technologies Questions

Multiple choice
  1. It provides protocol definition for the web service.

  2. It provides validation capability for the XML documents.

  3. It provides structured information for the web service.

  4. It provides security for the web services.

  5. It shares the context with other web services.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

JAXP provides the validation capability and parsing XML documents.

Multiple choice
  1. It provides resource identification through URI.

  2. It provides uniform interface.

  3. It cannot handle crude operations.

  4. It defines self-descriptive messages.

  5. Every interaction with a resource is stateless.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

REST is the most suitable for CRUDE operations.

Multiple choice
  1. It specifies the address of the header element.

  2. It specifies whether the header element is mandatory or optional for the recipient.

  3. It is used to define the data types used in the document.

  4. It specifies the size of the header element.

  5. It is the default attribute used in the SOAP message.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The 'actor Attribute' is used to address the header element to a specific endpoint.

Multiple choice
  1. Web services are supported by the major browsers.

  2. Web services work on several protocol specifications.

  3. REST provides better cache capability.

  4. Web service is an interface for the application.

  5. SOAP is based on HTTP protocol.

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

SOAP itself is a protocol and is based on XML, not on HTTP.

Multiple choice
  1. is an interpreted program that runs on the client

  2. tracks the number of visitors to a Website

  3. is a compiled program that usually runs on the client

  4. collects data from visitors to a Website

  5. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A Java applet is a compiled program that typically runs on the client side in a web browser. Unlike simple interpreted scripts, applets are compiled into bytecode before execution. The other options describe different web technologies (visitor tracking, data collection) that are not applet functions.

Multiple choice
  1. Java Compiler

  2. JDBC Driver

  3. Applet Viewer

  4. Sample Codes

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

JDK includes the Java Compiler, Applet Viewer, and Sample Codes as standard components. JDBC drivers are separate database connectivity libraries that must be added independently, not part of the core JDK distribution.