SlideShare a Scribd company logo
12/11/2015 OSB 12c ­ Database Polling using DB adapter ­ Oracle Fusion Middleware Blog
http://www.soawork.com/2015/10/osb­12c­database­polling­using­db­adapter.html 1/3
ORACLEFUSIONMIDDLEWAREBLOG
SOA, OSB, BAM, B2B, SOA Suite 12c Blog
Home » OSB 12c » OSB 12c ­ Database Polling using DB adapter
VIVEK GARG
Follow 408
VIEW MY COMPLETE PROFILE
This blog is solely owned by me and it does not
represent any company or customer work. This
blog is result of the POC's which I keep on
doing during my spare time. Please feel free to
reach out to me in case you have any concern
regarding material in this blog.
▼  2015 ( 9 )
▼  October ( 1 )
OSB 12c ­ Database Polling using DB
adapter
►  September ( 1 )
►  July ( 2 )
►  June ( 1 )
►  May ( 2 )
►  April ( 1 )
►  January ( 1 )
►  2014 ( 101 )
►  2013 ( 32 )
►  2012 ( 26 )
Powered by Blogger.
DB adapter in OSB 12c #soacommunity
@soaworkblog @soacum
soawork.com/2015/10/osb‐12…
Vivek Garg
@soaworkblog
Expand
Usage of XSLT file in OSB 11g
soawork.com/2015/04/use‐xs…
Vivek Garg
@soaworkblog
Pipeline Templates in #OSB12c #SOA12c
#soaworkblog @soaworkblog
Vivek Garg
@soaworkblog
8 Oct
6 Apr
2 Jan
Tweets
OSB12c-DatabasePollingusingDBadapter
Oracle introduced couple of new features in 12c version which is recently launched. For OSB, the major shift
that we saw in 12c is that now we can use Jdeveloper to do the development which we use to do through
OEPE (Eclipse). With that change, we can leverage the existing technology adapter in OSB as well which we
use to have in SOA. In OSB 11g version, in case of Database interaction, we use to create DB adapter in
Jdeveloper and later import all required files to OEPE and generate required services from that, but in this
new version­12c as we development in Jdeveloper itself so we need not to follow same steps again, we can
add the DB adapter directly in OSB project and do required operations.
In this post, we show you how to use DB adapter in OSB project. For that we have created a table in
database, we poll the data from that table and write that information to one file.
First of all we need to create a new OSB project, so first create a new project and then in composite.xml file,
right click on proxy service lane, choose “Insert Adapters” and select Database to add DB adapter.
Provide name to adapter and click on next. In next window, choose DB connection (In our case it is local as
we read the data from local table) and click on browse button to select the outbound connection pool
created earlier for DB adapter. This search feature is a new feature that is introduced in 12c, with this feature
we can go to server and select the outbound connection pool; we can even create new connection pool with
this option.
In next window, choose “Poll for new or changed records in table” operation type as we need to poll the new
or updated records then select the table from where we need to poll the record and also select primary key
column. Also choose the column based upon that we need to read the record and select read & unread
column values.
ABOUTME
DISCLAIMER
BLOGARCHIVE
TOTALPAGEVIEWS
1 3 2 3 4 8 4
To search type and hit enter...Home About Me Contact Me Labels
08
Oct
2015
12/11/2015 OSB 12c ­ Database Polling using DB adapter ­ Oracle Fusion Middleware Blog
http://www.soawork.com/2015/10/osb­12c­database­polling­using­db­adapter.html 2/3
#soaworkblog @soaworkblog
@soacommunity
soawork.com/2015/01/osb‐12…
Expand
#SOA 12c ‐ Encryption and Decryption of
Sensitive Data ‐ See more at:
soawork.com/2014/10/soa‐12… #Oracle
Expertezed
@Expertezed
Expand
OPITZ CONSULTING
7 Dec 14
1 Dec 14
Compose new Tweet…
14
There was an error in this gadget
Join this site
with Google Friend Connect
Members (38)  More »
Already a member? Sign in
Once you complete all above steps, then you see DB adapter gets added to the composite but you see one
issue in that adapter as we haven’t added the pipeline yet. To add pipeline, right click on middle pane
choose Insert  Pipeline.
Provide pipeline name and in service type choose “Any SOAP” as we will get the data in soap format from
DB adapter. Ensure that “Expose as a proxy service” checkbox is unchecked as we already have proxy
service created using DB adapter, if you keep that checked then you will notice that it will add one more
proxy in the same composite.
FOLLOWBYEMAIL
Email address... Submit
FOLLOWERS
12/11/2015 OSB 12c ­ Database Polling using DB adapter ­ Oracle Fusion Middleware Blog
http://www.soawork.com/2015/10/osb­12c­database­polling­using­db­adapter.html 3/3
Next
Thisisthemostrecentpost.
OSB 12c ­ Pipeline Template
As we know Oracle SOA 12c comes with lot of
new features, one of that is service bus is
merged w...Read more
RELATEDPOSTS
1COMMENTS:
  Notify me
