Java Web Services and Business Rules Architecture

Quiz covering web services (JAX-RPC, SOAP, WSDL, UDDI), XML handling, and business rules engine concepts in enterprise architecture

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

--------------- is a scalable rule management server and repository with a collaborative Web environment for authoring, managing, validating, and deploying business rules

  1. Rule Execution Server.
  2. Rule Solutions for Office.
  3. Decision Validation Services.
  4. Rule Team Server.
Question 2 Multiple Choice (Single Answer)

--------------- is a module that provides business rule testing and simulation solutions to developers, business users, or policy managers

  1. Rule Execution Server.
  2. Rule Solutions for Office.
  3. Decision Validation Services.
  4. Rule team Server.
Question 3 Multiple Choice (Single Answer)

BAL stands for?

  1. Business Action Language.
  2. Business Algorithm Language.
  3. Broker Action Language.
  4. None of the above.
Question 4 Multiple Choice (Single Answer)

IRL stands for?

  1. ILOG Rule Language.
  2. ILOG Runtime Language.
  3. ILOG Release Language.
  4. ILOG Ruleset Language.
Question 5 True/False

Is this a valid Syntax to call Switch case in jRules? ruleset r { int count; } flowtask main { body = { switch(count) { case 1: { T1; } case 3: { T2; } default: { T3; } } } };

  1. True
  2. False
Question 6 Multiple Choice (Single Answer)

What is the Approach name to first write the Class and generate WSDL to expose it as a Web Service?

  1. Top Down Approach
  2. Bottom Up Approach
  3. Top Left Approach
  4. Bottom Right Approach
Question 7 Multiple Choice (Multiple Answers)

Mark the statements which are true for SOAP ?

  1. SOAP is based on XML format
  2. SOAP is platform dependant.
  3. SOAP is language independent.
  4. SOAP is non extensible protocol.
  5. SOAP is compatible with Java alone.
Question 8 Multiple Choice (Single Answer)

Which XML-RPC data type would be best suited to hold the number 8.67?

  1. boolean
  2. double
  3. int
  4. string
Question 9 Multiple Choice (Single Answer)

Which WSDL Service Definition part – Specifies an address for a binding?

  1. Binding
  2. portType
  3. Port
  4. Message.
Question 10 Multiple Choice (Single Answer)

--------------------- represents an abstract definition of the data being transmitted?

  1. Message
  2. Binding
  3. Port
  4. portType.
Question 11 Multiple Choice (Single Answer)

------------------------ refers to the interaction between Service Provider and Registry ?

  1. Find
  2. Bind
  3. Publish
  4. EndPoint.
Question 12 Multiple Choice (Single Answer)

Suppose an error occurs when executing the Web Service in which WSDL Operation it should be captured

  1. INPUT
  2. OUTPUT
  3. FAULT
  4. None of the above
Question 13 Multiple Choice (Single Answer)

------------------------ is a standard for describing the Structure of the XML Data Exchanged between two systems using SOAP

  1. WSDL
  2. UDDI
  3. SAAJ
  4. JAXR
Question 14 Multiple Choice (Single Answer)

It defines a standard set of Web Service operations (methods) that are used to store and look up information about other Web Service Operations

  1. WSDL
  2. UDDI
  3. SAAJ
  4. JAXR
Question 15 Multiple Choice (Single Answer)

Which of the following is not a J2EE Web Services APIs ?

  1. JAX-RPC
  2. SAAJ
  3. JAXR
  4. JNDI
Question 16 True/False

Is this a valid XML Document ?

<?xml version=”1.0” encoding=”UTF-8” ?>     <address> 
     <name>Sanjay</name>  	
     <street>Airport</street>  	      
      <city>Indore</city>
      <state>MP</state>  
</address>
  1. True
  2. False
Question 17 Multiple Choice (Single Answer)

When we need to use CDATA Section in XML?

  1. To validate if the XML is well formed.
  2. To pretty print the XML.
  3. To include HTML in an XML Document without getting parsed.
  4. It provides a qualified name for an XML element or attribute.
Question 18 Multiple Choice (Single Answer)

Advantage of using XML Namespaces?

  1. Add Security to SOAP.
  2. To validate if the XML is well formed.
  3. To Avoid Element Name Collisions.
  4. None of the above.
Question 19 Multiple Choice (Single Answer)

In order to develop a JAX-RPC Handler – The Class we are creating needs to implement which interface?

  1. java.lang.Annotation.
  2. javax.xml.rpc.handler.Handler.
  3. java.util.Map
  4. java.lang.Runnable.
Question 20 Multiple Choice (Single Answer)

What is Persistence?

  1. The capability of an object to exist after the program that created it has stopped running.
  2. The ability of a class to support multiple threads.
  3. An Error-Handling technique.
  4. None of the above.