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. soap,WSDl,uddi

  2. XML and HTTP

  3. SOAP,RPC,XML

  4. none of the above

  5. all of the above

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

Web services fundamentally rely on XML for message formatting and HTTP for transport - these two protocols are the minimum required foundation. SOAP, WSDL, UDDI build upon this base but aren't required for basic XML-over-HTTP web services (often called RESTful or plain XML services).

Multiple choice technology web technology
  1. BPEL is a language for implementing orchestration and choreography in SOA

  2. BPEL is a web service

  3. BPEL is a language for simple description of how web services are composed into buisiness

  4. None of the above

  5. all the above

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

BPEL (Business Process Execution Language) is an XML-based language for defining business processes that compose multiple web services. It orchestrates service interactions to implement business workflows, making option C correct. BPEL itself is not a web service (B is false).

Multiple choice technology architecture
  1. For displaying screen there is GET request, for changing status of server POST request is made.

  2. In struts-config.xml file in the action tag "redirect=false" will be there.

  3. When the page is refreshed GET request is made.

  4. Only 1

  5. Only 1&3

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

PRG (Post-Redirect-Get) pattern uses POST for state-changing requests and GET for display, preventing duplicate submissions on refresh. When a PRG page is refreshed, only a GET request is made, not the original POST. Option 2 about struts-config.xml is not a defining characteristic of PRG.

Multiple choice technology architecture
  1. web.xml

  2. application.xml

  3. only a and b

  4. struts-config.xml

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

In MSec v5 applications, task-to-URL mappings are configured in both web.xml (for servlet mappings) and application.xml (for application-level configuration), making 'only a and b' the correct answer. struts-config.xml is for Struts framework specifically.

Multiple choice technology platforms and products
  1. A port which can be created at runtime from within the orchestration

  2. A port whose binding information can be supplied at runtime

  3. c. A port whose binding information can be imported into BizTalk thru a xml file

  4. A port which can receive messages of any message type

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

A Dynamic Port in BizTalk allows binding information (transport type, address, etc.) to be supplied at runtime rather than being statically configured. This enables scenarios where endpoint details are not known at design-time. Dynamic ports can handle various message types through configuration.

Multiple choice technology platforms and products
  1. The port type responsible for receiving messages should be a public port

  2. The webservice should be running on the same machine where the SOAP Adapter is running

  3. The webservice should be running on the same machine where the biztalk message box is available

  4. The Webservice should run under a user account that has permissions to access the biztalk management database

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

For BizTalk to receive messages via web services, the receiving port type must be Public. This visibility is required for external SOAP requests to reach the orchestration. The web service and BizTalk server can be on different machines.

Multiple choice technology
  1. java

  2. flex

  3. Ajax

  4. hibernate

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

TIBCO General Interface is an Ajax (Asynchronous JavaScript and XML) framework that enables developers to build Rich Internet Applications (RIAs) that provide desktop-like functionality in a web browser. It uses Ajax techniques to create responsive, interactive applications without requiring browser plugins, competing with technologies like Java applets and Flex.

Multiple choice technology security
  1. GET

  2. POST

  3. PUT

  4. TRACE

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

POST is the best practice for submitting form data because it sends data in the request body (not URL), has no size limit, and is more secure for sensitive information. GET shows data in the URL (visible in browser history/logs), has length restrictions, and should only retrieve data. PUT is for updating resources, TRACE is for debugging. POST is specifically designed for submitting data to be processed. Option B is correct.

Multiple choice technology performance
  1. a) Enterprise server

  2. b) Gateway server

  3. c) Web server

  4. d) none

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

The Siebel Gateway Name Server acts as the single entry point and logical directory for all Siebel Enterprise Servers in the environment. Client connections and server-to-server communications are routed through the Gateway Server.

Multiple choice technology performance
  1. a) Workflow Manager

  2. b) Assignment Manager

  3. c) Synchronization Manager

  4. d) Application Object Manager

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

The Application Object Manager (AOM) is the core Siebel server component that provides the runtime environment for Siebel applications. It manages all three layers: the UI layer (presentation), Business layer (logic and business rules), and Data layer (database interactions). Other options like Workflow Manager, Assignment Manager, and Synchronization Manager are specialized components that run within the AOM framework, not the foundational environment provider.

Multiple choice technology performance
  1. a) protocol used to transfer data over web from one computer to another

  2. b) hostname of the Web server on which your Siebel component resides.

  3. c) command that is recognised by SWSE.

  4. d) none

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

In Siebel URL structure (like http://your siebel app/start.swe), 'your siebel app' represents the hostname of the web server hosting the Siebel components. This is the domain name or IP address where the SWSE and Siebel server are accessible. It is NOT a protocol, command, or the web server itself - it's the address of the server.

Multiple choice technology performance
  1. a) Enterprise server

  2. b) Gateway server

  3. c) Web server

  4. d) none

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

The Web Server is the first component that receives and identifies Siebel web client requests. It then passes these requests to the Siebel Web Server Extension (SWSE), which forwards them to the appropriate Siebel server via the Gateway. The Enterprise server processes requests but doesn't initially identify them - the web server does.

Multiple choice technology performance
  1. a) Siebel Web Client

  2. b) Enterprise server

  3. c) RDBMS

  4. d) none

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

The Web Server sends complete HTML pages back to the Siebel Web Client (the user's browser). The flow is: Web Client (browser) → Web Server → SWSE → Siebel Server → Database, then the return path: Siebel Server generates HTML → Web Server → Web Client (browser). The Enterprise server and RDBMS are upstream components.

Multiple choice technology security
  1. GET

  2. POST

  3. PUT

  4. TRACE

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

POST is more secure than GET for form data because GET places parameters in the URL query string, which is visible in browser history, server logs, and can be cached. POST sends data in the request body, which is not logged or cached by default. PUT is for updates, TRACE is for debugging (and often disabled for security reasons). For sensitive form data, POST is the recommended method.