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. The ability of an application to perform multiple tasks at the same time.

  2. Java can be used for internet programming.

  3. The ability of Java program to run on any machine.

  4. None of these

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

Java source program generates bytecode, which we can execute on any platform. Hence, Java is a portable language.

Multiple choice
  1. The browser sends a request to the server.

  2. The server sends a response to the browser.

  3. The browser opens a connection.

  4. The connection is closed.

  5. The connection is repaired.

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

This is the first operation in the HTTP transaction as before sending or receiving signals from web server the connection has to be established.

Multiple choice
  1. General header field

  2. Request header

  3. Response header

  4. Entity header

  5. Stack header

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

This header in HTTP consists of message from a client to a server and also includes the method to be applied to the resource, the identifier of the source and the protocol version in use.

Multiple choice
  1. java.lang.annotation.Annotation

  2. java.lang.Annotation

  3. java.lang.Annotations

  4. java.lang.reflect.Annotation

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

This answer is correct. All annotation types extend the Annotation interface which is from java.lang.annotation package. Annotation is a super-interface of all annotations.