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 general knowledge science & technology
  1. Workflow engine

  2. Rule engine

  3. BPEL execution engine

  4. All of the above

  5. None of these

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

Drools is a business rule management system and rule engine that separates business logic from application code. While often used alongside jBPM, Drools itself focuses specifically on rule execution, not workflow orchestration or BPEL.

Multiple choice general knowledge science & technology
  1. 6.0.0

  2. 7.0

  3. 7.0 Beta 2

  4. 7.0.1

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

NetBeans 7.0 Beta 2 was a cutting-edge version when this question was written (around 2008-2009). This version introduced significant improvements including better PHP support, improved editor features, and enhanced performance. NetBeans has evolved significantly since then and is now in version 15+, but for its time, Beta 2 was indeed the latest.

Multiple choice technology programming languages
  1. Data Readers

  2. Performance Counters

  3. Web Performance Counters

  4. Data Performance Counters

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

In .NET, Performance Counters are the standard mechanism for obtaining performance information about web applications. They provide metrics on CPU usage, memory consumption, request rates, response times, and other performance indicators for monitoring and diagnostics.

Multiple choice technology programming languages
  1. The Session object.

  2. The Application object.

  3. The Response object

  4. The Server object

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

The Application object stores data that is shared across all users and sessions of an ASP.NET application, making it ideal for maintaining global state. In contrast, the Session object is user-specific, while Response and Server objects handle HTTP responses and server utilities respectively and are not designed for data storage across users.

Multiple choice technology embedded technologies
  1. MIDP 2.0

  2. MIDP2.1

  3. MIDP 1.0

  4. CLDC1.1

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

JTWI (Java Technology for the Wireless Industry) specification mandates MIDP 2.0 as the minimum requirement for compliant devices. While JTWI also requires CLDC 1.1 (option D), the core profile requirement is MIDP 2.0, making option A correct. MIDP 2.1 is a later version not required by the original JTWI standard.

Multiple choice technology web technology
  1. Session objects

  2. Application objects

  3. ViewState

  4. All the Above

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

Session state maintains user-specific data across multiple requests. Application state stores global data shared across all users and sessions. ViewState preserves page state during postbacks within the same page. All three are fundamental ASP.NET state management mechanisms, each serving different scopes and persistence needs. 'All the Above' correctly identifies that all three are valid state management approaches.

Multiple choice technology web technology
  1. Server.Transfer

  2. Response.Redirect

  3. Both A) and B)

  4. None of the Above

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

Both Server.Transfer and Response.Redirect transfer execution to another page in ASP.NET. Server.Transfer transfers execution on the server-side without requiring a client round-trip, while Response.Redirect sends an HTTP 302 response to redirect the client. Since both methods accomplish page transfer, option C is correct.

Multiple choice technology web technology
  1. Session.Dump

  2. Session.Abandon

  3. Session.Exit

  4. None of the Above

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

In ASP.NET, sessions can be terminated programmatically using the Session.Abandon method. This method ends the current session and clears all session data. Session.Dump and Session.Exit are not valid ASP.NET methods.