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. Adapter

  2. Singleton

  3. Factory

  4. All the above

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

BOM uses the Factory pattern to instantiate objects in the BOM graph per client request. The Factory pattern centralizes object creation logic, allowing for controlled instantiation and easy management of object lifecycles. Adapter is for interface compatibility, Singleton ensures single instances.

Multiple choice technology packaged enterprise solutions
  1. Spring

  2. Hibernate

  3. Struts

  4. None of the above

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

Hibernate is an ORM (Object-Relational Mapping) persistence framework specifically designed for database operations. Spring is a broader framework with multiple capabilities including dependency injection and MVC, not primarily a persistence framework. Struts is a web MVC framework.

Multiple choice technology
  1. XML Based application container

  2. XML based web container

  3. Java based web container

  4. None of the above

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

Genesys is an XML-based application container framework that uses XML extensively for configuration, routing, event mapping, and flow definitions. While it can run in web environments and uses Java, it's fundamentally an application container defined by XML configuration files, not specifically a web container like Tomcat.

Multiple choice technology web technology
  1. Service Oriented Application

  2. Service Oriented Architecture

  3. Simple Object Authentication

  4. Secure Oriented Architecture

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

SOA stands for Service Oriented Architecture. It's an architectural pattern where applications are built from loosely-coupled, reusable services. The other options are plausible-sounding but incorrect expansions. SOA is about organizing software capabilities as services that can be discovered and called over a network.

Multiple choice technology web technology
  1. The transformation from SOAP to fixed format/COBOL (inbound) and from fixed format/COBOL to SOAP (outbound)

  2. Authorization and Authentication

  3. Filters Input/output Request

  4. Generate the Secret Key

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

WebSphere Message Broker (now IBM App Connect Enterprise) performs message transformation including SOAP to fixed format/COBOL conversions. This is a core ESB function - transforming between different message formats (like XML/SOAP and legacy COBOL copybooks) during inbound and outbound processing. Options B, C, and D describe security or processing functions not specific to transformation.

Multiple choice technology programming languages
  1. Session object

  2. Application object

  3. View state

  4. All of the above

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

ASP.NET provides multiple state management mechanisms for different scopes and lifecycles. Session object maintains user-specific data across requests, Application object stores global data shared across all users, and ViewState preserves page-specific control values during postbacks. All three are valid state management techniques in ASP.NET applications.

Multiple choice technology web technology
  1. EJB

  2. JPA

  3. JSP

  4. None

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

JSP (JavaServer Pages) is a server-side technology that generates dynamic web content and is used for creating frontend user interfaces. EJB (Enterprise JavaBeans) handles server-side business logic, while JPA (Java Persistence API) manages database operations, making them backend technologies.

Multiple choice technology platforms and products
  1. Web.xml

  2. Composite.xml

  3. Both of the above

  4. None

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

The composite.xml file is the core descriptor file for a SOA Composite application in Oracle SOA Suite. It defines the composite's structure including its components, services, references, wires, and configuration. The web.xml file (option A) is used for Java web applications, not SOA composites.

Multiple choice technology platforms and products
  1. manipulationg data before sending it to the external service

  2. To send data to Oracle BAM for analysis

  3. To define the external services which the BPEL service component is to interact.

  4. All of the above

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

A PartnerLink in BPEL defines the external services that the BPEL process will interact with. It encapsulates the WSDL port type and binding information needed for service invocation. Options A and B refer to different BPEL constructs - data manipulation is done using assign activities, and BAM integration uses specific BAM sensor actions, not PartnerLinks.