Services
HCU-ADMS
Takeaways
o Demonstrate SOA readiness to customers
o Quickly prototype using open source tools
HCU-ADMS
Credit
Taj
Card
Hotel
Indian Airlines Authentication Oberoi
Service
Service Hotel
Service
Jet Airlines
Service Hertz
Car
Travel Application reservation
External Service
data Confirmation
HCU-ADMS
What is SOA
o An architectural style
o Goal is to achieve loose coupling among interacting software agents.
What is a Service
o A unit of work done by a service provider to achieve desired end results for
a service consumer
o Service users are not knowledgeable about the implementation
o Service is defined by explicit implementation with independent interfaces
o Services are loosely coupled
o Invoked through communication protocols implementing location
transparency & interoperability
o Services encapsulate reusable business functionality
HCU-ADMS
SOA Predictions
According to Gartner
Integration Architecture
3
Services
Simple and Composite Services
2
Components
Enterprise Components
Provider
Service
Custom Package
Application
Existing Application Resources
Composite service
Simple service
HCU-ADMS
Mapping to OSS Tools
Presentation
5 6 7
Any technology Portlets
Consumer
Service
4
Business Process Engine
ActiveBPEL, Intalio PXE
Custom Package
Application
Existing Application Resources
Composite service
Simple service
HCU-ADMS
The need for this Service
Offering
o Expressed by delivery teams
o Customers’ enquiries on experiences
o Competency development
o Expertise in SOA and tools
HCU-ADMS
The scope of prototype
o Picked up from travel domain
o Customer’s request for flight, hotel and car reservation
o Communicate with different service providers
o Reserve all or none
o Focus on business process orchestration
HCU-ADMS
Application demo
HCU-ADMS
The technology stack
o Active BPEL (www.activebpel.org)
o JBoss (www.jboss.org)
o Eclipse (www.eclipse.org)
o MySql database (www.mysql.com)
HCU-ADMS
Why ActiveBPEL
o Open source
o Roadmap for advanced requirements, commercial products
o Designer built on Eclipse extensible development platform
o Follows BPEL4WS1.1 standards, adapting to newer versions (WSBPEL 2.0)
o Good documentation
o Process can be simulated, debugged
o Supports remote debugging
o Integrated with leading application servers.
HCU-ADMS
Architecture
Web
services
Browser
Apache
Tomat Active BPEL
Browser
web server
Browser
MySQL
JBoss Application server Database
Check for available flights Check for available hotels Check for available cars
Customer selects flight, hotel and car, provides credit card info
Failure
Check credit
BPEL
Confirmation to customer
HCU-ADMS
Active BPEL features/demonstrated
o Supports Full BPEL 1.1 specification – Demonstrated
o Process persistence – Demonstrated
o Parallel execution of activities – Demonstrated
o Compensation Handling – Demonstrated
o Web services event
o Service invocation policies (WS-Policy)- Not supported
as per the spec
o Server fault-tolerance – Demonstrated
o Diagram based debugging – Demonstrated
o XPath support – Demonstrated
o Brower Management console – Demonstrated
o Process simulation in the designer - Demonstrated
HCU-ADMS
Overhead due to
o XML parsing
o Marshalling / unmarshalling
o Database persistence
Thank you