Monday, September 28, 2015

Oracle B2B Design patterns


  • B2B Gate way(Async): Use B2B as a gateway for all trading partner integration. Gateway solution should persist data in EIS( using File,DB, JMS) and B2B processing system can take it further.
    • Fault tolerant
    • Increase Reuse
    • Extendable
    • Guaranteed delivery can be designed
    • Scalable
    • Time to market
  • B2B processing hub(Async): Will take care of end-to-end processing of B2B messages
    • Handles each message uniquely
    • Would require complex error handling mechanism
    • Single point of failure
  • B2B Message forwarding(Async): Combination of B2B Gateway and Processing system; B2B gateway should work as explained above however B2B processing should be design to handle further processing of B2B message.
    • Moduler
    • Extendable
    • Scalable 
    • Reusable  
    • Time to market
  • Orchestration: Is similar to B2B processing hub but it should be sync
    • Extend B2B processing beyond EDI
    • Fault and error handling
    • Reusable
    • Moduler
  • Gateway+orchestration
  • B2B Translator: Use of B2B is limited to translating the EDI's.
  • B2B Poller: Advance File adapter(poll file and parse it to XML).

Known issues with B2B: 
  • De-batch the EDI and in some cases requirement can be to process whole batch, in such cases there aggregator component.
  • Out of box XML translation(Sync), it is very handy however again it processes only one EDI txn at one time.
  • B2B can not be used as webservice. 


Wednesday, September 23, 2015

Oracle SOA 12c and B2B 12 C installtion

Understanding the installation

For B2B you would require following:
1. Oracle B2B
2. Oracle SOA and BPM ( pre-requisite)
3. Oracle Weblogic and Coherence ( pre-requisite)
4. SOA infrastructure ( pre-requisite)
5. Database ( pre-requisite)
6. JDK ( pre-requisite)
7. Jdeveloper ( pre-requisite for design time)

Installation mode:
1. Development and learning: you can use quick start which have bundled all with java DB
2. Production: you need all the distribution listed

Distributions can be downloaded from Oracle software delivery cloud:  edelivery.oracle.com

Binaries:

fmw_12.1.3.0.0_b2b_Disk1_1of1.tar
fmw_12.1.3.0.0_b2b_Disk1_1of1.zip
fmw_12.1.3.0.0_b2bhealthcare_2.jar
fmw_12.1.3.0.0_infrastructure.jar
fmw_12.1.3.0.0_osb.jar
fmw_12.1.3.0.0_soa.jar
fmw_12.1.3.0.0_wls.jar
jdk-7u60-linux-x64.tar(used)
jdk-7u80-linux-x84.tar.gz
server-jre-8u31-linux-x64.tar


Steps for jdk
jdk-7u60-linux-x64.tar(used)
Extract:
tar -xvf jdk-7u60-linux-x64.tar
Move it to desired location:

mv /source directory/sourcefolder /target directory
mv /home/jdk1.xx /home/java

and you will get jdk in /home/java/jdk1.xx

Steps for Infrastructure:
export JAVA_HOME=<jdk location>; here it would be /home/java/jdk1.xx

<JAVA_HOME>/bin/java -d64 -jar fmw_12.1.3.0.0_infrastructure.jar

  • Provide oraInventory location(for first time only, for other select the existing)
  • Welcome page
  • Installation location: choose your location(the installation user must have write access to the location, to create Oracle home)
  • Installation type: Fusion Middleware Infrastructure
  • Prerequisite checks
  • Specify security updates, specify details in case you need it.
  • Installation progress, next (you may save the response file for your verification)
  • Installation complete(shows you two things)
    • Installation Location
      • Oracle Home location
      • Log file location
    • Feature set installed successfully
  • Click Finish and you are done.
Further steps: I did not time to update rest, however you may use oracle's documentation, apologies! or you can drop me a message if I can be help.

madhavendra.mishra@yahoo.com









Oracle B2B 12 C design help

For Hands on:

https://drive.google.com/folderview?id=0B-JxCNrHSh7yeU50VjRSRk13NjA&usp=sharing
https://svgonugu.wordpress.com/2014/09/26/service-bus-12c-a-hands-on-tutorial/

B2B Design:

Pattern 1:
http://docs.oracle.com/cd/E23549_01/doc.1111/e17364/introaiab2b.htm
Pattern 2:
B2B as translator service
https://blogs.oracle.com/oracleb2bgurus/entry/osb_-_b2b_integration_-_edifac
Pattern 3:
Integration possibility with OSB:
https://community.oracle.com/thread/2318828?tstart=0
Pattern 4: 
Integration as a HUB
http://anuj-dwivedi.blogspot.in/2011/05/implementing-oracle-b2b-11g-as-hub.html
Pattern 5:
B2B for positional and delimited data
http://anuj-dwivedi.blogspot.in/

Other ref:
https://docs.oracle.com/cd/E28280_01/user.1111/e10229/bb_webservice.htm#XBBUG1751