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. View components

  2. Java beans components

  3. Instance passivation

  4. Transaction

  5. Controller components

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

One of the major contributions of controller components is that they allow the developer to remove much of the error handling logic from the JSP pages in their application.

Multiple choice
  1. It provides system level services.

  2. It provides web components, such as Servlets and JavaServer Pages (JSPs), or standalone Java applications provide a dynamic interface to the other tier.

  3. It provides data persistency and storage.

  4. Both (1) and (2).

  5. None of the above

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

Yes, middle tier provides system-level services such as session management, security services, etc.

Multiple choice
  1. JAVA is object-oriented.

  2. JAVA supports multi-threading.

  3. JAVA is platform independent.

  4. JVM provides run time environment to execute java byte code.

  5. All of the above

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

1) JAVA is object oriented because objects are integral part in designing a JAVA program.

2) Yes, java supports multi threading where single program can run multiple tasks simultaneously.
3) Java is platform independent, the compiled byte code can run on different machines.
4) Java virtual machine provides run time environment for compiled java byte code for executing java programs on a machine.
Hence all the given options are correct.

Multiple choice
  1. Ajax uses javascript to communicate with the server.

  2. In ajax, we need not to wait the response of the server to load a particular part of the page.

  3. There is no server side request to handle in javascript.

  4. All of the above.

  5. Only (1) and (2).

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

Yes, all of the above are the true statements.