Free Essay

Doc, Pdf

In:

Submitted By saby22
Words 6833
Pages 28
SOA Made Simple

Lonneke Dikmans
Ronald van Luttikhuizen

Chapter No. 4
"Classification of Services"

In this package, you will find:
A Biography of the authors of the book
A preview chapter from the book, Chapter NO.4 "Classification of Services"
A synopsis of the book’s content
Information on where to buy this book

About the Authors
Lonneke Dikmans lives in the Netherlands with her husband and two children. She graduated with a degree in cognitive science from the University of Nijmegen in the
Netherlands. She started her career as a usability specialist but went back to school when she lived in California to pursue a more technical career. She started as a JEE developer on different platforms such as Oracle and IBM, and specialized in integration.
She now works as an architect, both on projects and as an enterprise architect. She has experience in different industries such as financial services, government, and utilities.
She advises companies that want to set up Service Oriented Architecture and Business
Process Management. Lonneke was one of the first five technical experts to be recognized as an Oracle Fusion Middleware Regional Director in 2005. In 2007, the program was renamed and is now known as the Oracle ACE program. Lonneke is a
BPMN certified professional and was awarded the title of Oracle Fusion Middleware developer of the year by Oracle Magazine in 2007.
Lonneke is the managing partner of Vennster with Ronald van Luttikhuizen. Vennster is a knowledge-driven organization. Vennster’s single most important ambition is to help her customers improve their products and services by improving the quality of the information flow. This is accomplished by offering services in the areas of User
Experience, Business Process Management, and Service Oriented Architecture.

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Lonneke has contributed to the Oracle SOA Suite 11g Handbook, Oracle Press by Lucas
Jellema that was published in 2011. She publishes on a regular basis in magazines and on the internet, participates in podcasts, and speaks at international conferences about
Service Oriented Architecture and Business Process Management.
I would like to thank the people that I have worked with over the years that helped shape my thoughts about Service Oriented Architecture. It would take too much space to list them all. Everyone contributed in different ways and were from different fields: technical people, enterprise architects, project managers, departmental managers, product managers, and so on. I would like to thank the reviewers Derkjan Zweers, Anant Kadiyala, and Howard Edidin for their valuable input. Their perspective, remarks, questions, and suggestions were very valuable. Last but not least I would like to thank my husband Hans and our children Mathijs and Anne for their support, encouragement and patience. My final thoughts are for our neighbor Dafnis, who died earlier this year at the age of 13. His courage and determination have become an example for me. We miss him!

Ronald van Luttikhuizen lives in Nijmegen, the Netherlands with his partner
Susanne. He has over 10 years of experience in IT. Ronald studied Computer Science at the University of Utrecht and University of Wisconsin – Madison and received his MSc degree in 2003. Ronald creates valuable solutions for the business using a structured approach to Service Oriented Architecture. He takes into account both technical and functional aspects of a process to come up with a feasible solution.
Ronald worked in projects for government, financials, energy, logistics, and services.
Ronald has experience in various roles such as architect, project lead, information analyst, software developer/designer, coach, trainer, team lead, and consultant in a wide variety of enterprise applications. He started his career as a specialist in analysis and design, application development, and application and process integration. The main technology focus in these projects were UML, Java, and XML. In later years, Ronald focused on architecture within service-oriented environments and other types of EAI environments, describing the to-be architecture, defining roadmaps, guiding implementation, and building parts of the solution.

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Ronald is a speaker at (international) conferences and regularly publishes articles on Oracle Technology Network, his blog, Java Magazine, Optimize, and participates in OTN ArchBeat Podcasts. In 2008, Ronald was named Oracle ACE for SOA and middleware. Ronald was promoted to Oracle ACE Director in 2010. Ronald wrote several chapters for the Oracle SOA Suite 11g Handbook, Oracle Press by Lucas
Jellema and served as a technical reviewer for the book. The book was published in 2011.
I would like to thank everyone that helped me in my professional career and my personal life. Without them I wouldn’t be able to do the job I do today! A big thanks to my friends and family for supporting me and putting up with all the time I spent on the book and not with them; especially Susanne.
Last but certainly not least I would like to thank the reviewers Derkjan
Zweers, Anant Kadiyala, and Howard Edidin and the people at Packt for their valuable input, suggestions, improvements, help, and patience! Without them this book wouldn’t exist.

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book SOA Made Simple
A lot of organizations are implementing, or want to implement, Service Oriented
Architecture to support their goals. Service Oriented Architecture is a natural step in the evolution of Information Technology; we started out with big systems in universities and banks, and moved to desktop computers in the workplace and at home. We are now moving to solutions in the cloud, offering services to consumers and businesses alike, adding mobile computing to the mix. So what is a service? A service is something that has value. Service orientation is not a difficult concept to grasp, everyone knows services and uses them daily; think of a hotel that offers a shuttle service to the nearest airport. Or the hairdresser that cuts your hair. This book describes how you can accomplish service orientation successfully in your organization and in IT, using a practical and simple approach. It is done without overly complex abstractions, but with examples from different industries and hands-on experience of the authors. The approach is independent of the specific technology or programming language you apply in your organization.

