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 used to provide a reusable combination of different server components.

  2. It provides support to IIS specific languages.

  3. It is used to create dynamic and powerful Web-based business solutions.

  4. It is a mixture of text and HTML tags.

  5. All of these

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

Yes, all are correct.

Multiple choice
  1. SSI is limited to some extent.

  2. These files has information about storage of application specific functions and procedures.

  3. It has the properties to store any of the object's attributes.

  4. It defines the execution environment in networking medium.

  5. Options 1 and 2

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

These are correct statements.

Multiple choice
  1. Response

  2. Request

  3. Entity

  4. PUT

  5. OPTIONS

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

This HTTP message request is the one that is sent from a client to a server and includes the method to be applied to the resource, the identifier of the source and the protocol version in use.

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. message stream

  2. byte stream

  3. connection oriented service

  4. none of these

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

Registered mail implies a reliable, ordered, and connection-oriented delivery process, which is analogous to a byte stream or reliable connection-oriented service in networking contexts.

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.