Getting Comfortable with Oracle SOA SuiteGetting Comfortable with Oracle SOA Suite
Before
starting this white paper let me tell you that I am also like you
(readers) who are from the world of Oracle, PLSQL, Oracle E-Business
Suite work areas who is trying to get comfortable with the upcoming
technologies related to Service Oriented Architecture. I am not an
expert in SOA arena. I am going to try to put things in simple terms.
Some of you will differ with my opinion of starting developments related
to ESB/BPEL without fully understanding the concept but I think this
can also be one way of getting to the debth of the subject by actually
developing it.
For
Oracle Apps folks I would suggest, just start thinking about Oracle
Workflow. All things which you can do using workflow can be done using
BPEL and interfaces using (FTP/Shell Script/PLSQL) can be built using
ESB.
I will be using Oracle SOA Suite 10.3.1.1 and Oracle JDeveloper 10.3.3.3 software for demos/screen shots.
Defining Acronym Jargons in SOA world
When
we enter the world of Service Oriented Architecture we come across
various acronyms viz. XML, SOA, ESB, BPEL, WSDL, XSLT, SOAP, XSD, DTD
etc. Let’s define each of them.
XML
is the eXtensible Markup Language accepted by the industry as ideal
vehicle for sharing structured data among applications and
organizations. XML is becoming universally understood, many applications
provide inputs and outputs in XML. XML makes data self describing. XML
eliminates fixed formats.
XSD (XML Schema Definition), a Recommendation of the World Wide Web Consortium (W3C), specifies how to formally describe the elements in an Extensible Markup Language (XML) document.
DTD is Document Type Definition which is again one of the industry accepted way of defining XML structure.
WSDL
(Web Service Definition Language) is an XML format for describing
network services as a set of endpoints operating on messages containing
either document-oriented or procedure-oriented information. The
operations and messages are described abstractly, and then bound to a
concrete network protocol and message format to define an endpoint.
Related concrete endpoints are combined into abstract endpoints
(services).
SOAP (Simple Object Access Protocol) a message-based protocol based on XML for accessing services on the Web.
SOA
A service-oriented architecture is essentially a collection of
services. These services communicate with each other. The communication
can involve either simple data passing or it could involve two or more
services coordinating some activity. Some means of connecting services
to each other is needed.
ESB
is an open standards-based distributed synchronous or asynchronous
messaging middleware that provides secure interoperability between
enterprise applications via XML, Web services interfaces and
standardized rules-based routing of documents.
BPEL
(Business Process Execution Language) for Web services is an XML-based
language designed to enable task-sharing for a distributed computing
or grid computing environment - even across multiple organizations -
using a combination of Web services.
Installing Oracle SOA Suite
Download
SOA Suite installable soa_windows_x86_101310_disk1.zip from
oracle.com. Unzip the file in C:\OracleSOAInstall and run setup.exe.
During installation you will get two options viz. Basic Install and
Advanced Installation. Generally SOA Suite needs a database for
installation. If Basic installation is selected then it automatically
installs Oracle Database Lite on the machine while Advanced
Installation needs Oracle Database 10G (10.2.0.3 or higher). For
advanced installation, oracle database needs to have following schemas
ORAESB, ORABPEL and ORAWSM.
Basic installation installs following components
· Oracle Containers for J2EE
·
Oracle SOA Suite including Oracle BPEL Process Manager, Oracle
Enterprise Service Bus (ESB), Oracle Web Services Manager (OWSM), and
Oracle Business Rules.
· Oracle Enterprise Manager 10g Application Server Control
· Oracle Process Manager and Notification Server
· OC4J Java Single Sign-On
Advanced installation includes all the above components along with Oracle HTTP Server with SSL Support.
I
would suggest not going for advanced installation if you are
installing Windows XP Professional desktop/laptop because I always
found issues Oracle Web Services Manager and Oracle BPEL manager during
advanced installation. Using Basic installation as well at the Oracle
BPEL Process Manager fails to configure at the end of installation but
without exiting installation screen you can restart SOA Suite using
windows start menu and retry BPEL process manager configuration.
During
installation please make a note of Application Server Instance Name
(e.g. SOA_AS) and administrator username oc4jadmin and password. This
will be needed all the time for login on to Application Server Console,
BPEL Console, ESB Console and WSM Console.
After Basic installation, application server is accessible at URL http://localhost:8888
or http://<machine>:<port> where you will find all the
links to BPEL Process Manager, Web Services Manager Console and ESB
Console.
Application Service Control
Configuring the Container
Once
you install Oracle SOA Suite, you need to create a connection pool,
data source, and database adapter, Oracle Applications Adaptor
Connection Pool and Data Source
Adaptors in SOA Suite
In
SOA world, systems talk to each other through various adaptors. In the
context of an SOA an adapter is an intermediary service that bridges
incompatible data formats between services and its clients. An adapter
often also acts as a faƧade or technology gateway. Oracle SOA suite is
shipped with various such adaptors given in following screenshot
In this article we will take a look at how to setup DbAdaptor, AppsAdaptor, File Adaptor and FTP Adaptor
Database Adaptor
Oracle Applications Adaptor
File Adaptor
File
adaptors is already setup with default installation and can be used as
it is while developing ESB or BPEL applications. For File Adaptor the
JNDI location is eis/FileAdapter which can be used for writing files at
any location on machine hosting Oracle SOA Suite
FTP Adaptor
FTP Adaptors can be created for each destination machine by setting up configuration properties needed for FTP process.
Conclusion
This
much knowledge of configuring Oracle SOA Suite is sufficient to start
developing applications based on ESB and BPEL. In the next article we
will take an overview of Oracle JDeveloper 10.1.3.0 and various
services, Process Activities involved in developing ESB and BPEL
projects.
|
Friday, May 11, 2012
ESB, BPEL using Oracle SOA Suite: Article
########
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment