IT2401 Service oriented architecture 07sem

advertisement
SERVICE ORIENTED ARCHITECTURE – IT2401
REGULATION 2008
QUESTION BANK
UNIT-1
PART-A
1. Define SOA? (Nov/ Dec 2011) (May/June 2012) (May/June 2013)
Service Oriented Architecture is a set of principles and methodologies for designing and
developing software in the form of interoperable services. These services are well defined business
functionality that is built as software components that can be reused for different purposes.
2. How do components in an SOA inter-relate? (Nov/ Dec 2011)
Process
instances
Operations
Services
Messages
Logically group
3. List any four SOA Characteristics? (Nov/ Dec 2012) (May/June 2014)
 SOA supports vendor diversity.
 SOA is fundamentally autonomous.
 SOA promotes discovery.
 SOA fosters intrinsic interoperability
4. What is Coarse Grained service? (Nov/ Dec 2012)
A service-based system controls the network access to the objects within the service through a set
of coarse-grained interfaces. A service may still be implemented as a set of fine-grained objects, but the
objects themselves are not accessible over a network connection. A service implemented as objects has
one or more coarse-grained objects that act as distributed façades.
5. List the features of SOAP?(May/June 2012)
 Uses XML to send and receive messages.
 Platform independent
 Language independent
 A protocol for exchanging information in a decentralized and distributed environment
--Soap happens to be one of the key features of Microsoft's .Net Architecture especially, Web
Services.
6. List the logical components of automation logic. (May/June 2013)
Messages, operations, services, processes.
7. Define application architecture. (May/June 2014)
8.
Define service.
A service represents a logically grouped set of operations capable of performing the related
units of work.
9. Define Distributed Internet architecture
Distributing application logic among multiple components (some residing on the client, others on
the server) reduced deployment headaches by centralizing a greater amount of the logic on servers.
Server-side components, now located on dedicated application servers, would then share and manage
pools of database connections, alleviating the burden of concurrent usage on the database server A single
connection could easily facilitate multiple users.
10. Explain Legacy System Adapter.
It is my personal opinion that any time a Service Component needs to interface to a legacy
system, that an Adapter Pattern should be used. This Adapter performs a number of tasks. Its primary
function is to convert to/from data formats spoken by the legacy system and the common data formats
used by the Foundational Service Components. In order to perform the conversions, it may be necessary
for an adapter to interface with many Service Components in order to perform data enrichment or break
data apart into its fundamental data types.
11. What do you mean by loose coupling?
It is a condition wherein a service acquires knowledge of another service while still remaining
independent of that service. It is achieved through the use of service contracts that allow services.
12. What does contemporary SOA represent?
An open, extensible, federated, composable architecture that promotes service-orientation and is
composed of autonomous, QoS-capable, vendor diverse, interoperable, discoverable and potentially reusable
services implemented as web services.
13. What are the 2 types of autonomy?

Service level autonomy: Service boundaries are distinct from each other but the service may share
underlying resources.
Pure autonomy: The underlying logic is under complete control and ownership of the service.
PART-B
1. Explain the common Principles of Service Orientation in detail? (16 marks )(Nov/ Dec 2011) (May/June
2013)
2. Compare SOA to Client-Server and Distributed Architecture? (16 marks) (Nov/ Dec 2011)
3. Explain in detail about SOA components and how are they interrelate( 16 marks)(Nov/ Dec 2012)
4. What is distributed internet architecture and compare it with SOA.(16 marks) (Nov/ Dec 2012)
5. Explain about common characteristics of contemporary SOA(10 marks) (May/June 2012)
6. List the benefits of SOA?(6marks) (May/June 2012)
7. Compare and contrast SOA and Distributed Internet Architecture? (7marks) (May/June 2012)
8. Explain about web services models?(9 marks) (May/June 2012)
9. Explain how SOA can be compared to client-server architecture. (16 marks) (May/June 2013) (May/June
2014)
10. Explain the anatomy of service oriented architecture. (16 marks)(May/June 2014)
UNIT-II
PART-A
1. Define Service layer? (Nov/ Dec 2012)
When building various types of services it becomes evident that they can depend on
 The type of logic they encapsulate
 The extend of reuse potential this logic has
 How this logic relates to existing domains within the enterprise.
