Computer Knowledge

Java Enterprise and Web Technologies

2,279 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 is not a protocol.

  2. REST implementation is possible without any protocol.

  3. It should have the self contained messages.

  4. It uses interfaces and named operations to expose business logic.

  5. SOAP based web services can be implemented by RESTful style.

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

REST does not use any interface of named operations for business logic. It uses URI for that.

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.