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 technology programming languages
  1. JVM's default class loader is bootstrap

  2. Java code is compiled into bytecode

  3. JVM can run code in any language, provided it has been complied to bytecode meeting JVM specification

  4. Java class file use little-endian format

  5. Garbage collector is an integral part of JVM

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

Java class files use big-endian byte order (most significant byte first) for all multi-byte data, making the statement that they use little-endian format false, and thus the correct answer.

Multiple choice technology platforms and products
  1. ASP.NET Dynamic Data

  2. Peer-to-Peer Networking

  3. LINQ

  4. HashSet Collection Type

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

The question asks which feature was NOT introduced with .NET Framework 3.5. ASP.NET Dynamic Data was actually introduced with .NET Framework 3.5 SP1 (Service Pack 1), not the initial 3.5 release. LINQ, Peer-to-Peer Networking, and HashSet were all in the original 3.5 release.

Multiple choice technology programming languages
  1. Script language declarations, scriplets and expressions.

  2. JSP standard actions

  3. JSP standard directives

  4. All the Above

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

The Java Server Pages (JSP) specification defines scriptlet elements (declarations, scriptlets, and expressions), standard actions (like `), and directives (like<%@ page %>`), making all options correct.

Multiple choice technology web technology
  1. 3

  2. 5

  3. 6

  4. 8

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

Classic ASP has six server objects: Application, ASPError, Request, Response, Server, and Session. These objects provide essential functionality for building dynamic web pages, with each serving a specific purpose like managing state, handling errors, or processing client requests.

Multiple choice technology web technology
  1. Respones.expires=100

  2. Respones.Buffer=true

  3. Respones.Buffer=false

  4. Respones.Buffer=-1

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

Setting Response.Buffer to false disables page buffering, allowing content to be sent to the client immediately as it's generated rather than waiting for the entire page to complete. The Expires property controls caching, not buffering behavior.

Multiple choice technology web technology
  1. Generic Servlet is an Abstract Class and it extends Servlet Config Class

  2. HttpServlet is an Abstract class extending Generic Servlet Abstract Class.

  3. HttpServlet is an Abstract Class that extends Servlet Interface.

  4. Generic Servlet is an Abstract Class and it extends Servlet Config Interface

Reveal answer Fill a bubble to check yourself
B,D Correct answer
Multiple choice technology web technology
  1. True

  2. False

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

SOA (Service-Oriented Architecture) is an architectural design pattern that can be implemented using various technologies including web services, CORBA, REST APIs, message queues, or other distributed computing approaches. Web services are one popular implementation but not the only way.

Multiple choice technology web technology
  1. Simple Access API for Java

  2. SOAP with Attachments API for Java

  3. Serial Access API for Java

  4. Sun Access API for Java

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

SAAJ stands for SOAP with Attachments API for Java. It's a Java API for creating and sending SOAP messages with attachments. The other options are fabricated: Simple Access, Serial Access, and Sun Access are not real Java API names.

Multiple choice technology web technology
  1. Servlet Container

  2. EJB Server

  3. J2EE Server

  4. Nothing

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

Tomcat is primarily a Servlet Container and JSP engine. It is not a full EJB server (which requires Java EE application server like JBoss), not a complete J2EE server, and certainly not 'nothing'.