Sign out
Enter your comment...
Comment as:  TUSHAR VARSHNEY (Google)
Publish
  Preview
Linkstothispost
Create a Link
Copyright © 2015 All Right Reserved
Blogger Designed by IVYthemes | MKR Site
Posts RSS • Comments RSS
 
Now you can add wire DB adapter with pipeline. Then add file adapter to write the file and wire it to pipeline.
Now go inside the pipeline and add route node after the start node in message flow. Add routing action
inside route node, in routing select the write file adapter business service .
Add new record to source table and you notice that data successfully picked from that table and written
to target file.
Tweet
   
0LikeShare 26
Previous
OSB11g-JMSMessageSelector
Unknown October 30, 2015 at 9:21 AM
Very good explanation..
Reply
Diese Website verwendet Cookies von Google, um ihre Dienste
bereitzustellen, Anzeigen zu personalisieren und Zugriffe zu
analysieren. Informationen darüber, wie du die Website
verwendest, werden an Google weitergegeben. Durch die Nutzung
dieser Website erklärst du dich damit einverstanden, dass sie
Cookies verwendet.
WEITERE INFORMATIONEN OK

More Related Content

Similar to OSB 12c - Database Polling using DB adapter - Oracle Fusion Middleware Blog (20)

PDF
Considerations for using NoSQL technology on your next IT project - Akmal Cha...
BCS Data Management Specialist Group
 
PDF
CA_Plex_SupportForModernizingIBM_DB2_for_i
George Jeffcock
 
PDF
Oracle 12 Upgrade
Hanh Nguyen Duy
 
PDF
Mysql features for the enterprise
Giuseppe Maxia
 
PPTX
.NET Development for SQL Server Developer
Marco Parenzan
 
PDF
(Ebook) Java Programming with Oracle JDBC by Donald Bales ISBN 9780596000882,...
tequisgeese
 
PPTX
Why does Microsoft care about NoSQL, SQL and Polyglot Persistence?
brianlangbecker
 
PPTX
13 - Panorama Necto 14 building models - visualization & data discovery solu...
Panorama Software
 
PPTX
Eugene Polonichko "Architecture of modern data warehouse"
Lviv Startup Club
 
PPTX
Introduction to PolyBase
James Serra
 
PDF
(Ebook) Java Programming with Oracle JDBC by Donald Bales ISBN 9780596000882,...
couchkohnsdq
 
PDF
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...
Alex Zaballa
 
PDF
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...
Alex Zaballa
 
PDF
The best Oracle Database 12c Tuning Features for Developers
Guatemala User Group
 
PDF
Considerations for using NoSQL technology on your next IT project - Akmal Cha...
jaxconf
 
PDF
Topic 12: NoSQL in Action
Zubair Nabi
 
PDF
Java Programming With Oracle Jdbc 1st Ed Donald Bales
diehlstoosxz
 
PDF
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Guatemala User Group
 
PDF
SemTechBiz 2012 Panel on Linking Enterprise Data
3 Round Stones
 
PDF
SQL Tips + Tricks for Developers
VictorSzoltysek
 
Considerations for using NoSQL technology on your next IT project - Akmal Cha...
BCS Data Management Specialist Group
 
CA_Plex_SupportForModernizingIBM_DB2_for_i
George Jeffcock
 
Oracle 12 Upgrade
Hanh Nguyen Duy
 
Mysql features for the enterprise
Giuseppe Maxia
 
.NET Development for SQL Server Developer
Marco Parenzan
 
(Ebook) Java Programming with Oracle JDBC by Donald Bales ISBN 9780596000882,...
tequisgeese
 
Why does Microsoft care about NoSQL, SQL and Polyglot Persistence?
brianlangbecker
 
13 - Panorama Necto 14 building models - visualization & data discovery solu...
Panorama Software
 
Eugene Polonichko "Architecture of modern data warehouse"
Lviv Startup Club
 
Introduction to PolyBase
James Serra
 
(Ebook) Java Programming with Oracle JDBC by Donald Bales ISBN 9780596000882,...
couchkohnsdq
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...
Alex Zaballa
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...
Alex Zaballa
 
The best Oracle Database 12c Tuning Features for Developers
Guatemala User Group
 
Considerations for using NoSQL technology on your next IT project - Akmal Cha...
jaxconf
 
Topic 12: NoSQL in Action
Zubair Nabi
 
Java Programming With Oracle Jdbc 1st Ed Donald Bales
diehlstoosxz
 
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Guatemala User Group
 
