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 packaged enterprise solutions
  1. The Application Object Manager

  2. The File System Manager

  3. The Synchronization Manager

  4. The Siebel Web Engine

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

The Application Object Manager (AOM) is the server component that provides the runtime environment for Siebel applications. It handles user sessions, executes business logic, manages data access through business components, and coordinates all application server operations. The other options serve different purposes - file management, data synchronization, and web page generation.

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 Siebel URL is requested, the Web Server (with the Siebel Web Server Extension) recognizes the URL and forwards it to the Siebel Web Engine (SWE) on the application server. The SWE then compiles the templates and data into HTML to send back to the user.

Multiple choice technology programming languages
  1. The server has a built-in JVM

  2. The browser has a built-in JVM

  3. The source code is interpreted by the browser

  4. Applets don''t need a JVM.

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

Applets are compiled into platform-independent Java bytecode. They can run on any client machine because the user's web browser contains or integrates with a JVM plug-in that executes this bytecode locally.

Multiple choice technology web technology
  1. Create a JVM for applets

  2. Extending a web server by providing dynamic web content.

  3. Storing information in applets.

  4. Loading buttons and menus.

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

Servlets are Java programs that run on a web server or application server, dynamically generating web content in response to client requests. They extend the server's capabilities by enabling dynamic, interactive web applications that go beyond static HTML pages.

Multiple choice technology web technology
  1. Web Service Definition language

  2. Web Service Description Language

  3. Simple object Access Protocol

  4. interface Definition Language

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

WSDL (Web Service Description Language) is the standard XML-based interface definition language for web services. It describes the service's location, available operations, and message formats. SOAP is a protocol for message exchange, not an interface description language.

Multiple choice technology programming languages
  1. HttpSession

  2. ServletConfig

  3. ServletContext

  4. HttpServletRequest

  5. HttpServletResponse

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

When forwarding requests between servlets in different web applications, the session and servlet context are not shared. HttpServletRequest attributes are preserved during forward operations and are accessible only to the target servlet, making them the ideal mechanism for data sharing in this scenario. HttpSession and ServletContext are shared within the same web application, not across applications.

Multiple choice technology web technology
  1. Session is a cookie

  2. Session is basically is the duration between user login and logout time

  3. Session is a server side variable

  4. Session usually is non persistent cookie

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

A session represents the duration of a user's interaction with an application, typically spanning from login to logout. During this period, the server maintains user-specific state and data. While sessions are often implemented using cookies or server-side variables, the fundamental concept is the time duration itself, not the implementation mechanism. Sessions are generally persistent across multiple requests within the same login period.

Multiple choice technology platforms and products
  1. Deployment Manager

  2. Metadata Reporting Browser

  3. Runtime Repository

  4. Runtime Audit Browser

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

The Runtime Audit Browser is specifically designed to view deployment and execution audit information in OWB. Deployment Manager handles deployment operations, Metadata Reporting Browser generates reports, and Runtime Repository stores the data - but the Runtime Audit Browser is the interface for viewing audit trails.

Multiple choice technology web technology
  1. yes, request is handled by a light-weight Action object

  2. struts threadsafe depends on action class logic

  3. no

  4. none of these

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

Struts is designed to be thread-safe by creating a new (or reusing a pooled) lightweight Action instance for each request. Each Action invocation operates on its own ActionForm instance with no shared state between requests, making thread safety the default when developers follow best practices.

Multiple choice technology web technology
  1. True

  2. False

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

These are indeed the core classes in Struts 1.x: ActionServlet (front controller), Action (request handler), ActionForward (navigation), ActionMapping (configuration mapping), ActionErrors/ActionMessages (error messaging), RequestProcessor (processing pipeline), and ActionForm (data transfer). The list is comprehensive and correct.

Multiple choice technology web technology
  1. Dispatcher View ,Composite View ,Front Controller ,View Helper ,Synchronizer Token

  2. j2ee has no design pattern

  3. Service to Worker ,Dispatcher View ,Composite View ,Front Controller ,View Helper ,Synchronizer Token

  4. Dispatcher View,Service to Worker and Composite View only

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

J2EE design patterns include Front Controller, View Helper, Dispatcher View, Composite View, Service to Worker, and Synchronizer Token. Option C lists all these patterns comprehensively. Option A is incomplete (missing Service to Worker), and Option D is too limited.

Multiple choice technology packaged enterprise solutions
  1. True

  2. False

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

Object interfaces provide external applications with specific APIs to interact with Siebel, but they do not directly provide database access or support all mentioned technologies (CORBA, COM, Java beans). External applications use Siebel's proprietary interfaces (COM Data Control, Java Data Bean, Web Services) rather than generic CORBA or direct database connections.