Computer Knowledge

Java Enterprise and Web Technologies

2,183 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
  1. Eclipse 3.5 classic

  2. 32-bit Windows XP, Vista or 7(64-bit version requires 32-bit Java and Eclipse)

  3. PC with Intel Pentium 4 processor or compatible(2.5 GHz or more)

  4. 2GB RAM , 1.5 GB HARD DISK FREE

  5. Java SE Development Kit(JDK) 6, update 10 or later

  6. All the above

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

This question follows a standard 'All the above' pattern. For BlackBerry Java development, you typically need: Eclipse IDE, Windows OS (32-bit recommended even on 64-bit systems due to Java/Eclipse compatibility), adequate hardware (processor, RAM, disk space), and Java SE JDK 6 or later. Since options A-E represent individual technical requirements and F encompasses all of them, F is the correct answer.

Multiple choice technology
  1. Java SE Development Kit(JDK) version 5

  2. Java SE Development Kit(JDK) version 6

  3. Java SE Development Kit(JDK) version 7

  4. Java SE Development Kit(JDK) version 8

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

BlackBerry MDS-CS (Mobile Data System Connection Service) requires Java SE Development Kit (JDK) version 6. This is the minimum supported version for developing and deploying applications that use MDS-CS services. Earlier versions lack necessary features, while later versions may have compatibility issues with older BlackBerry SDKs.

Multiple choice technology web technology
  1. True

  2. False

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

A web service is more than just a function - it is a standardized, self-contained, modular software component that can be described, published, discovered, and invoked over a network using standard XML-based protocols. The statement oversimplifies web services as merely exposed functions.

Multiple choice technology web technology
  1. Open Standard

  2. Secure

  3. Text Based Response

  4. All of Them

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

Web services use open standards (XML, SOAP, WSDL) making them interoperable across platforms. They use text-based XML responses which are readable and firewall-friendly. However, web services are not inherently more secure than native alternatives - they still need proper security implementation.

Multiple choice technology web technology
  1. Its a protocol for calling services

  2. Its a registry for discovering services

  3. Its an xml file for defining the methods that can be called over the web.

  4. None of the above

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

WSDL (Web Services Description Language) is an XML document that defines the service interface, operations, parameters, and location. UDDI is a registry, not WSDL. WSDL itself is not a calling protocol - it describes the service that can be called via protocols like SOAP.

Multiple choice technology web technology
  1. A Web service

  2. A tool to generate Web services from java classes.

  3. A tool to generate web service stubs.

  4. All of the above.

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

Apache Axis is a Java framework for web services. It can generate web services from existing Java classes (Java2WSDL) and generate client stubs from WSDL (WSDL2Java). It is a tool/framework, not a web service itself. Options B and C are both correct Axis capabilities.

Multiple choice technology packaged enterprise solutions
  1. Rule Container

  2. Rule Engine

  3. Ruleset

  4. Rule Server

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

The Rule Engine is the core API/mechanism in ILOG BRMS that executes business rules. It takes rule definitions, evaluates conditions against input data, and executes the appropriate actions. A Rule Container is a storage mechanism, a Ruleset is a collection of rules, and a Rule Server handles deployment and management - but only the Rule Engine actually executes the rules.

Multiple choice technology packaged enterprise solutions
  1. From Rules Business Object Model

  2. From Execution Object Model(XOM)

  3. An administrator will provide input in runtime

  4. Rules can run independent of any external component

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

The Execution Object Model (XOM) is how ILOG BRMS interfaces with external data at runtime. XOM provides the working memory and object model that rules query and manipulate during execution. Business Object Models are design-time artifacts, administrators don't typically provide runtime input, and rules cannot run completely independently - they need data via XOM.

Multiple choice technology packaged enterprise solutions
  1. Server side validation

  2. Client side validation

  3. It is used to handle flow

  4. Both a & b

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

In PS Framework, the page handler provides client-side validation functionality. It validates user input on the browser before submitting to the server, improving responsiveness and reducing server load. Server-side validation would happen on the backend, and flow handling is typically managed by controllers, not page handlers.

Multiple choice technology packaged enterprise solutions
  1. Unique identifier for Servlet

  2. Is one of the method in action controller

  3. a & b

  4. All the above

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

getApplicationId() returns a unique identifier for a Servlet in the web application context. It helps distinguish different servlets or application instances within the same server. While it could theoretically be used in an action controller, its primary purpose is servlet identification rather than being a controller method itself.

Multiple choice technology packaged enterprise solutions
  1. True

  2. False

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

UsaaHttpServlet is a custom abstract class built on top of the standard HttpServlet, extending its functionality for framework-specific requirements. The abstract class inherits all HTTP method handling capabilities from HttpServlet while adding USAA-specific behavior. This is a common pattern in custom servlet frameworks.

Multiple choice technology packaged enterprise solutions
  1. doGet()

  2. doPost()

  3. a & b

  4. processRequest()

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

Framework servlets typically handle multiple HTTP methods. PsFrameworkServlet overrides both doGet() and doPost() methods to provide consistent request processing and routing across different HTTP request types within the framework's architecture. Option D (processRequest) is likely an internal method, not the standard HttpServlet override.

Multiple choice technology packaged enterprise solutions
  1. Session Facade pattern only

  2. Interceptors only

  3. both session Facade and interceptor patterns

  4. none

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

The Business Services Framework (BSF) incorporates both the Session Facade pattern and the Interceptor pattern. Session Facade provides a unified interface to business logic, while Interceptors handle cross-cutting concerns like logging, security, and transaction management. Together they form a comprehensive framework architecture.

Multiple choice technology packaged enterprise solutions
  1. True

  2. False

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

The Session Facade pattern acts as a coarse-grained controller, exposing business services to the presentation tier or Business Delegate via a distributed interface. This abstraction hides the complexity of underlying business components, making the statement true. The false option is incorrect.