SemTechBiz 2012 Panel on Linking Enterprise Data
3 Round Stones
 
SQL Tips + Tricks for Developers
VictorSzoltysek
 

More from TUSHAR VARSHNEY (19)

DOCX
Choreography&orchestration
TUSHAR VARSHNEY
 
DOCX
Prerequisite to start with sfdc adapter in soa 12 c
TUSHAR VARSHNEY
 
PDF
Oracle Enterprise Scheduler(ESS Job Scheduling)
TUSHAR VARSHNEY
 
DOCX
Sfdc documentation
TUSHAR VARSHNEY
 
PDF
Using jca salesforce adapter with soa suite
TUSHAR VARSHNEY
 
PDF
Oracle@cloud adapter(SFDC integration with SOA Suites12c)
TUSHAR VARSHNEY
 
DOCX
Horizontal clustering configuration steps
TUSHAR VARSHNEY
 
PDF
Installing the Oracle SOA Suite on Red Hat 6
TUSHAR VARSHNEY
 
PDF
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
TUSHAR VARSHNEY
 
PPT
Introduction of xml and xslt
TUSHAR VARSHNEY
 
PPT
Description of soa and SOAP,WSDL & UDDI
TUSHAR VARSHNEY
 
PPTX
Introduction to bpel
TUSHAR VARSHNEY
 
PPTX
Componenets of osb12c
TUSHAR VARSHNEY
 
PPTX
J developer 11g components ppt
TUSHAR VARSHNEY
 
PDF
Oracle 11G Database Adapter as Poller with BPEL process _ My Tech Blog
TUSHAR VARSHNEY
 
PPTX
componenets of osb12c
TUSHAR VARSHNEY
 
PDF
Simplifying SOA_ Choosing Between Route, Service Callout and Publish
TUSHAR VARSHNEY
 
PDF
oracle service bus
TUSHAR VARSHNEY
 
PDF
1 Learning About Oracle Service Bus
TUSHAR VARSHNEY
 
Choreography&orchestration
TUSHAR VARSHNEY
 
Prerequisite to start with sfdc adapter in soa 12 c
TUSHAR VARSHNEY
 
Oracle Enterprise Scheduler(ESS Job Scheduling)
TUSHAR VARSHNEY
 
Sfdc documentation
TUSHAR VARSHNEY
 
Using jca salesforce adapter with soa suite
TUSHAR VARSHNEY
 
Oracle@cloud adapter(SFDC integration with SOA Suites12c)
TUSHAR VARSHNEY
 
Horizontal clustering configuration steps
TUSHAR VARSHNEY
 
Installing the Oracle SOA Suite on Red Hat 6
TUSHAR VARSHNEY
 
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
TUSHAR VARSHNEY
 
Introduction of xml and xslt
TUSHAR VARSHNEY
 
Description of soa and SOAP,WSDL & UDDI
TUSHAR VARSHNEY
 
Introduction to bpel
TUSHAR VARSHNEY
 
Componenets of osb12c
TUSHAR VARSHNEY
 
J developer 11g components ppt
TUSHAR VARSHNEY
 
Oracle 11G Database Adapter as Poller with BPEL process _ My Tech Blog
TUSHAR VARSHNEY
 
componenets of osb12c
TUSHAR VARSHNEY
 
Simplifying SOA_ Choosing Between Route, Service Callout and Publish
TUSHAR VARSHNEY
 
oracle service bus
TUSHAR VARSHNEY
 
1 Learning About Oracle Service Bus
TUSHAR VARSHNEY
 
Ad

