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 web technology
  1. True

  2. False

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

JSF includes standard message bundles with predefined error messages for conversion and validation failures. These messages are automatically associated with components and displayed using or tags when errors occur during the Process Validations or Update Model Values phases.

Multiple choice technology packaged enterprise solutions
  1. The HTML is pulled from the Web cache on the Mobile Web Client

  2. It is not possible for a disconnected client to receive Siebel HTML pages

  3. The local Web Server with SWSE delivers the HTML to the browser

  4. The Mobile Web Client must synchronize to receive the HTML from the Siebel Web Engine

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

In disconnected mode, the Mobile Web Client uses a local web server with SWSE (Siebel Web Server Extension) to deliver HTML to the browser. HTML pages are generated locally from templates and data stored on the device, not from a web cache or requiring immediate synchronization.

Multiple choice technology packaged enterprise solutions
  1. Gathers templates and data and builds an HTML page

  2. Displays the HTML page on the client’s computer

  3. Provides access to, and distributes load for Siebel Servers

  4. Verifies that the client is using an acceptable browser

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

The Siebel Web Engine processes incoming requests by retrieving appropriate templates, fetching required data from the Siebel database, and constructing HTML pages. Display happens on the client, load balancing is handled by the SWSE/gateway, and browser verification is a separate function.

Multiple choice technology packaged enterprise solutions
  1. The browser retrieves the appropriate templates and the Siebel Web Engine retrieves the data from the database to build the HTML page

  2. The Siebel Web Engine recognizes the URL and passes it to the Web Server where the HTML page is built for the user

  3. The Web Server retrieves the appropriate templates and the Siebel Web Engine retrieves the data from the database to build the HTML page

  4. The Web Server recognizes the URL and passes it to the Siebel Web Engine where the HTML page is built for the user

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

When a user enters a Siebel application URL, the Web Server first receives the HTTP request. The Web Server recognizes Siebel URLs and passes them to the Siebel Web Engine (SWE), which then retrieves data from the database and constructs the HTML page using appropriate templates. This separation allows the Web Server to handle static content while the SWE processes dynamic Siebel-specific requests.

Multiple choice technology packaged enterprise solutions
  1. SWSE

  2. SWE

  3. Eapps.cfg

  4. Name Server

  5. Virtual Directory

Reveal answer Fill a bubble to check yourself
A,C,E Correct answer
Explanation

The Siebel Web Server extends a third-party web server with three key components: SWSE (Siebel Web Server Extension) which acts as the plug-in interface, eapps.cfg which contains application configuration settings, and a Virtual Directory that maps web requests to Siebel resources. SWE (Siebel Web Engine) is a separate component that runs on application servers, not the web server tier. The Name Server is a completely separate service for enterprise connectivity.

Multiple choice technology web technology
  1. The Session object.

  2. The Application object.

  3. The Response object.

  4. The Request object.

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

The Request object encapsulates all data sent from the client to the server, including form data, query strings, cookies, and server variables. When a user submits a form, the form data is accessible through the Request object (Request.Form, Request.QueryString). Session (option A) stores user-specific data across pages, Application (option B) stores application-wide data, and Response (option C) sends data to the client.

Multiple choice technology web technology
  1. The Session object.

  2. The Application object.

  3. The Response object.

  4. The Server object

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

The Server object provides access to server-related information and utilities. To get the web server's hostname, you would use Server.MachineName or access server variables through ServerVariables. The Session object (option A) stores user-specific data, Application (option B) stores application-wide state, and Response (option C) sends output to the client.

Multiple choice technology web technology
  1. The Session object.

  2. The Application object.

  3. The Response object.

  4. The Request object.

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

The Session object encapsulates user-specific state and browser information, maintaining data across multiple page requests for a single user. It tracks session ID, stores user data, and can maintain information about the client's browser session. The Application object (option B) is shared across all users, Response (option C) sends data to the client, and Request (option D) handles incoming client data.

Multiple choice technology web technology
  1. To store the global information and variable definitions for the application.

  2. Configures the time that the server-side codebehind module is called.

  3. To configure the web server.

  4. To configure the web browser.

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

Web.config is the primary configuration file for ASP.NET applications, storing global application settings, connection strings, and variable definitions accessible throughout the application. It does not directly configure the web server (IIS) or web browser. Option B is incorrect because Web.config doesn't control timing of code-behind execution.

Multiple choice technology web technology
  1. The control will operate as usual; the default is runat="server"

  2. The control will revert to being a client-side control and function as such.

  3. The control will not function; the default is runat="client".

  4. The compilation of the application will fail.

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

ASP.NET server controls require the runat="server" attribute to be processed on the server. Without this attribute, the control is treated as a literal HTML element during page compilation, causing compilation to fail because server-side control properties and event handlers cannot be resolved. Option A is incorrect - there is no automatic default. Option B is wrong because the code won't compile to begin with.

Multiple choice technology web technology
  1. PHP

  2. JSP

  3. JavaScript

  4. ASP

  5. CSS

  6. HTML

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Explanation

PHP, JSP, and ASP are all server-side scripting languages used to generate dynamic web content. JavaScript (C) is primarily a client-side language (though Node.js exists, the question context implies traditional web development). CSS (E) and HTML (F) are client-side presentation technologies, not server-side languages.

Multiple choice technology operating systems
  1. C Virtual Machine (CVM )

  2. Kernel-based Virtual Machine (KVM)

  3. Java Virtual Machine (JVM )

  4. Java Runtime Environment (JRE)

  5. None of the above

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

KVM (Kernel-based Virtual Machine) is the Java virtual machine specifically designed for resource-constrained devices in J2ME. It is a stripped-down version of JVM optimized for devices with limited memory and processing power.

Multiple choice technology operating systems
  1. C Virtual Machine (CVM )

  2. Kernel-based Virtual Machine (KVM)

  3. Java Virtual Machine (JVM )

  4. Java Runtime Environment (JRE)

  5. None of the above

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

KVM (Kernel-based Virtual Machine) is the lightweight Java virtual machine designed specifically for J2ME/CLDC devices with limited memory and processing power. It's a subset of the full JVM optimized for constrained environments.

Multiple choice technology enterprise content management
  1. In OpenDeploy base odnodes.xml should have an nodeSet entry having receivers host name and listening port

  2. In OpenDeploy receiver odnodes.xml should have an nodeSet entry having base host name and listening port

  3. Ports mentioned in both receiver and base should be the same

  4. nodeSet entry is only required in odnodes.xml of base server not required in receiver server

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

To deploy from OpenDeploy Base to Receiver: the Base's odnodes.xml needs a nodeSet entry with the receiver's hostname and port (A), the Receiver's odnodes.xml needs a nodeSet with the base's hostname and port (B), and both ports must match (C). Option D is incorrect because both sides need the nodeSet entry for proper communication.

Multiple choice technology platforms and products
  1. ready-made environment in which users can perform functions on webMethods applications

  2. manage access to webMethods applications functions

  3. Capability to develop user interface pages

  4. Broad-based set of administrative tools

  5. None of Above

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

My webMethods Server provides: a ready-made user environment for applications, access management through security controls, UI development capabilities through its interface framework, and comprehensive administrative tools for server management.