What This Book Covers
Chapter 1, Understanding the problem?, discusses the challenges that organizations face with respect to information technology and is illustrated with examples. Architecture is explained as a means to solve these problems structurally and in compliance with your organization's goals.
Chapter 2, The Solution, explains how applying SOA can help your organization to solve the problems that were discussed in the previous chapter. In this chapter, the concept of services is explained as well as Service Oriented Architecture.
Chapter 3, Service Identification and Design, describes how services are the base of a
Service Oriented Architecture. The process of identifying services and designing their interface, contract, and implementation are important activities when realizing a Service
Oriented Architecture.
Chapter 4, Classification of Services, covers the different types of services. You learn in this chapter how classification can help you in your SOA effort. The chapter explains different ways of classifying your services and the reason to choose a particular classification. Classification based on service composition is discussed in detail.
Chapter 5, The SOA Platform, identifies the different components of an SOA platform and explains the use of these components, keeping in mind that to realize an SOA in your organization, you need a platform to build it with
Chapter 6, Solution Architectures, tells us about how you can go for a best-of-breed solution to realize your SOA, or use a product suite. The solution of the big software

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book vendors Oracle, IBM, and Microsoft are discussed in terms of the components you need for an SOA platform.
Chapter 7, Creating a Roadmap, How to Spend Your Money and When?, explains how to plan your endeavor. In this chapter, creating a roadmap for the realization of your
SOA is discussed.
Chapter 8, Life Cycle Management, explains how to maintain services. Requirements may change, services may become outdated, and new services may be needed. This chapter discusses life cycle management of services, and tooling that supports registries and repositories.
Chapter 9, Pick your Battles, talks about how during the realization and operation of an
SOA you will run into issues with stakeholders. A common pitfall for architects is to be too strict and unrealistic about what can be achieved. This chapter discusses some common issues you will run into and discusses how to handle them.
Chapter 10, Methodologies and SOA, talks about how there are existing methodologies in IT that you are probably using right now in your organization for project management, demand management, and so on. This chapter discusses the impact of using SOA on these existing methodologies.

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services
In the previous chapter you learned how to identify and design services.
This chapter starts by revisiting the classification of services that was explained in the previous chapter, the aspects on which it is based and how the classification can be applied. The chapter briefly discusses why it is important to classify services based on your needs and what aspects can be used to create a classification of services.
You will then learn how services can be combined into larger services, which is called service composition. Composition is one of the building blocks for the classification scheme.
Next, the different elements of the classification scheme will be discussed in detail.
Finally, the chapter revisits the design principle of isolation and explains why composition and isolation is a good match.

Service classification revisited
You have learned in the previous chapter that services can be divided into elementary services, composite services, and process services:


Elementary services: The smallest possible components that qualify as services. For example, a service that can be used for zip code lookups.



Composite services: Services that result from combining two or more other services into one service that provides more value. Composite services are executed in a single transaction and their execution time is relatively short.
An example is a service to book a hotel and flight together.



Process services: Longer running services that can take a couple of hours, days, or even more to complete and span multiple transactions. An example is a service for ordering a book online. The entire process (order, pay, ship, deliver) involves multiple transactions and takes a couple of hours at least.

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services

The following figure shows this classification of different services:
Process Service
Process
Service

Process
Service

Process
Service

Composite Services
Composite
Service

Composite
Service

Composite
Service

Elementary Service
Elementary
Service

Elementary
Service

Elementary
Service

Example – insurance company
Let's take a look at an insurance company. The company offers a
ClaimToPaymentService. We saw in Chapter 1, Understanding the Problem that this is a process service that consists of the following steps:
1. Receive claim.
2. Review the claim.
3. If the claim is valid, pay the claim.
4. Otherwise refuse the claim.
The steps are realized using the following composite services:


ClaimService, operation receive and operation review



PaymentService, with operation pay



CustomerService, with operation informCustomer

[ 90 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4

The composite services are composed of the elementary services:


ClaimDataService



DocumentService



PolicyService



AccountsPayableService



CustomerDataService

The following diagram shows the relationship between these services:

This diagram shows that ClaimToPaymentService depends on the composite services to execute. The composite services are composed of several elementary services. As you can see, an elementary service can be part of more than one composite service.

[ 91 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services

The classification is based on the granularity of the service and the ability of services to combine into larger ones. Composite services can be created from elementary services and process services can be created from elementary and composite services.
Reasons for choosing this classification scheme are:


Combining components into larger objects is a natural way of thinking.
Consider the assembly of car parts such as tires and engines from small components, and the assembly of entire cars from these car parts. This is a natural way of differentiating between screws and bolts, a cylinder, and a Volkswagen Golf.



Guidelines and implementation choices differ between these service types.
For example, different error-handling mechanisms are required for longrunning process services than for short-running composite services. Another example is the programming language used to implement services. It is not a good idea to program an elementary service in BPEL or XPDL; a more fit choice is Java, .NET, .PHP, or any other generic programming language.



Its simplicity. Classifications can be elaborated into more dimensions, more layers, and more details that altogether provide more information, but more clutter as well. This is needs-based service classification.

There is no one true classification scheme to structure services. You can choose other aspects to classify services based on your needs – what do you want or what do you need to highlight using a classification? Perhaps you are the organization's security officer and security is the main concern you need highlighted in the classification model.

Other classifications
The following list names aspects that are frequently used as discriminators in classifications:


Granularity: We discussed this already



Actor type: Human, IT System, or both



Channel: Telephone, web, and so on



Security level: Public or confidential



Organizational boundaries: Departmental, enterprise, and external



Architectural layer: Business, information, and technical architecture

[ 92 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4

Actor type
If you base your classification on actor type, you divide services into two categories based on the question, Who executes the service?. The answer can be humans, IT systems, or both. Although you might think of services as automated building blocks without a user interface (for example, a web service), services can just as well provide their capabilities through a graphical interface next to (or beside) an automated interface. A ZipCodeService and DocumentService are examples of automated services executed by IT systems alone. An example of a service that is implemented by humans alone is bank employees who advise clients on the benefits and risks associated with buying a mortgage product. A service for invoice handling in which invoices are automatically stored and processed, but approved for payment by controllers is an example of a service in which the execution is mixed. Both IT systems and humans implement the service.

Channel
An organization has different channels to offer services to their customers or business partners. Examples are: mail, e-mail, telephone, internet, intranet, mobile applications, face-to-face conversations, third party resellers, and so on. An example is BookService which can be accessed from two channels, the telephone and via the Internet.

Organizational boundaries
The classification based on organizational boundaries is useful to get insight into who owns the service and who uses the service, external services are services that are owned by another organization; an example is a StockQuoteService offered by a stock exchange to banks. Internal services are owned by your own organization.
These services can either be used by external consumers or by stakeholders from your organization alone.

[ 93 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services

The following figure depicts this. An organization creates client-facing business services by using its internal services. These business services are either offered to other businesses which is called Business-to-Business (B2B), or offered to individual consumers which is called Business-to-Consumer (B2C). An organization deploys people, IT, and processes, which are exposed as services to realize the required functionality.
Product and Services:
Client-facing business services
(B2B and B2C)
Internal Business Services
Other Services

Internal structure of an enterprise: client

people, IT, processes client

client

Security level
Another common classification is based on the sensitivity of the functionality and data that services operate on. This is expressed in terms of confidentiality, integrity, and availability requirements.

Architectural layer
This classification is based on the architectural layer to which services belong, that is business, information, or technology layer:

[ 94 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4



Business architecture layer: The services you have identified in this layer are called business services.



Information architecture layer: The services that are identified in this layer are called information services or application services.



Technical layer: The services that are identified in this layer are called technical services or infrastructural services.

Combining classifications
The classification of services based on granularity can be combined with the classification of services based on architectural layer. The following diagram shows this:

Business architecture
Process Services
Composite Services
Elementary Services

Information architecture
Process Services
Composite Services
Elementary Services

Technology architecture
Process Services
Composite Services
Elementary Services

[ 95 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services

The diagram shows that services in the business layer can be of type – process service, composite service, or elementary service. An example of a process service in the business layer is the BreakfastService. This service takes some time to complete, there are different transactions involved and it uses several other composite and elementary services like the OrderService, PaymentService,
CookingService, RefillService, and BuffetService.
The BreakfastService is supported on the information layer by several services as well, such as SupplierService, CheckService, HRService, RosterService,
PrintService, and so on. These can be classified as process services, composite services, or elementary services.
Finally on the technical layer there are services that support the information services.
These can also be classified as process services, composite services, or elementary services. Examples are the CashRegisterService, NetworkService, AlarmService.

Why classify your services?
Classifying services has several benefits for you and your organization:


Classification schemes help to focus on important aspects of services and filter out irrelevant details for stakeholders. A classification scheme divides services based on certain criteria. By choosing criteria that focus on important aspects, you can filter out details of services that are irrelevant to you.



The importance of criteria differs per stakeholder. If the amount of value that services deliver is most important, you can categorize the services accordingly. This will yield a different classification than choosing ownership or the runtime platform of services as criteria in your classification.



Classification of services also helps organizations to know what (type of) services they own and can be used to support decision-making processes, the architecture process, and new projects that want to reuse existing services.



Classifying services into categories helps to decide what guidelines, best practices, and technology to apply per type of service. This helps an organization to create better services. Some guidelines apply to all services in general such as isolation and idempotency. However, there are guidelines and best practices that only apply to a certain type of service.

[ 96 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4

It is feasible to work with services without classifying them if you're only dealing with a dozen services or so in your organization. But as your SOA effort grows, you will find that classifications are helpful to inspect, analyze, and evolve your service's landscape in a controllable way. When you design solution architecture, the classification based on granularity is most suitable. It is based on service composition. Let's investigate that before we delve into the specifics of elementary, composite, and process services.

Composability
Service composition means the creation of new services from combining existing services. Following the design principles from the previous chapter improves the ability of services to be composed into larger blocks, thereby enabling rapid (re) use of functionality. Services need to be composable so that smaller services can be combined into larger services that provide a specific value. Think of it as building blocks that can be assembled into larger structures. A bank's MortgageService that provides loans to its customers for buying real estate is not comparable to the bank's
ZipCodeService that validates zip codes in respect to the type of value they offer.
Note however, that the ZipCodeService can contribute to the realization of the
MortgageService.

Aggregation versus orchestration
Sometimes the terms service composition, service aggregation, and service orchestration are used interchangeably. While service composition denotes the fact that services are combined, it does not elaborate on the way in which services are combined. Aggregation and orchestration are specific ways to combine services:


Aggregation: Combining two or more services into larger ones is fairly straightforward (for example invoke the service operation A, then service operation B, then service operation C). The CaseDocumentService that was discussed earlier on in this chapter is an example of service aggregation.
Service aggregation involves short-running services.



Orchestration: Combining several services into a flow or process that is more complex in nature and contains decision logic and different execution paths. Orchestration involves a central component such as a BPM platform that manages the orchestration of services. Service orchestration involves long(er)-running services. An example of orchestration is the order-to-cash process from Chapter 2, The Solution.

[ 97 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services

Example – DocumentService as a composite service Another example of service composition is the combination of a PDFService,
SigningService, EmailService, and CRMService into a DocumentService that is capable of creating documents in an automated fashion, storing these in the Document Management System, and e-mailing them to the customers. This new service can for example be used in an order-to-cash business process to automatically create invoices and send them to customers. Through composition, rather than development, you have created a larger service that makes it possible to completely handle a business function for consumers. This is a faster way of creating new services than developing similar functionality over and over. It is also less error prone since you reuse already tested and used software.
It is now time to investigate the different layers of the classification in detail, starting with the elementary services and then work our way up to the process services.

Elementary services
Elementary services are the smallest possible components that qualify as services.
Splitting elementary services in smaller components yields components that violate the design principles you learned about in Chapter 3, Service Design. For example, splitting a DocumentService that is capable of storing and retrieving documents into a separate service that only stores the document, and another service that only stores the metadata violates the principle that services should be isolated or autonomous.

Realization
Elementary services in the information layer can be implemented in several ways:


Existing applications such as packaged applications, custom developed systems, and legacy systems that are exposed as services using connectors, adapters, and so on. This can be coined as service-enablement of existing systems. An elementary service is implemented by one system, although a system can implement more than one elementary service.



New functionality is created as a service right away. In other words, software is developed in an isolated manner and deployed as a separate service instead of a monolith that offers several services. Popular implementations for automated elementary services are .NET, Java, PHP, Groovy, among others. These platforms offer web service frameworks that can be used to easily expose software components as web services.

[ 98 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4

Composite services
Composite services are services that result from combining two or more services into a new service in a straightforward manner, and provide more value. Composite services avoid the need to implement reoccurring composition logic in clients.

Where to put the composition logic?
There are two options for the location of composition logic:


Service consumer: The client invokes several service operations to accomplish a certain result.



Service: A new service is created that invokes the different service operations and exposes this functionality as a new, single operation.

The following figure shows the difference between these variants using the example of the DocumentService. On the left-hand side, a DocumentService is created in which the generateDocument operation contains the logic to combine several underlying services. Service consumers invoke this new operation of the composite service. In the right-hand side service consumers implement the composition logic.

Service Consumer

Service Consumer

Service Consumer

Service Consumer

Composition Logic

Composition Logic

DocumentService
Composition Logic

Signing
Service

Email
Service

PDF
Service

CRM
Service

Signing
Service

Email
Service

PDF
Service

CRM
Service

[ 99 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services

It pays off to create a new service that contains the composition logic in case multiple consumers require the same composition logic:


Changes to the composition logic can be applied more easily since it is implemented in a single location instead of in different service consumers. Similar business logic is reused in the service that implements the composition.



When you compose services into larger ones, the knowledge and complexity of how to combine these services and how they interact is hidden in a new service itself (implementation hiding). This makes it easier for service consumers to use the functionality.

When services are composed it is important that the entire service fails or succeeds.
You do not want to end up in a situation where the document is generated and sent to a customer but not stored in the Document Management System due to some error. This means that a number of aspects need to be addressed in the composite service that relate to the behavior of the combination of the elementary services, not the elementary services in isolation. Such aspects are fault-prevention and handling, security, and transactionality.

Implementation
Composition of different building blocks can be implemented in several ways.
Let's look at two examples. In both examples we use an insurance company that uses a case management system and a document management system. When claims are received, both systems are used to register the claim. For every new claim, a case is created using the CaseService, the accompanying documents are stored using the DocumentService, while the relation between case and documents is stored in the CaseService. Retrieving the documents belonging to a specific case requires two invocations: retrieving the document references from the CaseService and retrieving the physical documents from the DocumentService, using these references as input to the getDocuments operation. When such interactions occur frequently, you can compose this reoccurring logic into a new CaseDocumentService that offers a single operation for this functionality.

Example 1 – database link
The following figure shows CaseService that stores case information in its database.
The case-related documents are retrieved using a database link that provides access to the DocumentService database. For the case data the data is retrieved using a database link to the datastore of the CaseService. For the business logic of the
CaseDocumentService, it looks like the document data is in its own datastore.
[ 100 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4

CaseDocumentService
Service Interface

Business
Logic

Data

DocumentService

CaseService
Service Interface

Service Interface

Business
Logic

Business
Logic
Database Link

Data

Data
The database link introduces tight coupling between these services.

The figure shows CaseDocumentService that consists of a Business Logic layer and a Data layer. The CaseService and the DocumentService are composed of the same layers. The Business Logic of CaseDocumentService needs access to the data in DocumentService and CaseService. The database link offers this access, by creating a route directly to the database tables via the database layer of the
CaseDocumentService.
When using a database link to directly access the DocumentService you need to have specific knowledge of the internal data structure and technical details.
Whenever the internal implementation of the DocumentService changes, it will most likely impact the CaseService. In other words, the database link introduces tight coupling between the services.

[ 101 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services

Example 2 – service invocation
Not every change to DocumentService has an impact on its clients. It could be that a bug fix to the service affects the internal data model, but not the functionality that its clients need. Consumers should be unaware of such changes. In the previous scenario this would not have been the case since the service implementation was accessed directly. A better scenario would be to invoke the DocumentService using its service interface. The interface only exposes what the clients need, it hides the complexity of the service and its internal implementation, and shields service consumers from changes in the service that don't affect them.

The figure shows the situation where the composite service CaseDocumentService combines the logic of the CaseService and the DocumentService. The
CaseDocumentService contains business logic that was located in CaseService in the first example. The CaseService only contains business logic that is relevant for case management and DocumentService only contains business logic and data that is relevant for document management. You can see that there is no direct link anymore between DocumentService and CaseService.
[ 102 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4

Whenever one of the services is changed, this change is advertised through its interface in a technology-neutral way. This way it is easier to cope with changes to underlying services and their implementations. It could even be that changes in the implementation have no impact to service consumers at all. Composing services through their interfaces instead of implementation makes services work together instead of tightly-coupling them together.

Process services
Process services are services that use other services to execute their flow, like composite services. However, they take longer to complete and involve multiple activities and transactions. Process services invoke automated and human steps.
The logic to combine these operations is more complex and contains more conditional logic than in composite services.
Examples of process services are invoice handling, the on boarding of new employees, a mortgage service, and so on.
The difference between process services and composite services is somewhat of a grey area. The main differentiators between the two types of services are:


Duration: Process services are long-running processes that can take hours, days, weeks, or even longer, while composite services are short-lived services that take at most a couple of minutes to complete. A mortgage process that includes preparation, application, and underwriting, for example, can take weeks. •

Transactions: Process services can span multiple steps, or transactions; composite services are executed within a single transaction. A process service that spans multiple transactions needs other mechanisms to be undone. A common mechanism is compensation in which transactions are undone by executing an opposite action. An example is online booking of your holiday wherein you book a flight, a hotel, and a rental car. If you abort the holiday later in the process while the money has already been charged from your credit card using a service call, compensation means the money is deposited on your card by invoking the same operation with the opposite amount.



State: Due to their complexity and duration, process services are required to maintain state between the different service operations that are invoked. For example, state can be used in a process service as part of a decision logic later on in the service. Composite services are stateless or volatile.

[ 103 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services

Implementation
Often, a business service is realized by orchestration of other services into a process. Every step in the process contributes to the end result of the business service that is offered to clients. A Business Process Management tool can be used to implement this orchestration. Most process services include both automated and human-centric services. A mortgage product for example is achieved by human steps
(bank employee informing the client of the different mortgage products, a controller that validates the client's financial history and calculates risk) and automated steps
(automated underwriting, automated debit for mortgage payments).
The term Straight-Through Processing is used to denote process services that are realized entirely in an automated fashion. An example is an InvoiceService that processes inbound invoices (scanning, extracting metadata, storing financial data, order matching, payment) without human intervention.
That finishes the explanation of the different layers in the classification scheme.
The chapter continues by revisiting isolation and composition in light of the classification scheme that was introduced.

Isolation and composition – a contradiction? The design principle isolation that was introduced in the previous chapter and composability that is introduced in this chapter might seem to contradict each other. How can you have autonomous services if you compose larger services out of smaller ones? Wouldn't that mean that the composed service is dependent on the smaller services?
The answer is that service composition promotes isolation of services. Isolation is viewed from the perspective of consumers, a consumer should be able to invoke a service independently without needing to know if other services need to be invoked before or afterwards. Service composition wraps such dependencies and knowledge of how to combine them into a separate service, thereby hiding this from the consumer and offering a new autonomous service.

[ 104 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4

Isolation is also known as loose-coupling, too many dependencies between services make them tightly coupled and therefore harder to change. As you know from the previous chapter, changes to services should have minimal impact, to maintain flexibility in SOA. Only create direct invocations from services to other services that are in the same or higher level of the classification when really needed. For example, it is better that the elementary DocumentService should not directly invoke the composite
CaseDocumentService. Introducing this dependency would mean that changes to the CaseDocumentService can impact the DocumentService and vice versa. When avoiding the invocation from the composite service to the elementary service, changes to CaseDocumentService do not directly impact DocumentService anymore.

Passing information from smaller to larger services
Information and data need to be passed from elementary services to composite services or process services. The following list names different mechanisms that can be applied for this:


Request/reply: In this message exchange, a service consumer invokes a service by sending a request message; for example, a composite service that invokes an elementary service. The invoked service responds by sending a reply message that can contain information for the service consumer to act upon. In this case, the data can be used by the composite service. This type of invocation is synchronous, meaning the consumer is blocked between the time the request was made and the time the reply was received. The following figure shows a request/reply message exchange:
Service Consumer

Service Provider

Implementation

Implementation

execution

Business
Logic
request

execution

Interface

Interface

blocked

reply

execution

[ 105 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services



Callbacks: Next to synchronous request/reply messages, services can also define callback operations in their interface. When using callbacks, the consumer sends the request and can continue with other activities. At some later point in time, the service that was invoked can send the response as a callback message to the consumer. Callbacks are used when consumers invoke long-running processes. Callbacks still introduce coupling between services, although this is made explicit by denoting operations as callbacks.
The following figure shows a callback message exchange.
Service Consumer

Service Provider

Implementation

Implementation

Business
Logic
request

execution

interface

interface

execution



callback

Events: An event is the occurrence of something that is likely to be relevant to one or more consumers; for example the creation of a case, the approval of a loan, a new employee, and so on. In eventing, the originator of the event doesn't know which consumers are interested in what events and what actions these consumers will perform based on the events. The originator just publishes the event to some eventing platform. The platform knows which consumers are interested in what events and makes sure that events are sent to these interested consumers. This increases the decoupling between services. The following figure shows a message exchange based on events:

[ 106 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4

Event Subscriber
Implementation

Event Publisher
Implementation

execution

EventingPlatform

interface

execution

event

interface

event

Event Subscriber event Implementation

execution

interface

There are some important differences between these mechanisms in the light of passing information from smaller services to larger services:


Trigger: While request/reply and callback mechanisms can be used to pass information from smaller services to bigger services, the bigger service that invokes the smaller service still triggers the information exchange. In eventing, the trigger of the message exchange is the originator of the event—the service that generates or captures a relevant occurrence.
This publisher can be any service, and consumers of these events can be any service.



Decoupling: Message exchanges using request/reply and callbacks require service consumers to know service providers, and the specific operation
(that is action) to invoke. In eventing, publishers of events have no knowledge of the consumers and the operations that are triggered by the events they publish.

[ 107 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Classification of Services

The following figure shows the communication between the different types of services. The solid arrows indicate service invocations from one service to another.
The communication of information between services through events is shown as dashed arrows in the figure:
Process Services
Process
Service

Process
Service

Process
Service

Process
Service

Process
Service

Process
Service

Composite Services
Composite
Service

Composite
Service

Composite
Service

Composite
Service

Composite
Service

Composite
Service

Elementary Service
Elementary
Service

Elementary
Service

Elementary
Service

The figure shows the process services that call other process services, composite services, and elementary services. Composite services can call other composite services and elementary services. Elementary services don't call other services but use events to communicate. To minimize the complexity you can create design guidelines. For example you can limit the number of calls to elementary services that a composite service can make. If you exceed that number, it becomes a process service. Other guidelines are that elementary services are not allowed to call other services.
[ 108 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Chapter 4

Events can be classified as well as services. Examples of such classifications are those into internal events and external events, or a classification into elementary events and complex events.
Elementary events are those events that in themselves are noteworthy, but when divided into even smaller occurrences are not meaningful anymore. Think of the events that signal the start and end of a telephone conversation. These are meaningful to the network operator to determine the duration and possibly cost of the phone call. The occurrence of the fact that one of the persons having the phone conversation presses the red cancel button to stop the call in itself isn't interesting to the network operator. Complex events are those events that are combined from smaller events to create a new and more meaningful event. An example is the occurrence of an ATM withdrawal by a particular client in New York at 13:00
GMT and an event indicating an ATM withdrawal by the same client in
Amsterdam at 14:00 GMT that same day. These events can be combined into a complex event for the bank that issued the ATM card indicating the possibility of fraudulent activity. Complex events often involve a time aspect. If certain events occur within a specified timeframe, a complex event is generated that correlates these smaller events.

Summary
In this chapter you have learned how services can be categorized into a classification.
This chapter introduced a classification into elementary services, composite services, and process services by looking at their granularity and the way services can be combined into other services; this is called composition.
In the next chapter, you will learn about the concrete building blocks that are used in SOA landscapes. These among others include business rules, user interfaces, BPM tooling, and Enterprise Service Buses.

[ 109 ]

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book Where to buy this book
You can buy SOA Made Simple from the Packt Publishing website: http://www.packtpub.com/service-oriented-architecture-madesimple/book. Free shipping to the US, UK, Europe and selected Asian countries. For more information, please read our shipping policy.

Alternatively, you can buy the book from Amazon, BN.com, Computer Manuals and most internet book retailers.

www.PacktPub.com

For More Information: www.packtpub.com/service-oriented-architecture-made-simple/book

Similar Documents

Free Essay

Doc, Pdf

...Applied to whole Bangladesh. • An Act to consolidate and amend the law relating to steam-boilers. • Applied to owners of boilers and steam pipe and in the law there was mention that there should appoint an inspector in this sector for monitoring. (section27A) Retrieved on (2015, May 26) from (www.boiler.gov.bd) 2. The Mines Act, 1923 • Applied to whole Bangladesh. • It shall come into force on the first day of July, 1924. • An Act to amend and consolidate the law relating to the regulation and inspection of mines. • This act applied to all the workers who work in mines. Retrieved on (2015, May 26) from (faolex.fao.org/docs/pdf/pak64462.pdf) 3. The Cotton Industry (Statistics) Act, 1926 • Applied to whole Bangladesh. • An Act to provide for the regular submission of returns of quantities of cotton goods manufactured and cotton yarn spun in Bangladesh. • This act describe about cotton goods, areas for productions and regulation of supply. Retrieved on (2015, May 26) from (www.lexadin.nl/wlg/legis/nofr/oeur/lxweban.htm) 4. The Dock Workers’ Act, 1934 • It extends to the whole of Pakistan. • An Act to give effect in Pakistan to the Convention concerning the protection against accidents of workers employed in loading and unloading ships. • It applies to laborer who loads...

Words: 1567 - Pages: 7

Premium Essay

Doc, Pdf , Docs

...It was a month of june , and weather in the north of india was hot like anything , my kids were free from school for their summer vacations and we deceived to take a leave from our hectic schedule . We and one of my friend decided to visit Some hill station . Since it was a peak summer and vacations were on almost all Hotels and guest houses of hill were full to their capacity . As we were working on different options one of the destinations we were considering was Palampur . A quite and less commercial destination in foothills of dholadhar range . On discussing with one of my clients I got reference of Norwood greens a residential stay next to tea estate . We contacted there and we got a accommodation reserved . Next day early morning we started for our destination . By 9 am we reached chintpurni . There we had our breakfast and visited the temple shrine and by 10:30 we left for Palampur As we crossed chintpurni weather start changing as there was sudden change in temperature . Roads was full of sharp turns with hills on one side and valleys on others . There were lots of monkeys on the road. At 1:30 pm when we reached Palampur . As we entered Norwood greens We were tired of the long hectic journey but the moment we crossed living area and reached in rear lawn all our fatigue vanished . It was beautiful view of a tea estate and trees were full of parrots , suddenly cool breeze start blowing and as Palampur is famous for having highest rainfall...

Words: 358 - Pages: 2

Free Essay

Doc, Docs, Pdf,

...Revenge in Julius Caesar Revenge. Revenge causes one to act blindly without reason. It is based on the principle of an eye for an eye, however this principle is not always a justified one to follow. In Julius Caesar, Antony seeks to avenge the death of Caesar. Antony acts on emotion which leads to the demise of Brutus, who is a noble man that does not deserve to be killed. Revenge is a central theme within Julius Caesar. Revenge In Julius Caesar Revenge in Julius Caesar Revenge. Revenge causes one to act blindly without reason. It is based on the principle of an eye for an eye, however this principle is not ... This is demonstrated through Antony s desire to avenge Caesar s death, and also the return of Julius Caesar s ghost. Revenge is again exemplified through the violent course of action, which is taken by the Plebeians in an attempt to seek justice for the assassination of their Roman superior. The theme of revenge is evident when Antony demonstrates a desire to avenge Caesar s death. After Caesar s death, Antony swears to take revenge on those who Revenge In Julius Caesar Revenge in Julius Caesar Revenge. Revenge causes one to act blindly without reason. It is based on the principle of an eye for an eye, however this principle is not ... murdered Caesar, And Caesar s spirit, ranging for revenge, With ate by his side come hot from hell, Shall in these confines with a monarch s voice Cry havoc and let slip the dogs of war, That this foul deed shall smell above the earth...

Words: 916 - Pages: 4

Premium Essay

Doc, Pdf

...Chapter 1 Introduction Internet is changing the way consumers shop and buys goods and services, and has rapidly evolved into a global phenomenon. Many companies have started using the Internet with the aim of cutting marketing costs, thereby reducing the price of their products and services in order to stay ahead in highly competitive markets. Companies also use the Internet to convey, communicate and disseminate information, to sell the product, to take feedback and also to conduct satisfaction surveys with customers. Customers use the Internet not only to buy the product online, but also to compare prices, product features and after sale service facilities they will receive if they purchase the product from a particular store. Many experts are optimistic about the prospect of online business. In addition to the tremendous potential of the E-commerce market, the Internet provides a unique opportunity for companies to more efficiently reach existing and potential customers. Although most of the revenue of online transactions comes from business-to-business commerce, the practitioners of business-to-consumer commerce should not lose confidence. It has been more than a decade since business-to-consumer E-commerce first evolved. Scholars and practitioners of electronic commerce constantly strive to gain an improved insight into consumer behavior in cyberspace. Along with the development of E-retailing, researchers continue to explain E-consumers’ behavior from...

Words: 11357 - Pages: 46

Premium Essay

Doc, Docs, Pdf

...Jase Stubbs Chapter 2 discussion question 1/31/2016 1. Desired values are values about a persons self! Values that he or she want to reach as a person! Desired values are values that you want or “desire” as a person. It is a self achieving goals that we want for ourselves. A great example of a desired value to me would be that I value to save money to go on a vacation this year. So my desired outcome would be for me to save fifty dollars every week until my saving goal is achieved. Desirable on the other hand are things we want the world or society to achieve! To me a great example of desirable to me would be “World Peace.” It is a something that is ethical and standard classified by social norms. Everybody wants world peace, but it more or likely will not happen! 2. Hofstedes four original dimensions of culture are, •Power distance, the power distance is the distance of power within an organization etc. a place with a high power distance is like a communist country! The except who is in power and listen to what they say. A organization or place with a low power distance usually try to spread the power out amongst everybody, so there is no one absolute ruler. Everybody then has a say in what happens. • Collectivism vs. individualism, collectivism is like me counting on my best friend to be there for me when I need him and visa versa. Individualism would be like me depending on no one but myself! My fate rest in my hands! •masculinity vs femininity...

Words: 810 - Pages: 4

Premium Essay

Doc, Pdf

...1. | Question : | (TCO 2) Almost always listed as important for leadership success is/are ____. | | | Student Answer: | | Basic intelligence | | | | Clear and strong values | | | | High level of personal energy | | | | All of the above | | | | Training | | Instructor Explanation: | p. 16 | | | | Points Received: | 3 of 3 | | Comments: | | | | 2. | Question : | (TCO 2) Vince Lombardi had a _____ personality; his followers' goal was to be equal to their understanding of his ____. | | | Student Answer: | | Schizophrenic; needs | | | | Mercurial; orders | | | | Stoic; desires | | | | Charismatic; values and goals | | | | Difficult; deficiencies | | Instructor Explanation: | p. 27 | | | | Points Received: | 3 of 3 | | Comments: | | | | 3. | Question : | (TCO 2) Regarding the importance of enthusiasm for leadership effectiveness, _____ said, "Good work is never done in cold blood; heat is needed to forge anything. Every great achievement is the story of a flaming heart." | | | Student Answer: | | Martin Luther King | | | | George Patton | | | | Harry Truman | | | | Colin Powell | | | | Eleanor Roosevelt | | Instructor Explanation: | p. 31 | | | | Points Received: | 3 of 3 | | Comments: | | | | 4. | Question : | (TCO 2) ____, ____, and _____ are traits found in charismatic leaders. | | | Student Answer:...

Words: 2232 - Pages: 9

Premium Essay

Doc, Pdf

...REPORT ON THE INTERACTIVE SESSION OF FINANCE & ACCOUNTS DEPARTMENT, CORPORATE AFFAIRS COMMISSION Venue: KEFFI HEALTH CLUB, KEFFI. Date : 23rd January 2010 Climate setting for the program was tuned by the Deputy Director Final Accounts/Mrs.B.F.Ikhanoba. Samuel Archibong offered the opening prayers. The DD/FA introduced the Senior Executives present. The Acting DFA/Mr. M.U.Wambai delivered the opening remarks with a word that the aim of the forum is to develop human capacity. Declaring the interactive session open the DFA emphasized on participation by all present. • The first paper was presented by the Senior Manager, Final Accounts/ K.M.Jemaku. Titled: FIXED ASSET MANAGEMENT – OPERATION & CHALLENGES: It defined and classified fixed assets, their management, depreciation and disposal. The management of Fixed Assets was noted to be a huge challenge to Finance & Accounts Department because of the many lapses imminent. The Sun System Fixed Assets module captured most of the detail data identifying an asset, and provides information automatically. Each asset is then assigned a code to further give the required peculiarity in the database. The presenter identified the challenges as follows; - Time lag between coding and labeling of assets. - Difficulty in tracing assets to assigned locations. - Failure to code some assets making disposal difficult. - Inability to reconcile physical assets with the register. Other issues relating to management of Fixed...

Words: 2489 - Pages: 10

Premium Essay

Doc, Pdf

...Biography of Dr. Victor O.K. Li Victor O.K. Li Chair of Information Engineering, Associate Dean of Engineering and Acting Head of Department Education: SB, SM, EE, ScD MIT; F.I.E.E.E., F.I.A.E., F.H.K.I.E. Victor O.K. Li received SB, SM, EE and ScD degrees in Electrical Engineering and Computer Science from the Massachusetts Institute of Technology, Cambridge, Massachusetts, in 1977, 1979, 1980, and 1981, respectively. He joined the University of Southern California (USC), Los Angeles, California, USA in February 1981, and became Professor of Electrical Engineering and Director of the USC Communication Sciences Institute. Since September 1997 he has been with the University of Hong Kong, Hong Kong, where he is Associate Dean (Research) of Engineering, and Chair Professor of Information Engineering at the Department of Electrical and Electronic Engineering. He has also served as Managing Director of Versitech Ltd. the technology transfer and commercial arm of the University, and on various corporate boards. His research is in information technology, including all-optical networks, wireless networks, and Internet technologies and applications. Sought by government, industry, and academic organizations, he has lectured and consulted extensively around the world. Prof. Li chaired the Computer Communications Technical Committee of the IEEE Communications Society 1987-1989, and the Los Angeles Chapter of the IEEE Information Theory Group 1983-1985. He co-founded the International...

Words: 538 - Pages: 3

Premium Essay

Doc, Pdf

...Curriculum Vitae of Gosiame Sheila Mokwena Contact information: Name: Gosiame Sheila Mokwena Address: 37 Hoopoe crescents 619 Willow Acres Silver lakes Pretoria 0095 Telephone: 012 809 1573 Cell Phone: 076 674 2679 Email: g29635277@gmail.com Personal information: Date of birth: 1990-05-13 Place of birth: Mamelodi, Pretoria Citizenship: South African Gender: Female Employment history: Position: Canvasing agent Company: Junkmail Duration: March 2010 – June 2011 Responsibilities: * Telephone potential customers * Campaigning purchases for the company Skills: * Written and verbal communication skills * Interpersonal skills Reference: Zelda – 0711869047(Team leader) Position: Promoter/Ambassador Company: Mabatho events Duration: July 2011 – March 2012 Responsibilities: * Market a brand, product or service * Interacting with customers, sales prospects, business partners and the media * Provide information about a brand, product or service * Generate sales opportunities * Build consumer preference Skills: * Verbal communication and social skills * Interpersonal skills Reference: Kay - 079 897 9056 (Team leader) Position: Promoters/Ambassadors Manager Company: Glam Monkey Duration: February 2011 – April 2012 Responsibilities: • Recruit promoters • Select promoters • Delegate duties • Organise transportation • Oversee activations and duties Skills: • Management • Delegation skills Reference: Lerato 076 710 3485(Head of management) Position:...

Words: 364 - Pages: 2

Premium Essay

Doc/Pdf

...EasyPC Training Accounting Basics Business & Administration Contents Accounting Basics .............................................................................................................. 3 The Accounting Equation ................................................................................................. 3 Assets.................................................................................................................................. 3 Liabilities............................................................................................................................. 3 Owner’s Equity................................................................................................................... 3 The Balance Sheet .............................................................................................................. 5 Double Entry Bookkeeping............................................................................................... 6 Ledger Accounts................................................................................................................ 6 Trial Balance ...................................................................................................................... 7 Profit and Loss account.................................................................................................... 8 Sales................................................................................................................

Words: 1785 - Pages: 8

Premium Essay

Doc, Pdf

...Dare To Believe, Then Command “Verily, verily, I say unto you; He that believeth on Me, the works that I do shall he do also: and greater works than these shall he do; because I go unto My Father. And whatsoever ye shall ask in My name, that will I do, that the Father may be glorified in the Son. If ye shall ask any thing in My name, I will do it.” John 14:12-14. Jesus is speaking here, and the Spirit of God can take these words of His and make them real to us. “He that believeth on Me… greater works than these shall he do.” What a word! Is it true? If you want the truth, where will you get it? “Thy word is truth,” Christ said to the Father. When you take up God’s Word you get the truth. God is not the author of confusion or error, but He sends forth His light and truth to lead us into His holy habitation, where we receive a revelation of the truth like unto the noon day in all its clearness. The Word of God works effectually in us as we believe it. It changes us and brings us into new fellowship with the Father, with the Son, and with the Holy Spirit, into a holy communion, into an unwavering faith, into a mighty assurance, and it will make us partakers of the very nature and likeness of God as we receive His great and exceeding precious promises and believe them. Faith cometh by hearing, and hearing by the Word of God. Faith is the operative power. We read that Christ opened the understanding of His disciples, and He will open up our understanding and our hearts and will...

Words: 2345 - Pages: 10

Free Essay

Doc, Pdf

...hoangdinhhue@yahoo.com 0914 696 086 LỌC SỐ LIỆU TRONG SPSS 1.Số liệu đơn giản: • Dùng Sort cases : 1.Vào file dữ liệu trong Data Editor 2.Vào các folder: ➢ Data ➢ Sort cases ➢ Chọn tên biến cần kiểm tra ➢ Chọn Ascending hay Descending 2.( Dùng Find để tìm và sửa lỗi: Mở Data view, chọn biến cần sửa, trong Edit chọn Find, nhập giá trị biến cần sửa để tìm số liệu đã nhập sai và sửa (nên tìm ID để kiểm tra) 3. Dùng Frequencies: 1.Vào file dữ liệu trong Data Editor + Vào các folder: * Analysis/Discreptive Statistics/Frequencies ➢ Rà sóat giá trị của biến theo Frequencies hay Tables of Frequencies để tìm số liệu nhầm lẫn ➢ Có thể dùng Find (Edit, Find, tên biến) để tìm và sửa lỗi 3.( Rà sóat giá trị của biến theo Frequencies hay Tables of frequencies để tìm số liệu nhầm lẫn ( Dùng Find (Edit, Find, tên biến) để tìm và sửa lỗi 2.Số liệu phức tạp • Dùng Select cases để tìm lỗi logic : vào Data Editor ➢ Data, Select cases, Chọn biến ➢ Chọn If condition is satisfied ➢ ➢ Chọn If, chọn biến và điều kiện của biến vào cột phải ➢ Continue, OK ← Ở Data Editor, xem cột ngoài cùng bên trái: các phiếu có gạch chéo là không được xử lý ( Muốn trở lại trạng thái ban đầu dùng All cases • Dùng Select cases để tìm lỗi logic : vào Data Editor 1. Data, Select cases, Chọn biến ...

Words: 2424 - Pages: 10

Premium Essay

Doc, Pdf

...OM, Anderson, Fall 2014 1 Discussion Questions (Week 6) THE GOAL Chap 1 – 15 1. Do you perceive that the people at the Bearington plant were like most manufacturing people in most companies? 2. Do you feel that the Bearington plant has the right equipment and technology to do the job? 3. What is the “Goal”? How is it related to the three performance measurements: NP, ROI & CF? Why does Alex need another set of measurement: Throughput, Inventory, OE? 4. How is "productivity" defined traditionally? How does Jonah define "productivity"? 5. How does Jonah define "Throughput", "Inventory", and "Operating Expense"? How are these definitions different from traditional definitions? 6. Using the robots as an example, explain: (1) How the standard cost system defines "efficiency" (2) How high efficiency could lead to local optimum 7. What are those three questions that Jonah asked Alex about the productivity of the robots? 8. Using the analogy between the hiking and a manufacturing operation, explain the phenomena of “dependent events” and “statistical fluctuations”. Explain what a “balanced plant” is and explain why it would not work. 9. Using the dice game to explain the phenomena of “dependent events” and “statistical fluctuations”. Explain why a “balanced plant” would not work. 10. Explain another real-life example to describe the phenomena of “dependent events” and “statistical fluctuations”? 11. The hiking did not go very well first...

Words: 1005 - Pages: 5

Free Essay

Doc, Pdf

...MODUL PANDUAN ASSESSMENT III STUDI LAPANGAN MANAJEMEN SUMBER DAYA MANUSIA PROGRAM STUDI ILMU MANAJEMEN 2015 DAFTAR ISI DAFTAR ISI ................................................................................................................................................ 2 PENDAHULUAN ......................................................................................................................................... 3 TUJUAN DAN MANFAAT STUDI LAPANGAN .............................................................................................. 4 KATEGORI OBJEK STUDI LAPANGAN ......................................................................................................... 5 MATERI STUDI LAPANGAN ........................................................................................................................ 6 OUTLINE LAPORAN STUDI LAPANGAN ...................................................................................................... 5 ~2~ PENDAHULUAN Proses pembelajaran adalah proses yang di dalamnya terdapat kegiatan interaksi antara guru-siswa dan komunikasi timbal balik yang berlangsung dalam situasi edukatif untuk mencapai tujuan belajar (Rustaman, 2001:461). Dalam proses pembelajaran, guru dan siswa merupakan dua komponen yang tidak bisa dipisahkan. Antara dua komponen tersebut harus terjalin interaksi yang saling menunjang agar hasil belajar siswa dapat tercapai secara optimal. Menurut pendapat Bafadal (2005:11), pembelajaran dapat diartikan...

Words: 1008 - Pages: 5

Premium Essay

Pdf, Doc

...The Social Self Every individual has an inner self and an outer self. The inner self is that which is known only by the individual or person himself. Whereas the outer self is that which we let others know. The capacity for self reflection is necessary for people to feel as if they understand their own motives and emotions and the causes of their behaviour. The self is heavily influenced by social factors that is the way we manage ourselves is influenced by the people around us and the situation at the time. The A, B, C of the self could be examined in three major domains; that is the affective, the cognitive, the behavioural. From the cognitive domain one will ask questions like- How do people come to know themselves? How do the social self, self concept, self esteem, self presentation. They develop a self concept and maintain a stable sense of identity? From the affective or emotional domain, we will ask questions like: How do people present themselves to others? How do they regulate their actions according to interpersonal demands? What is the self? The self refers to a person’s inner being including the mind and spirit. Here, we are referring specifically to the ego which is the conscious self, the real person. A person’s nature or personalities are the personal qualities that make up one individual. For example, we usually say that he or she is not his/her cheerful self today. Self Concept (Cognitive Component) Although we usually talk about the self-concept as...

Words: 5305 - Pages: 22