Professional Documents
Culture Documents
ARCHITECTURE
SOA
Enlaces interesantes:
- Wikipedia, buscar SOA, pero en inglés
- http://arquitecturaorientadaaservicios.blogspot.com/
- www.microsoft.com/soa
[hide]
1 Description
o 1.1 Overview
o 1.2 Introduction
o 1.3 Requirements
o 1.4 Principles
o 1.5 Web services approach
o 1.6 SOA and Web service protocols
o 1.7 Other SOA concepts
o 1.8 SOA definitions
o 1.9 Service contract
o 1.10 SOA and business architecture
o 1.11 SOA and network management architecture
2 Discussion
o 2.1 Benefits
o 2.2 Challenges in adopting SOA
o 2.3 Criticisms of SOA
3 Extensions
o 3.1 SOA, Web 2.0, and mashups
o 3.2 Web 2.0
4 See also
5 References
Underlying and enabling all of this requires metadata in sufficient detail to describe
not only the characteristics of these services, but also the data that drives them.
Programmers have made extensive use of XML in SOA to structure data that they wrap
in a nearly exhaustive description-container. Analogously, WSDL typically describe the
services themselves, while SOAP describes the communications protocols. Whether
these description languages are the best possible for the job, and whether they will
remain the favorites in the future, remains an open question. In the meantime SOA
depends on data and services that are described using some implementation of
metadata that meets the following two criteria:
1. the metadata must come in a form that software systems can use to configure
dynamically by discovery and incorporation of defined services, and also to
maintain coherence and integrity
SOA has the goal of allowing users to string together fairly large chunks of functionality
to form ad hoc applications that are built almost entirely from existing software
services. The larger the chunks, the fewer the interface points required to implement
any given set of functionality; however, very large chunks of functionality may not
prove sufficiently granular for easy reuse. Each interface brings with it some amount of
processing overhead, so there is a performance consideration in choosing the
granularity of services. The great promise of SOA suggests that the marginal cost of
creating the n-th application is low, as all of the software required already exists to
satisfy the requirements of other applications. Ideally, one requires only orchestration
to produce a new application.
For this to operate, no interactions must exist between the chunks specified or within
the chunks themselves. Instead, the interaction of services (all of them unassociated
peers) is specified by humans in a relatively ad hoc way with the intent driven by newly
emergent business requirements. Thus the need for services as much larger units of
functionality than traditional functions or classes, lest the sheer complexity of
thousands of such granular objects overwhelm the application designer. Programmers
develop the services themselves using traditional languages like Java, C#, C, C++ or
COBOL.
SOA services feature loose coupling, in contrast to the functions that a linker binds
together to form an executable, to a dynamically linked library or to an assembly. SOA
services also run in "safe" wrappers such as Java or .NET, and other programming
languages that manage memory allocation and reclamation, allow ad hoc and late
binding, and provide some degree of indeterminate data typing.
SOA relies on services exposing their functionality via interfaces that other applications
and services can read to understand how to utilize those services.
In order to efficiently use a SOA, one must[citation needed] meet the following
requirements:
The following guiding principles define the ground rules for development,
maintenance, and usage of the SOA[6]:
The following specific architectural principles for design and service definition focus
on specific themes that influence the intrinsic behaviour of a system and the style of its
design:
In addition, one might take the following factors into account when defining a SOA
implementation:
Each SOA building block can play one or both of two roles:
1. Service provider
The service provider creates a Web service and possibly publishes its interface
and access information to the service registry. Each provider must decide which
services to expose, how to make trade-offs between security and easy
availability, how to price the services, or (if no charges apply) how to exploit
them for other value. The provider also has to decide what category the service
should be listed in for a given broker service and what sort of trading partner
agreements are required to use the service. It registers what services are
This section does not cite any references or sources. Please help improve this
article by adding citations to reliable sources. Unverifiable material may be
challenged and removed. (June 2006)
Implementors commonly build SOAs using Web services standards (for example, using
SOAP) that have gained[when?] broad industry acceptance. These standards (also
referred to as Web Service specifications) also provide greater interoperability and
some protection from lock-in to proprietary vendor software. One can, however,
implement SOA using any service-based technology, such as Jini, CORBA or REST.
Elements of SOA, by Dirk Krafzig, Karl Banke, and Dirk Slama. Enterprise SOA. Prentice
Hall, 2005
One can also regard SOA as a style of information systems architecture that enables
the creation of applications that are built by combining loosely coupled and
interoperable services[9]. These services inter-operate based on a formal definition (or
contract, e. g., WSDL) that is independent of the underlying platform and programming
language. The interface definition hides the implementation of the language-specific
service. SOA-based systems can therefore function independently of development
technologies and platforms (such as Java, .NET etc). Services written in C# running on
.NET platforms and services written in Java running on Java EE platforms, for example,
can both be consumed by a common composite application (or client). Applications
running on either platform can also consume services running on the other as Web
services that facilitates reuse. Managed environments can also wrap COBOL legacy
systems and present them as software services. This has extended the useful life of
many core legacy systems indefinitely, no matter what language they originally used.
High-level languages such as BPEL and specifications such as WS-CDL and WS-
Coordination extend the service concept by providing a method of defining and
supporting orchestration of fine-grained services into more coarse-grained business
services, which architects can in turn incorporate into workflows and business
processes implemented in composite applications or portals[citation needed].
The use of Service Component Architecture (SCA) to implement SOA is a current area
of research.
Business Traceability
Architectural Best-Practices Traceability
Technological Traceability
SOA Value Proposition
Software Assets Reuse
SOA Integration Strategies
Technological Abstraction and Generalization
Architectural Components Abstraction
SOA is a design for linking computational resources (principally applications and data)
on demand to achieve the desired results for service consumers (either end users or
other services). OASIS (the Organization for the Advancement of Structured
Information Standards) defines SOA as the following:
A paradigm for organizing and utilizing distributed capabilities that may be under the
control of different ownership domains. It provides a uniform means to offer, discover,
interact with and use capabilities to produce desired effects consistent with measurable
preconditions and expectations.
There are multiple definitions of SOA, the OASIS group and the Open Group have
created formal definitions with depth that can be applied to both the technology and
business domains.
In addition, SOA is an approach to architecture, whereby business services are the key
organizing principles that drive the design of IT to be aligned with business needs.
Header
o Name – Name of the service. Should indicate in general terms what it
does, but not be the only definition
o Version – The version of this service contract
o Owner – The person/team in charge of the service
o RACI
Responsible – The role/person/team responsible for the
deliverables of this contract/service. All versions of the contract
Accountable – Ultimate Decision Maker in terms of this
contract/service
Consulted – Who must be consulted before action is taken on
this contract/service. This is two-way communication. These
people have an impact on the decision or the execution of that
decision.
Informed – Who must be informed that a decision or action is
being taken. This is a one-way communication. These people are
impacted by the decision or execution of that decision, but have
no control over the action.
SOA has gained ground as a mechanism for defining business services[12] and operating
models (e. g., Business-Agile Enterprise) and thus provide a structure for IT to deliver
against the actual business requirements and adapt in a similar way to the business.
The purpose of using SOA as a business mapping tool is to ensure that the services
created properly represent the business view and are not just what technologists think
the business services should be. At the heart of SOA planning is the process of defining
architectures for the use of information in support of the business, and the plan for
The principles of SOA are currently being applied to the field of network management.
Examples of service-oriented network management architectures are TS 188 001 NGN
Management OSS Architecture from ETSI, and M.3060 Principles for the Management
Of Next Generation Networks recommendation from the ITU-T.
Enterprise architects believe that SOA can help businesses respond more quickly and
cost-effectively to changing market conditions[15]. This style of architecture promotes
reuse at the macro (service) level rather than micro (classes) level. It can also simplify
interconnection to – and usage of – existing IT (legacy) assets.
In some respects, one can regard SOA as an architectural evolution rather than as a
revolution. It captures many of the best practices of previous software architectures.
In communications systems, for example, little development has taken place of
solutions that use truly static bindings to talk to other equipment in the network. By
SOA realizes its business and IT benefits through utilizing an analysis and design
methodology when creating services that ensures they are consistent with the
architectural vision and roadmap, and adhere to principles of service-orientation.
Arguments supporting the business and management aspects from SOA are outlined in
various publications[17].
abstraction
autonomy
composability
discoverability
formal contract
loose coupling
reusability
statelessness
If appropriate test data is defined in the organization, then when a service is being
built, a corresponding stub is built that reacts to the test data. A full set of regression
tests, scripts, data, and responses is also captured for the service. The service can be
tested as a 'black box' using existing stubs corresponding to the services it calls. Test
environments can be constructed where the primitive and out-of-scope services are
stubs, while the remainder of the mesh are test deployments of full services. As each
interface is fully documented, with its own full set of regression test documentation, it
becomes simple to identify problems in test services. Testing evolves to merely
validating that the test service operates according to its documentation, and in finding
gaps in documentation and test cases of all services within the environment. Managing
data state of idempotent services is the only complexity.
Examples may prove useful to aid in documenting a service to the level where it
becomes useful. The documentation of some API's within the Java Community Process
are good examples. As these are exhaustive, staff would typically use only important
subsets. The 'ossjsa.pdf' file within JSR-89 is an example for such a file. JSR-89 Spec
Dowmload
One obvious and common challenge faced involves managing services metadata[citation
needed]
. SOA-based environments can include many services that exchange messages to
perform tasks. Depending on the design, a single application may generate millions of
messages. Managing and providing information on how services interact is a
complicated task. This becomes even more complicated when these services are
delivered by different organizations within the company or even different companies
(partners, suppliers, etc). This creates huge trust issues across teams, and hence SOA
Governance comes into picture.
As SOA and the WS-* specifications practitioners constantly expand, update and refine
their output, there is a shortage of skilled people to work on SOA-based systems,
including the integration of services and construction of services infrastructure.
Significant vendor hype exists concerning SOA; this can create expectations that may
not be fulfilled. Product stacks continue to evolve as early adopters test the
development and runtime products with real-world problems. SOA does not guarantee
reduced IT costs, improved systems agility or faster time-to-market. Successful SOA
implementations may realize some or all of these benefits depending on the quality
and relevance of the system architecture and design[20] [21].
SOA efforts are routinely initiated by internal IT delivery organizations, and some of
these improperly introduce concepts to the business so it remains misunderstood. The
adoption starts meeting IT delivery needs instead of those of the business, so the
result is an organization with superlative laptop provisioning services, instead of one
that can quickly respond to market opportunities. Business Leadership also becomes
convinced that the organization is executing on SOA well.
As one of the most important benefits of SOA is its ease of reuse. Therefore
accountability and funding models must ultimately evolve within the organization. A
business unit needs to be encouraged to create services that other units will use.
Conversely, units must be encouraged to reuse services. This requires a few new
governance components:
Some criticisms[22] of SOA depend on the assumption that SOA is just another term for
Web Services. For example, some critics[who?] claim SOA results in the addition of XML
layers, introducing XML parsing and composition. In the absence of native or binary
forms of Remote Procedure Call (RPC), applications could run slower and require more
processing power, increasing costs. Most implementations do incur these overheads,
but SOA can be implemented using technologies (for example, Java Business
Integration (JBI)) that do not depend on remote procedure calls or translation through
XML. At the same time, there are emerging, open-source XML parsing technologies,
such as VTD-XML, and various XML-compatible binary formats that promise to
significantly improve the SOA performance[23][24][25].
Stateful services require both the consumer and the provider to share the same
consumer-specific context, which is either included in or referenced by messages
exchanged between the provider and the consumer. This constraint has the drawback
that it could reduce the overall scalability of the service provider because it might need
to remember the shared context for each consumer. It also increases the coupling
between a service provider and a consumer and makes switching service providers
more difficult.
Another concern is that WS-* standards and products are still evolving (e. g.,
transaction, security), and SOA can thus introduce new risks unless properly managed
and estimated with additional budget and contingency for additional Proof of Concept
work.
A SOA being an architecture is the first stage of representing the system components
that interconnect for the benefit of the business. At this level a SOA is just an evolution
The real issue with any IT "architecture" is how one defines the information
management model and operations around it that deal with information privacy,
reflect the business' products and services, enable services to be delivered to the
customers, allow for self care, preferences and entitlements and at the same time
embrace identity management and agility. On this last point, system modification
(agility) is a critical issue that is normally omitted from IT system design. Many
systems, including SOAs, hard-code the operations, goods and services of the
organization, thus restricting their online service and business agility in the global
marketplace.
Adopting SOAs is therefore just the first step in defining a real business system. The
next step in the design process covers the definition of a Service Delivery Platform
(SDP) and its implementation. It is in the SDP design phase where one defines the
business information models, identity management, products, content, devices, and
the end user service characteristics, as well as how agile the system is so that it can
deal with the evolution of the business and its customers.
Web 2.0 refers to a "second generation" of Web sites, primarily distinguished by the
ability of visitors to contribute information for collaboration and sharing. Web 2.0
applications use Web services and may include AJAX, Flash, or JavaFX user interfaces,
Web syndication, blogs, and wikis. While there are no set standards for Web 2.0, it is
characterized by building on the existing Web server architecture and using services.
Web 2.0 can therefore be regarded as displaying some SOA characteristics[26][27][28].
Some commentators[who?] also regard mashups as Web 2.0 applications. The term
Enterprise mashups has been coined to describe Web applications that combine
content from more than one source into an integrated experience that share many of
the characteristics of service-oriented business applications (SOBAs). SOBAs are
applications composed of services in a declarative manner. There is ongoing debate
about "the collision of Web 2.0, mashups, and SOA," with some stating that Web 2.0
applications are a realization of SOA composite and business applications[29].
Tim O'Reilly coined the term Web 2.0 to describe a perceived, quickly growing set of
Web-based applications[30]. A topic that has experienced extensive coverage involves
The philosophies of Web 2.0 and SOA serve different user needs and thus expose
differences with respect to the design and also the technologies used in real-world
applications. However, very recently, numerous novel use-cases demonstrate the great
potential of combining technologies and principles of both Web 2.0 and SOA [32].
In an "Internet of Services", all people, machines, and goods will have access via the
network infrastructure of tomorrow. The Internet will thus offer services for all areas
of life and business, such as virtual insurance, online banking and music, and so on.
Those services will require a complex services infrastructure including Service delivery
platforms bringing together demand and supply. Building blocks for the Internet of
Services are SOA, Web 2.0 and semantics on the technology side as well as novel
business models, and approaches to systematic and community based innovation [33].
Even though Oracle indicates that Gartner is coining a new term, Gartner analysts
indicate that they call this advanced SOA and "whimsically" refer to it as SOA 2.0[34].
Most of the major middleware vendors (e. g., webMethods, TIBCO Software, IBM, Sun
Microsystems, and Oracle) have had some form of SOA 2.0 attributes for years.
1.6 [edit]
[ocultar]
1 Definiciones SOA
2 Diseño y desarrollo de SOA
3 Lenguajes de alto nivel
4 Diferencias con otras arquitecturas
5 Beneficios
6 Literatura
7 Enlaces externos
Servicio Una función sin estado (Existen servicios asíncronos en los que una
solicitud a un servicio crea, por ejemplo, un archivo, y en una segunda
solicitud se obtiene ese archivo), auto-contenida, que acepta una(s)
llamada(s) y devuelve una(s) respuesta(s) mediante una interfaz bien
definida. Los servicios pueden también ejecutar unidades discretas de
trabajo como serían editar y procesar una transacción. Los servicios no
dependen del estado de otras funciones o procesos. La tecnología
concreta utilizada para prestar el servicio no es parte de esta definición.
XML
HTTP
SOAP
WSDL
UDDI
Hay que considerar, sin embargo, que un sistema SOA no necesariamente necesita
utilizar estos estándares para ser "orientado a servicios" pero es altamente
recomendable su uso.
En un ambiente SOA, los nodos de la red hacen disponibles sus recursos a otros
participantes en la red como servicios independientes a los que tienen acceso de un
modo estandarizado. La mayoría de las definiciones de SOA identifican la utilización de
Servicios Web (empleando SOAP y WSDL) en su implementación, no obstante se puede
implementar SOA utilizando cualquier tecnología basada en servicios.
Los lenguajes de alto nivel como BPEL o WS-coordinación llevan el concepto de servicio
un paso adelante al proporcionar métodos de definición y soporte para flujos de
trabajo y procesos de negocio.
Al contrario de las arquitecturas orientado a objetos, las SOAs están formadas por
servicios de aplicación débilmente acoplados y altamente interoperables. Para
comunicarse entre sí, estos servicios se basan en una definición formal independiente
de la plataforma subyacente y del lenguaje de programación (p.ej., WSDL). La
definición de la interfaz encapsula (oculta) las particularidades de una implementación,
lo que la hace independiente del fabricante, del lenguaje de programación o de la
tecnología de desarrollo (como Plataforma Java o Microsoft.NET). Con esta
arquitectura, se pretende que los componentes software desarrollados sean muy
reusables, ya que la interfaz se define siguiendo un estándar; así, un servicio C Sharp
podría ser usado por una aplicación Java.
Los beneficios que puede obtener una organización que adopte SOA son:
3.1 Services
3.2 Connections
The technology of Web services (new window) is the most likely connection technology of
service-oriented architectures. Web services essentially use XML (new window) to create a
robust connection.
4.1.1 Introduction
Einstein made that famous statement many decades ago, and it's still relevant today
for building superior software systems. Unfortunately, as anyone who has been in the
IT industry for long can point out, far too many software systems have failed Einstein's
test. Some are made too simple to carry out the duties they are supposed to perform.
Others are made too complex, and the costs of building and maintaining them have
rocketed, not to mention the nearly impossible tasks of integrating different systems
together. It seems that reaching the right level of simplicity is more like a dream than
reality. Where have we gone wrong?
nts only
We don't have to look far to find the problems. As we build more and more software
systems, we see similar situations and patterns appearing. Naturally, we want to reuse
the functionality of existing systems rather than building them from scratch. A real
dependency is a state of affairs in which one system depends on the functionality
provided by another. If the world only contained real dependencies, Einstein's test
would have been satisfied long time ago. The problem is that we also create artificial
dependencies along with real dependencies.
If you travel overseas on business, you know that you must bring power adapters along
with you or your life will be miserable. The real dependency is that you need power;
the artificial dependency is that your plug must fit into the local outlet. Looking at all
the varying sizes and shapes of those plugs from different countries, you would notice
that some of them are small and compact while many others are big and bulky.
The lesson here is that we cannot remove artificial dependencies, but we can reduce
them. If the artificial dependencies among systems have been reduced, ideally, to their
minimum, we have achieved loose coupling. In that sense, Einstein was just talking
about was loose coupling. We might rework his famous principle thus: "Artificial
This sounds a bit too abstract, but SOA is actually everywhere. Let's look at an example
of SOA which is likely to be found in your living room. Take a CD for instance. If you
want to play it, you put your CD into a CD player and the player plays it for you. The CD
player offers a CD playing service. Which is nice because you can replace one CD player
with another. You can play the same CD on a portable player or on your expensive
stereo. They both offer the same CD playing service, but the quality of service is
different.
The idea of SOA departs significantly from that of object oriented programming, which
strongly suggests that you should bind data and its processing together. So, in object
oriented programming style, every CD would come with its own player and they are
not supposed to be separated. This sounds odd, but it's the way we have built many
software systems.
The results of a service are usually the change of state for the consumer but can also
be a change of state for the provider or for both. After listening to the music played by
your CD player, your mood has changed, say, from "depressed" to "happy". If you want
an example that involves the change of states for both, dining out in a restaurant is a
good one.
The reason that we want someone else to do the work for us is that they are experts.
Consuming a service is usually cheaper and more effective than doing the work
ourselves. Most of us are smart enough to realize that we are not smart enough to be
expert in everything. The same rule applies to building software systems. We call it
"separation of concerns", and it is regarded as a principle of software engineering.
How does SOA achieve loose coupling among interacting software agents? It does so
by employing two architectural constraints:
Since we have only a few generic interfaces available, we must express application-
specific semantics in messages. We can send any kind of message over our interfaces,
but there are a few rules to follow before we can say that an architecture is service
oriented.
First, the messages must be descriptive, rather than instructive, because the service
provider is responsible for solving the problem. This is like going to a restaurant: you
tell your waiter what you would like to order and your preferences but you don't tell
their cook how to cook your dish step by step.
Second, service providers will be unable to understand your request if your messages
are not written in a format, structure, and vocabulary that is understood by all parties.
Limiting the vocabulary and structure of messages is a necessity for any efficient
communication. The more restricted a message is, the easier it is to understand the
message, although it comes at the expense of reduced extensibility.
Third, extensibility is vitally important. It is not difficult to understand why. The world
is an ever-changing place and so is any environment in which a software system lives.
Those changes demand corresponding changes in the software system, service
consumers, providers, and the messages they exchange. If messages are not
extensible, consumers and providers will be locked into one particular version of a
service. Despite the importance of extensibility, it has been traditionally overlooked. At
best, it was regarded simply as a good practice rather than something fundamental.
Restriction and extensibility are deeply entwined. You need both, and increasing one
comes at the expense of reducing the other. The trick is to have a right balance.
Fourth, an SOA must have a mechanism that enables a consumer to discover a service
provider under the context of a service sought by the consumer. The mechanism can
be really flexible, and it does not have to be a centralized registry.
There are a number of additional constraints one can apply on SOA in order to improve
its scalability, performance and, reliability.
Each message that a consumer sends to a provider must contain all necessary
information for the provider to process it. This constraint makes a service provider
more scalable because the provider does not have to store state information between
requests. This is effectively "service in mass production" since each request can be
treated as generic. It is also claimed that this constraint improves visibility because any
monitoring software can inspect one single request and figure out its intention. There
are no intermediate states to worry about, so recovery from partial failure is also
relatively easy. This makes a service more reliable.
Stateful services require both the consumer and the provider to share the same
consumer-specific context, which is either included in or referenced by messages
exchanged between the provider and the consumer. The drawback of this constraint is
that it may reduce the overall scalability of the service provider because it may need to
remember the shared context for each consumer. It also increases the coupling
between a service provider and a consumer and makes switching service providers
more difficult.
Duplicate requests received by a software agent have the same effects as a unique
request. This constraint allows providers and consumers to improve the overall service
reliability by simply repeating the request if faults are encountered.
Everyone knows roughly what a "web service" is, but there is no universally accepted
definition. The definition of web service has always been under hot debate within the
W3C Web Services Architecture Working Group. Despite the difficulty of defining web
services, it is generally accepted that a web service is a SOA with at least the following
additional constraints:
1. Interfaces must be based on Internet protocols such as HTTP, FTP, and SMTP.
2. Except for binary data attachment, messages must be in XML.
There are two main styles of Web services: SOAP web services and REST web services.
A SOAP web service is the most common and marketed form of web service in the
industry. Some people simply collapse "web service" into SOAP and WSDL services.
SOAP provides "a message construct that can be exchanged over a variety of
underlying protocols" according to the SOAP 1.2 Primer. In other words, SOAP acts like
an envelope that carries its contents. One advantage of SOAP is that it allows rich
message exchange patterns ranging from traditional request-and-response to
broadcasting and sophisticated message correlations. There are two flavors of SOAP
web services, SOAP RPC and document-centric SOAP web service. SOAP RPC web
services are not SOA; document-centric SOAP web services are SOA.
A SOAP RPC web service breaks the second constraint required by an SOA. A SOAP RPC
Web service encodes RPC (remote procedure calls) in SOAP messages. In other words,
SOAP RPC "tunnels" new application-specific RPC interfaces though an underlying
generic interface. Effectively, it prescribes both system behaviors and application
semantics. Because system behaviors are very difficult to prescribe in a distributed
environment, applications created with SOAP RPC are not interoperable by nature.
Many real life implementations have confirmed this.
Faced with this difficulty, both WS-I basic profile and SOAP 1.2 have made the support
of RPC optional. RPC also tends to be instructive rather than descriptive, which is
against the spirit of SOA. Ironically, SOAP was originally designed just for RPC. It won't
be long before someone claims that "SOAP" actually stands for "SOA Protocol".
The term REST was first introduced by Roy Fielding to describe the web architecture. A
REST web service is an SOA based on the concept of "resource". A resource is anything
that has a URI. A resource may have zero or more representations. Usually, people say
that a resource does not exist if no representation is available for that resource. A REST
web service requires the following additional constraints:
REST web services require little infrastructure support apart from standard HTTP and
XML processing technologies, which are now well supported by most programming
languages and platforms. REST web services are simple and effective because HTTP is
the most widely available interface, and it is good enough for most applications. In
many cases, the simplicity of HTTP simply outweighs the complexity of introducing an
additional transport layer.
D. Marsili, de Sybase, explica los alcances de esta tendencia cuya adopción crece en las
áreas de tecnología de la información de las grandes empresas
Desarrollada a finales de los ´90, SOA establece un marco de trabajo para servicios de
red – o tareas comunes de negocios – para identificar el uno al otro y comunicarlo.
¿Qué puede hacer una empresa? Debería tener inversiones masivas en hardware,
software y perfiles de individuos involucrados en la ejecución de cada una de las
aplicaciones separadas? Con SOA, una empresa puede mantener sus inversiones en los
sistemas legacy y la gente necesaria para mantenerlos. Esto evita continuos y costosos
proyectos "de integración", como las mejoras a cualquier aplicación son transparentes
a todas las otras. La información de negocio es siempre "hasta el último minuto",
permitiendo mejores decisiones de negocio y mejorar las relaciones entre clientes y
partners.
¿Cuáles son los elementos del SOA más importantes para su éxito?
Como primer punto se encuentra la flexibilidad. SOA es la primera arquitectura de
Tecnologías de Información (TI) que asume lo que los negocios han sabido desde hace
mucho tiempo. Se trata esencialmente de un set de servicios sueltos, donde cada uno
es relativamente económico para construirlo o reemplazarlo si es necesario. Al ser
independientes, el poder unirlos permite a SOA adaptar cambios, cuestión imposible
para arquitecturas tradicionales.
En la Arquitectura Orientada a Servicios, se puede reemplazar un servicio sin tener que
preocuparse por la tecnología fundamental; la interfase es lo que importa, y está
definida en un estándar universal en servicios Web y XML. Esto es flexibilidad a través
de la interoperabilidad. También es la habilidad de asegurar los activos existentes,
aplicaciones y bases de datos legales y hacerlos parte de las soluciones empresariales
extendiéndolos al SOA en vez de reemplazarlos. El resultado en la red es la habilidad
de evolucionar rápida y eficientemente, en otras palabras, adaptarse “orgánicamente”
de acuerdo a la demanda del negocio. Esto es realmente nuevo.
En segundo lugar está la relevancia para el negocio. SOA es TI expresada a un nivel que
tiene un significado importante para la colaboración del negocio y profesionales del
área. Sus servicios actuales pueden coordinar unidades de trabajo muy cercanas a las
actividades del negocio; piense, por ejemplo, en un servicio llamado “Actualización de
órdenes de trabajo”. Éstos son inmediatamente relevantes para los analistas de la
empresa que participan en la creación y definición de nuevos procesos permitiendo el
“Servicio Dirigido Empresarial”.
Desde que los servicios web sustituyen la mayoría de las tecnologías fundamentales,
muy poca tecnología de habla es requerida. Los negocios y las TI se enfocan en la
lógica del negocio y la comunicación; finalmente comparten el lenguaje de servicios.
Esto también es relativamente nuevo y tendrá implicaciones en la entrega de servicios
TI.
¿Cuáles son las principales barreras a vencer para obtener el éxito de SOA?
SOA es un nuevo horizonte para las TI. Como cualquier gran cambio, las principales
barreras son organizacionales, no técnicas. A continuación ejemplificaremos algunas:
· Administración: Servicios compartidos es lo principal para utilizar SOA. La habilidad
para ensamblar rápidamente aplicaciones o procesos está basada en la disponibilidad
Los Servicios Web se han convertido en el estandarte de SOA, ya que esta tecnología
posee un conjunto de características que permiten cubrir todos los principios de la
orientación a servicios, no como otras posibles tecnologías de implementación como
colas de mensajes o CORBA.
Centrándonos en los Servicios Web, podemos decir que con ellos se pueden generar
dos tipos de Arquitecturas Orientadas a Servicios:
La SOA Tradicional es aquella que utiliza los principios y tecnologías básicos de los
Servicios Web. Esto significa utilizar SOAP como lenguaje de intercambio, WSDL como
lenguaje para la descripción de los servicios y UDDI para la publicación o registro de los
mismos. En el dibujo que se muestra a continuación, se puede ver la estructura básica
de funcionamiento de una SOA tradicional.
Cliente del servicio: Es el que solicita la ejecución del servicio web, y por lo
tanto el que lo consume.
Proveedor del servicio: Es el encargado de implementar el servicio web y
ofrecerlo a los clientes.
1. El proveedor del servicio da de alta el servicio web en el registro. Para realizar esto,
el proveedor almacena en el registro el documento de descripción de este.
2. El solicitante del servicio busca en el registro un servicio web que pueda adaptarse a
sus necesidades.
Por lo tanto, una SOA tradicional estará compuesta por un conjunto de servicios que
reciben y envían mensajes SOAP en base a una descripción WSDL. Este tipo de
arquitecturas hoy en día es muy utilizado, pero no es el más óptimo debido a que no
porpociona una serie de características esenciales a la hora de crear una Arquitectura
profesional. Estas características son:
Seguridad
Transaccionabilidad
Garantía de entrega
Orquestación
Coreografía
Direccionamiento
etc...
Estas características las ofrecen las SOA de segunda generación, que serán el tema
central de otro artículo.
Por lo tanto, una aplicación SOA estará formada por un conjunto de procesos de
negocio. A su vez esos procesos de negocio estarán compuestos por aquellos que
servicios que proporcionan las operaciones que se necesitan ejecutar para que el
Esto se debe a que una arquitectura SOA, aporta ventajas como escalabilidad,
flexibilidad, reutilización, etc... (ya sabeis que opino yo de esto. Es verdad siempre y
cuando se haya destinado un gran esfuerzo [tiempo+ dinero] a desarrollar esa
arquitectura SOA).
Para realizar una migración, es necesario diseñar un plan de ejecución. Pues bien,
David S. Linthicum, gurú en el campo de SOA, ha definido en este documento los 12
pasos que deberían seguirse para realizar una migración con plenas garantías de éxito.
Es un documento muy recomendable, puesto que nos puede proporcionar una visión
global de la complejidad a la hora de migrar a SOA. Ahora bien, no penseis que el
documento va a solucionar vuestros problemas y dudas trascendentales, puesto que
en él se indican cuales son los pasos en un plan de migración, pero no se centra en las
técnicas y herramientas para acometer ese plan.
Un problema con el que nos podemos encontrar a la hora de construir una aplicación
SOA es si la aplicación construida realmente es una aplicación "SOA Compliant". Para
comprobar si una aplicación lo es, la mejor forma de hacerlo es chequeando que la
aplicación cumpla con los Principios de la Orientación a Servicios.
Los Servicios deben ser reusables: Todo servicio debe ser diseñado y
construido pensando en su reutilización dentro de la misma aplicación, dentro
del dominio de aplicaciones de la empresa o incluso dentro del dominio público
para su uso masivo.
Como se habrá podido observar, una característica muy importante de los Principios
de la Orientación a Servicios, es que todos ellos se inter-relacionan. El siguiente
gráfico muestra la inter-relación de los diferentes principios: