Monday, 30 April 2012

SOA Suite 11.1.1.6 (PS5) Released !!(cont..)

Here are more new features of SOA 11.1.1.6!!!!


Human Task:
  • With regards to Human Task, the feature of dynamic assignment and task escalation is performed from the user task UI as a provision.
Business Rules:
  • Business Rules add a compatibility to add rules in a normal programming paradigm if-then-else,else if,do while and while etc... This feature is greatly expected. As previous versions didn't offer which was tactically only through "if" condition which was a challenge.
  • Usability and performance has been greatly improved for editing business rule in composer.
Business Activity Monitoring:
  • BAM is now supported in IBM Websphere.
  • Error handling in BAM has been improvised by allowing the user to write the rejected messages to log.
  • BAM reports can be refreshed via Timer.
Adapters and Bindings:
  • Optimizations for DB/File/FTP such as coherence integration claims the to improve the performance while writing large batches of records into the database. 
These are the few features that has made me to get excited with SOA 11.1.1.6.
Hope this information will be useful to the readers.

Saturday, 28 April 2012

SOA Suite 11.1.1.6 (PS5) Released !!

The Oracle SOA Suite 11.1.1.6 (PS5) is now generally available and the binaries can be downloaded from the OTN.

This release is promising and has provided better features in comparison to the previous PS4 release. Listed below are a few cool features which I found really helpful and see here for the complete list of new features available in this release.


BPEL:
New delivery and transaction properties when creating a BPEL process
  • New delivery/persistence policies for BPEL process(async.persist,async.cache,sync).

  • Transaction properties for bpel process.

        requiresNew: A new transaction is created for the execution, and the existing transaction (if there is one) is   suspended. This behavior is true for both request/response (initiating) environments and one-way, initiating environments in which the Delivery list value (oneWayDeliveryPolicyproperty) is set to sync


       required: In request/response (initiating) environments, this setting joins a caller's transaction (if there is one) or creates a new transaction (if there is no transaction). In one-way, initiating environments in which the Delivery list value (oneWayDeliveryPolicy property) is set to sync, the invoke message is processed using the same thread in the same transaction.


New aggregation feature: Routing Messages to the same Instance

  • Oracle BPEL Process Manager supports a message aggregation feature. When multiple messages are routed to the same process/partner link/operation name, the first message is routed to create a new instance and subsequent messages can be routed to continue the created instance using a midprocess receive activity.
Message aggregation enables you to use the same operation (or event name) in an entry receive activity and a midprocess receive activity.

    • Correlation sets are used to take the advantage of message aggregation feature.
    Throwing faults with assertion conditions in BPEL 1.1. and 2.0 (new)

    • Assertions are enabled to request-response activities such as receive,reply,invoke,etc.where xpath conditions are asserted to throw faults when they fail. These can be asserted before/after invocation through the following features.
              Preassert: This condition is executed before the invoke or reply activity send out the outbound message.
              Postassert: This condition is executed after an invoke activity, receive activity, or onMessage branch receives the inbound message.

    Tuesday, 24 April 2012

    Domain Value Map Qualifier Support

    Qualifier support is the new feature in oracle SOA 11g.Qualifiers qualifies mappings. A mapping may not be valid unless qualified with additional information. For example, a domain value map containing a city code-to-city name mapping may have multiple mappings from KN to Kensington because Kensington is a city in both Canada and the USA. Therefore, this mapping requires a qualifier (USA or Canada) to qualify when the mapping becomes valid

    Country (Qualifier)CityCodeCityName
    USABOBoston
    USABELG_NCBelgrade
    USABELG_MN_StreamsBelgrade
    USANPNorthport
    USAKNKensington
    CanadaKNKensington

    You can also specify multiple qualifiers for a domain value map

    Country (Qualifier)State (Qualifier)CityCodeCityName
    USAMassachusettsBOBoston
    USANorth CarolinaBELGBelgrade
    USAMinnesotaBELGBelgrade
    USAAlabamaNPNorthport
    USAKNKansasKensington
    CanadaPrince Edward IslandKNKensington

    A qualifier order is used to find the best match during lookup at runtime. The order of a qualifier varies from highest to lowest depending on the role of the qualifier in defining a more exact match. In above Table, the state qualifier can have a higher order than the country qualifier, as a matching state indicates a more exact match.

    Domain value maps support hierarchical lookup. If you specify a qualifier value during a lookup and no exact match is found, then the lookup mechanism tries to find a more generalized match by setting the higher order qualifiers to a "". It proceeds until a match is found, or until a match is not found with all qualifiers set to a ""

    State=Arkansas, Country=Canada, CityCode=KN_USA
    In this example, the State qualifier has a qualifier value of 1 and the Country qualifier has a qualifier value of 2.
    the lookup mechanism sets the higher order qualifier State to the exact lookup value Arkansas and uses Canada"" for the lower order qualifier Country.

    When no match is found, the lookup mechanism sets the higher order qualifier State to a value of "" and sets the next higher qualifier Country to an exact value of Canada.
    When no match is found, the lookup mechanism sets the value of the previous higher order qualifier Country to a value of "". One matching row is found where CityCode is KN_USA and Kensington is returned as a value.
    Domain Value Map Lookup Result

    StateCountryShort ValueLookup Result
    ArkansasCANADA" "KN_USANo Match
    “”CANADAKN_USANo Match
    “”“”KN_USAKensington


    DVM Lookup function to use the Qualifier
    dvm:lookupValue(dvmMetadataURI as string, SourceColumnName as string,SourceValue as string, TargetColumnName as string, DefaultValue as string,(QualifierSourceColumn as string, QualifierSourceValue as string)*) as string
    e.g
    dvm:lookupValue ('cityMap.dvm','CityCodes','BO','CityNames', 'CouldNotBeFound', 'State', 'Massachusetts')

    Saturday, 14 April 2012

    Difference between Bpel and Esb

    Hi friends, 

    Let us know the difference between bpel and esb

    BPEL: Business Process Execution Language
    ESB : Enterprise Service Bus

    Why BPEL???
    BPEL is optimized for coding and managing Business processes. You can go for BPEL if you are dealing with complex Business logic which involves complex transformations, database operations and workflow. Many people have done integration projects successfully using BPEL.

    Then why ESB???
    You go for ESB if you need connectivity with simple transformation, routing and a low cost. Its principle objective is to join two different services bi-directionally, quickly and efficiently. One of many advantages is the possibility of virtualizing a service transparently to its consumer, providing transformation from its native format into a canonical one, as well as reliable routing. It also provides the facility of Domain Value mapping lookups.

    Its also worth noting that doing integration work with Oracle ESB is not only quicker to "build" but its also quicker in its execution.

    So,

    ESB: Need connectivity, simple transformations routing and low cost solution.

    BPEL/BPEL+ESB: Complex business logic, Integration with Workflow, Complex transforms, Complex database operations, Have Long running processes which may or may not be stateful.

    BPEL
    Bpel is used for orchestration of processes.
    Bpel is deployed to the server.
    Bpel maintains the version control for the process deployed.

    ESB
    ESB is mainly used for virtualization of endpoints, routing and transformation.
    ESB is a light weight component.
    ESB is registered to the server.
    ESB doesn't maintain the version control. whenever you register it will delete the old version and register with new code.

    Sunday, 1 April 2012

    Manual Recovery in SOA 11 G

    Go to soa-infara(soa1) right click on that.


    Then go to Service Engines-BPEL