POSTS CATEGORIES

Translate

Showing posts with label SOA Concept. Show all posts
Showing posts with label SOA Concept. Show all posts

File adapter: Dynamically setting outbound file name

File adapter: Dynamically setting outbound file name

Case 1:

Set the file name to XXX_timestamp



































Results in the creation of the file -






Case 2:

set the file name to nn_nn_timestamp.xml

nn_nn will be set to custLastName-product















Set the filename dynamically in the BPEL process as follows -

Ed the Invoke activity -




























Deploy and Test











Check the output file -











Mediator vs OSB


  1. Mediator is an internal component in a composite application and can be used to mediate between the components or the component and the outside world. OSB is a standalone full function powerful stateless ESB that is an intermediary between hetrogenous clients and services and is a part of neither of them. 
  2. Mediator is primarily targeted to composite developers. OSB is primarily targeted to a system integrator using the console except if advanced programming concepts like split join is used. In that case the optional eclipse IDE can be used by the system integrator.
  3. OSB is a fully fledged standalone stateless ESB, and works an intermediary between service consumers.
  4. OSB working as a proxy or a differentiated layer.
  5. Mediator works as an aggregator or mediator of components within a composite application or by mediating components from external systems
  6. Mediator is a replacement to ESB and takes care of the communication brokering within an application.

SOA Concept

Oracle SOA Suite provides a complete set of service infrastructure components for designing, deploying, and managing composite applications. Oracle SOA Suite enables services to be created, managed, and orchestrated into composite applications
and business processes. Composites enable you to easily assemble multiple technology
components into one SOA composite application. Oracle SOA Suite plugs into
heterogeneous IT infrastructures and enables enterprises to incrementally adopt SOA.
The components of the suite benefit from common capabilities including a single
deployment and management model and tooling, end-to-end security, and unified
metadata management. Oracle SOA Suite is unique in that it provides the following
set of integrated capabilities:

■ Messaging
■ Service discovery
■ Orchestration
■ Activity monitoring
■ Web services management and security
■ Business rules
■ Events framework
■ Complex event processing

Oracle SOA Suite puts a strong emphasis on standards and interoperability. Among
the standards it leverages are:

■ Service Component Architecture (SCA) assembly model — Provides the service details and their interdependencies to form composite applications. SCA enables you to represent business logic as reusable service components that can be easily integrated into any SCA-compliant application. The resulting application is known as an SOA composite application. The specification for the SCA standard is maintained by the Organization for the Advancement of Structured Information Standards (OASIS) .

■ Service Data Objects (SDO) — Specifies a standard data method and can modify business data regardless of how it is physically accessed. Knowledge is not required about how to access a particular back-end data source to use SDO in an SOA composite application. Consequently, you can use static or dynamic programming styles and obtain connected and disconnected access.

■ Business Process Execution Language (BPEL) — Provides enterprises with an industry standard for business process orchestration and execution. Using BPEL, you design a business process that integrates a series of discrete services into an end-to-end process flow. This integration reduces process cost and complexity.

■ XSL Transformations (XSLT) — Processes XML documents and transforms
document data from one XML schema to another.

■ Java Connector Architecture (JCA) — Provides a Java technology solution to the problem of connectivity between the many application servers in EnterpriseInformation Systems (EIS).

■ Java Messaging Service (JMS) — Provides a messaging standard that allows
application components based on the Java 2 Platform, Enterprise Edition (J2EE) to access business logic distributed among heterogeneous systems.

■ Web Service Description Language (WSDL) file — Provides the entry points into an SOA composite application. The WSDL file provides a standard contract language and is central for understanding the capabilities of a service.

■ Simple Object Access Protocol (SOAP) — Provides the default network protocol for message delivery.

Mediator


Oracle Mediator facilitates integration between events and services where services invocations and events can be mixed and matched. You can use a mediator component to consume a business event or to receive a service invocation. A mediator component can evaluate routing rules, perform transformations, validate, and either invokes another service or raises another business event. You can use a mediator component to handle returned responses, callbacks, faults, and timeouts. In addition, you can also implement a variety of integration patterns such as service virtualization, publish and subscribe fan-in, and fan-out and various synchronous and asynchronous request response patterns.