2. What are web services platform elements? (Nov/ Dec 2012)
1.SOAP
2.WSDL
3.UDDI
3. Why is orchestration called “the heart of SOA”? (Nov/ Dec 2011)
As it establishes a means of centralizing and controlling a great deal of inter and intra application logic
through a standardized service model.
4. What are wrapper services? (May/June 2012) (Nov/ Dec 2011)
Arguably the entire point about SOA is that everything is a wrapper. That is, a web service is just a
facade, and there is no way to tell whether it fronts a "legacy application" or "a set of complex services".
5. Services are autonomous comment? (May/June 2012)
The whole idea behind service autonomy is to ensure that a particular service can be "self-sufficient" or
autonomous in carrying out its defined task or responsibility. It's important to realize that when a service
is interfacing to (or communicating with) another system, there will always be some level of dependency
on the interfaces and existence of the other system.
6.
7.
8.
9.
Explain SOAP message format. (May/June 2013)
Differentiate orchestration from activities. (May/June 2013)
Write short notes on business activities in web services. (May/June 2014)
Define choreography. (May/June 2014)
PART-B
1. Discuss about three service layers in detail(16 marks) (Nov/ Dec 2012)
2. Explain the importance of messaging with SOAP and message exchange patterns in web services. (5+5)
(Nov/ Dec 2012)
3. Write a note on atomic transactions.(6marks) (Nov/ Dec 2012)
4. Describe in detail about messaging with SOAP.(16marks) (Nov/ Dec 2011)
5. Write short notes on Orchestration and choreography. (8marks) (Nov/ Dec 2011)
6. Briefly discuss on application service layer. (8 marks) (Nov/ Dec 2011)
7. Explain about service layer abstraction and Orchestration service layer. (16 marks) (May/June 2012)
8. Explain about service layer configuration scenarios. (16 marks) (May/June 2012)
9. Write short notes on: (i) Service Descriptions (ii) Atomic transaction (iii) Choreography (16 marks) (May/
June 2013)
11. Discuss about different service layer in detail. (May/June 2013)
12. Describe the process of measuring with SOAP and Atomic Transaction. (May/June 2014)
13. Discuss about Business service layer and Orchestration service layer in detail. (May/June 2014)
UNIT-III
PART-A
1. List the goals of service oriented analysis? (Nov/ Dec 2011)