OSB 12c - Database Polling using DB adapter - Oracle Fusion Middleware Blog

  • 1. 12/11/2015 OSB 12c ­ Database Polling using DB adapter ­ Oracle Fusion Middleware Blog http://www.soawork.com/2015/10/osb­12c­database­polling­using­db­adapter.html 1/3 ORACLEFUSIONMIDDLEWAREBLOG SOA, OSB, BAM, B2B, SOA Suite 12c Blog Home » OSB 12c » OSB 12c ­ Database Polling using DB adapter VIVEK GARG Follow 408 VIEW MY COMPLETE PROFILE This blog is solely owned by me and it does not represent any company or customer work. This blog is result of the POC's which I keep on doing during my spare time. Please feel free to reach out to me in case you have any concern regarding material in this blog. ▼  2015 ( 9 ) ▼  October ( 1 ) OSB 12c ­ Database Polling using DB adapter ►  September ( 1 ) ►  July ( 2 ) ►  June ( 1 ) ►  May ( 2 ) ►  April ( 1 ) ►  January ( 1 ) ►  2014 ( 101 ) ►  2013 ( 32 ) ►  2012 ( 26 ) Powered by Blogger. DB adapter in OSB 12c #soacommunity @soaworkblog @soacum soawork.com/2015/10/osb‐12… Vivek Garg @soaworkblog Expand Usage of XSLT file in OSB 11g soawork.com/2015/04/use‐xs… Vivek Garg @soaworkblog Pipeline Templates in #OSB12c #SOA12c #soaworkblog @soaworkblog Vivek Garg @soaworkblog 8 Oct 6 Apr 2 Jan Tweets OSB12c-DatabasePollingusingDBadapter Oracle introduced couple of new features in 12c version which is recently launched. For OSB, the major shift that we saw in 12c is that now we can use Jdeveloper to do the development which we use to do through OEPE (Eclipse). With that change, we can leverage the existing technology adapter in OSB as well which we use to have in SOA. In OSB 11g version, in case of Database interaction, we use to create DB adapter in Jdeveloper and later import all required files to OEPE and generate required services from that, but in this new version­12c as we development in Jdeveloper itself so we need not to follow same steps again, we can add the DB adapter directly in OSB project and do required operations. In this post, we show you how to use DB adapter in OSB project. For that we have created a table in database, we poll the data from that table and write that information to one file. First of all we need to create a new OSB project, so first create a new project and then in composite.xml file, right click on proxy service lane, choose “Insert Adapters” and select Database to add DB adapter. Provide name to adapter and click on next. In next window, choose DB connection (In our case it is local as we read the data from local table) and click on browse button to select the outbound connection pool created earlier for DB adapter. This search feature is a new feature that is introduced in 12c, with this feature we can go to server and select the outbound connection pool; we can even create new connection pool with this option. In next window, choose “Poll for new or changed records in table” operation type as we need to poll the new or updated records then select the table from where we need to poll the record and also select primary key column. Also choose the column based upon that we need to read the record and select read & unread column values. ABOUTME DISCLAIMER BLOGARCHIVE TOTALPAGEVIEWS 1 3 2 3 4 8 4 To search type and hit enter...Home About Me Contact Me Labels 08 Oct 2015
  • 2. 12/11/2015 OSB 12c ­ Database Polling using DB adapter ­ Oracle Fusion Middleware Blog http://www.soawork.com/2015/10/osb­12c­database­polling­using­db­adapter.html 2/3 #soaworkblog @soaworkblog @soacommunity soawork.com/2015/01/osb‐12… Expand #SOA 12c ‐ Encryption and Decryption of Sensitive Data ‐ See more at: soawork.com/2014/10/soa‐12… #Oracle Expertezed @Expertezed Expand OPITZ CONSULTING 7 Dec 14 1 Dec 14 Compose new Tweet… 14 There was an error in this gadget Join this site with Google Friend Connect Members (38)  More » Already a member? Sign in Once you complete all above steps, then you see DB adapter gets added to the composite but you see one issue in that adapter as we haven’t added the pipeline yet. To add pipeline, right click on middle pane choose Insert  Pipeline. Provide pipeline name and in service type choose “Any SOAP” as we will get the data in soap format from DB adapter. Ensure that “Expose as a proxy service” checkbox is unchecked as we already have proxy service created using DB adapter, if you keep that checked then you will notice that it will add one more proxy in the same composite. FOLLOWBYEMAIL Email address... Submit FOLLOWERS
  • 3. 12/11/2015 OSB 12c ­ Database Polling using DB adapter ­ Oracle Fusion Middleware Blog http://www.soawork.com/2015/10/osb­12c­database­polling­using­db­adapter.html 3/3 Next Thisisthemostrecentpost. OSB 12c ­ Pipeline Template As we know Oracle SOA 12c comes with lot of new features, one of that is service bus is merged w...Read more RELATEDPOSTS 1COMMENTS:   Notify me Sign out Enter your comment... Comment as:  TUSHAR VARSHNEY (Google) Publish   Preview Linkstothispost Create a Link Copyright © 2015 All Right Reserved Blogger Designed by IVYthemes | MKR Site Posts RSS • Comments RSS   Now you can add wire DB adapter with pipeline. Then add file adapter to write the file and wire it to pipeline. Now go inside the pipeline and add route node after the start node in message flow. Add routing action inside route node, in routing select the write file adapter business service . Add new record to source table and you notice that data successfully picked from that table and written to target file. Tweet     0LikeShare 26 Previous OSB11g-JMSMessageSelector Unknown October 30, 2015 at 9:21 AM Very good explanation.. Reply Diese Website verwendet Cookies von Google, um ihre Dienste bereitzustellen, Anzeigen zu personalisieren und Zugriffe zu analysieren. Informationen darüber, wie du die Website verwendest, werden an Google weitergegeben. Durch die Nutzung dieser Website erklärst du dich damit einverstanden, dass sie Cookies verwendet. WEITERE INFORMATIONEN OK