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. JVM (Java Virtual Machine) is platform independent.

  2. Java is platform independent language.

  3. JRE (Java Runtime System) consists of set of libraries that JVM uses at runtime.

  4. All of the above

  5. Only (2) and (3)

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

Yes, both are the true statements.

Multiple choice
  1. JSP (Java Server Pages) compiles into servlet.

  2. JSP works as view part in MVC (Model View Controller) framework.

  3. There are no custom tags in java as compared to JSP.

  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.

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