Showing posts with label xslt best practices. Show all posts
Showing posts with label xslt best practices. Show all posts

Sunday, July 31, 2011

Valuable Suggestion from my friend George Evanios on Performance of BPEL Process

For my previous post "Best Practices to Improve Performance of BPEL Process", I got some valuable comments from my friend "George Evanios".

We can also increase the performance of a BPEL Process and effeciency by creating Test Suites and BPEL Test Cases. By this we do not have to deploy and check and we can go through all happy cases as well as error cases to see if the flow breaks or not. Initially it becomes tedious to have sample xml's but later on it is very easy when you have change something and want to test it.

Please refer to the below link for creating BPEL Test Suites and Test Cases.

Thanks to all my friends and readers of the blog for their comments and suggestions, please continue to provide me your suggestions or comments inline in the posts.

Greetings,
Ankit Chhabra

Monday, February 7, 2011

Oracle SOA Suite Best Practices

As per my day today activities I had discovered some best practices which can be implemented while developing a BPEL, ESB or SOA services. Below are some of the key points.
  • Use of preference variables or deployment descriptors in-spite of hard coding while assigning values.
  • Using ws-addressing schema in Dynamic Partner link while mapping values for header schema or while mapping the URL.
  • Create and copy the commonly used xsl, xsd, wsdl, config xml and other files in a server folder which can be accessed using http call. i.e. create the transformation file and copy it under the location "$ORACLE_HOME/bpel/system/xsd" and access it using "http://<<host:port>>/orabpel/xsd/<<name of file>>"
          Note: - Try avoiding copying the files under Apache location because it might hamper the server performance and in case the server crashes then the file might also get impacted.
  • Designing Integration flow, as all the adapters and routings should come under ESB part and the Implementation logic under the BPEL, so that we can access the adapters and other routings as a web service and whenever an exception is encountered under ESB our BPEL logic would not be impacted. This will also help in system performance.
  • For improving performance of our BPEL/ESB service:-
    • Use assign along with "ora:processXSL" API in place of transform activity or go to source of BPEL code and delete the annotation part under transformation.
    • Implementing conditions as "<xsl:value-of select="<<element node>>[condition]/<<element node>>"/>" rather than using if condition
    • Rare use of for-each and use "for-each group" in place of "for-each", with "version=2.0"

B2B Features with OIC

During last couple of months various new features are getting introduced in Oracle Integration Cloud, out of those there is a new feature f...