Skip to main content

Posts

Showing posts from 2014

Difference between OSB 11g And OSB 12c

In this blog I will walk  you  through from the new features of OSB 12c as well as the difference between OSB 11g and 12c. Following are the differences between OSB 11g and 12c : In the new version Oracle Service Bus (OSB) is renamed as Service Bus. Eclipse tool is needed to develop an interface in OSB 11g where as JDeveloper tool is needed to develop an interface in OSB 12c.  Oracle has integrated OSB 12c with JDeveloper. Now there is no need of Eclipse to develop an interface in 12c. Graphical representation of OSB components are similar to SOA BPEL components. Pipeline is separated from proxy service and it is separate component in 12c. To perform operations on database, ftp and files, it is no longer required to configure adapters in JDeveloper and copy it to Eclipse, because OSB 12c service is developed using JDeveloper only.

OSB 11g : Java Callout Activity

Introduction: Java Callout activity is used to call custom java methods from proxy services in OSB.  For this it is needed to create a POJO ( Plain Old Java Object ) class and create different methods.  The java methods which you want to call from proxy services must be static. Following data types are supported as method parameters: String Primitive types, and their corresponding class types  BigDecimal  BigInteger  XmlObject  Single array type of above data types javax.activation.DataSource   Following return types are supported from a java method: String Primitive types, and their corresponding class types  XmlObject Note: void is not supported as a return type. How to use Java Callout in OSB: Follow the below steps to use a Java Callout in proxy services in OSB: [ Note: The steps shown below are performed in Eclipse IDE] Step-1: Create a POJO class and a method as shown below : ...