What services need to be built.
What logic should be encapsulated by each service.
2. What is the usage of envelope element in SOAP message structures? (Nov/ Dec 2011)
The required SOAP Envelope element is the root element of a SOAP message. This element defines the
XML document as a SOAP message.
Example
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
...
Message information goes here
...
</soap:Envelope>
3. What are the component specifications in service modeling? (Nov/ Dec 2012)
o Business service model
o Utility service model
o Controller service model
4. Briefly explain the operations in entity centric? (Nov/ Dec 2012)
To accurately represent corresponding data entities defined within an organization’s business
models. These services are strictly solution and business process agnostic, built for reuse by any
application that needs to access or manage information associated with a particular entity.
5. What are the business service models that business service layers offers?(May/June 2012)
Task-centric business service
Entity-centric business service
6. Give the structure of SOAP message document? (May/June 2012)
<header>
…
</header>
<body>
…
<fault>
…
</fault>
</body>
7. Define service oriented analysis. (May/June 2013)
8. What are the potential types of logic suitable for abstract orchestration layer? (May/June 2013)
9. List out some guidelines of service modeling. (May/June 2014)
10.What is entity centric business service design? (May/June 2014)
PART-B
1. Explain in the steps involved in service oriented design in detail.(16 marks)
(Nov/ Dec 2011)
2. Explain the basics of web service description language(16 marks) (Nov/ Dec 2011)
3. Discuss the step by step process of service modeling in detail.(16 marks)
(Nov/ Dec 2012)
4. Explain the entity – centric and task centric business service design in detail.(16 marks)
(Nov/ Dec 2012)
5. Discuss about entity- centric business service design(8 marks) (May/June 2012)
6. List out the steps for composing SOA(8 marks) (May/June 2012)
7. List out the objectives of service Oriented Design.(6 marks) (May/June 2012)
8. Explain about service oriented design process.(10 marks) (May/June 2012)
9. Briefly explain about WSDL & SOAP basics in service oriented design. (May/June 2013) (May/June
2014)
10. Describe application service design in a step by step process. (May/June 2014)
11. Describe in detail about entity-centric business service design in a step by step process. (May/June 2013)
UNIT-IV
PART-A
1. What is JAX-WS? (May/June 2012)
JAX-WS stands for Java API for XML Web Services. JAX-WS is a technology for building web services
and clients that communicate using XML. JAX-WS allows developers to write message-oriented as well
as RPC-oriented web services.
2. Define WSIT? (May/June 2012)
Web Services Interoperability Technology (WSIT), developed by Sun Microsystems, implements
support for Security, Reliability, and Transactions in the web services stack integrated in GlassFish V2.
The main goal of WSIT is to provide interoperability with .NET. WSIT includes a bootstrapping and
configuration technology.
3. What is marshalling and unmarshalling? (Nov/ Dec 2012)
Marshalling is a generic term for gathering data from one process and converting it into a format that can
be
used
either
for
storage
or
for
transmission
to
another
process
(correspondingly, unmarshalling involves taking the converted data and recreating the objects). In RMI,
marshalling is done either via serialization or externalization. Marshalling and unmarshalling occupy a
strange role in designing a distributed application. On the one hand, the means by which you perform
marshalling and unmarshalling is a technical detail: once you've decided to send information to another
process, how you do so shouldn't be a primary design consideration. On the other hand, it's a very
important technical detail, and the way you do it can often make or break an application.
4. What is JAX-RPC? Give two benefits? (Nov/ Dec 2012)
o JAX-RPC maps a web service operation to a java method call.
o service endpoint to a Java Interface.
5. List the components used to built J2EE web applications? (Nov/ Dec 2011)
Java Server Pages
b. Struts
c. Java servlets
d. Enterprise Java Beans(EJB)
6. What are the benefits of common language runtime ? (Nov/ Dec 2011)



