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
-
Workflow engine
-
Rule engine
-
BPEL execution engine
-
All of the above
-
None of these
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.
-
6.0.0
-
7.0
-
7.0 Beta 2
-
7.0.1
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.
-
7.0.10
-
7.1.0
-
7.2.0
-
7.1.10
A
Correct answer
Explanation
Apache Tomcat 7.0.10 was a specific stable release in the 7.0.x series. The 7.x branch was a major version of the Tomcat servlet container.
-
Data Readers
-
Performance Counters
-
Web Performance Counters
-
Data Performance Counters
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.
-
The Session object.
-
The Application object.
-
The Response object
-
The Server object
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.
-
server
-
request
-
session
-
response
C
Correct answer
Explanation
The Abandon method is a member of the ASP Session object. It is used to explicitly destroy the current session and clear all variables associated with it. Server, Request, and Response objects do not have an Abandon method.
-
Session
-
Cookie
-
Web.config
-
Variable
C
Correct answer
Explanation
Web.config is the standard and most secure location for storing connection strings in .NET. It allows for easy configuration changes without recompiling, supports encryption, and is accessible globally within the application, unlike session or cookie storage.
-
MIDP 2.0
-
MIDP2.1
-
MIDP 1.0
-
CLDC1.1
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.
-
Content Mirroring service
-
Content Management service
-
Content Deployment service
-
Content Copying service
C
Correct answer
Explanation
In IIS, Content Deployment is the standard service and mechanism used to replicate and deploy web content across different environments or servers, whereas the other options are not standard IIS service names.
-
Session objects
-
Application objects
-
ViewState
-
All the Above
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.
-
Server.Transfer
-
Response.Redirect
-
Both A) and B)
-
None of the Above
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.
-
ASP.NET applications run without a Web Server
-
ASP+ and ASP.NET refer to the same thing
-
ASP.NET is a major upgrade over ASP
-
None of the Above
-
Session.Dump
-
Session.Abandon
-
Session.Exit
-
None of the Above
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.