Performance improvements.
The ability to easily use components developed in other languages.
Extensible types provided by a class library.
New language features such as inheritance, interfaces, and overloading for object-oriented programming;
support for explicit free threading that allows creation of multithreaded, scalable applications; support for
structured exception handling and custom attributes.
7. List out the common layers required by a development & runtime platform for building SOA.
(May/June 2013)
8. Define service agent. (May/June 2013)
9. Define generated stub. (May/June 2014)
10. List out the common layers required by a development and runtime platform for building SOA.
(May/June 2014)
PART-B
1. Describe about JAXB architecture in detail. (16 marks) (Nov/ Dec 2011)
2. Discuss about web service interoperability technologies. (16 marks) (Nov/ Dec 2011) (May/June 2012)
3. Explain SOA platform and describe the API’s in J2EE which is used to build SOA.
(16 marks) (Nov/ Dec 2012) (May/June 2014)
4.
5.
6.
7.
8.
How is SOA achieved in .NET platform? Discuss (16 marks) (Nov/ Dec 2012) (May/June 2014)
Explain about SOA support in J2EE(8 marks) (May/June 2012)
Discuss about JAXB. (8 marks) (May/June 2012)
Explain how SOA support in J2EE. (May/June 2013)
Describe service oriented architecture achieved in .NET platform. (May/June 2013)
UNIT-V
PART-A
1. Define WS-Policy (Nov/Dec 2012)
The Web Services Policy Framework (WS-Policy) provides a general purpose model and
corresponding syntax to describe the policies of a Web Service. WS-Policy defines a base set of
constructs that can be used and extended by other Web services specifications to describe a broad
range of service requirements and capabilities.
2.
What are the elements in WS-BPEL?(Nov/Dec 2011)
Process Element, Partnerlinks and partnerlink element, partnerlinktype element, variables
element,sequence element, invoke element and receive element.
3. What is WSDL(May/June 2012)
Web services Definition Language is the focal point of service design as it is used to design the
abstract and concrete definition of service interfaces. WSDL definition hosts multiple child constructs
associated with abstract and concrete parts of the service description.
4. What is ACID transactions (Nov/Dec 2012)
They preserve the atomicity, consistency, isolation, and durability of the operation(s) encompassed by the
transaction. This helps preserve the integrity of our programs’ logic execution as well as the integrity of the
data managed by those programs. Java transaction managers are specifically designed to provide this
functionality.
5. Define Compact Policy Expression (Nov/Dec 2011)
To express a policy in a more compact form while still using the XML Infoset, this
specification defines three constructs: an attribute to decorate an assertion, semantics for
recursively nested policy operators, and a policy reference/inclusion mechanism.
6.




List the Security Threads (Nov/Dec 2012)
Confidentiality
Man-in-the-middle
Spoofing
Denial of Service

Replay Attacks
9. Distinguish between the identifier and expires elements. (May/June 2013)
10. What is preference attribute? (May/June 2013)
11. List the types of Choreography. (May/June 2012)
o Abstract Choreography
o "Portable" choreography
o Concrete Choreography
10.
Define Secure Messaging (May/June 2011)
Secure Messaging ensures privacy, confidentiality and integrity of interactions.
Digital signatures techniques can be used to help ensure non-repudiation. Techniques that ensure
channel security can be used for securing messages. However, such techniques are applicable in a
few limited cases. Examples include a static direct connection between a requester agent and a
provider agent. For some applications, such mechanisms can be appropriate. However, in the
general case, message security techniques such as encryption and signing of the message
payload can be used in routing and reliable messaging.
11. Define Policy Expression
To convey policy in an interoperable form, a policy expression is an XML Infoset
representation of a policy. The normal form policy expression is the most straightforward
Infoset; equivalent, alternative Infosets allow compactly expressing a policy through a number
of constructs.
12. Define Composable Architecture
The Web service specifications (WS*) are designed to be composed with each other to provide a
rich set of tools for secure, reliable, and/or transacted Web services. WS-Policy by itself does not provide
a negotiation solution for Web services. WS-Policy is a building block that is used in conjunction with
other Web service and application-specific protocols to accommodate a wide variety of policy exchange
models.
13. Differentiate the identifier and expires elements. (May/June 2014)
14. What is DigestMethod and DigestValue? (May/June 2014)
PART-B
1. Explain about WS-choreography model (16 marks) (Nov/ Dec 2011)
2. Explain on WS- coordination in detail (16 marks) (Nov/ Dec 2011)
3. Describe the root element and series of common child element of WS- BPEL process definition (16
marks) (Nov/ Dec 2012)
4. Discuss WS- security language in detail. (16 marks) (Nov/ Dec 2012)
5. Discuss in detail about WS-Policy.(16 marks) (May/June 2012)
6. Explain about WS- Security .(16 marks) (May/June 2012)
7. Discuss WS-BPEL language in detail. (May/June 2013)
8. Explain WS-security language basics in detail. (May/June 2013)
9. Discuss WS-BPEL language basics in detail. (May/June 2014)
10. Explain WS-security language basics in detail. (May/June 2014)
Download