The 11th ACS/IEEE International Conference on Computer Systems and Applications (AICCSA'2014)
November 10-13, 2014 at InterContinental, West Bay, Doha, Qatar
Presentation : Business Process Management with mobile routes
1. Business Process
Management with
mobile routes
Charif Mahmoudi and Fabrice Mourlin
LACL (CNRS FRE 2673)
University of Paris EST – France
AICCSA 2014
International Conference on Computer Systems and
Applications
November 10-13, 2014, Doha, Qatar
charif.mahmoudi@u-pec.fr
fabrice.mourlin@u-pec.fr
3. 3
General context
• Labs: L.A.C.L. Labs Algorithm Complexity Logics
– Team: P.C.S. Parallel and Communicating System,
– Manager: Prof. C. Dima
• Work group: Mobile Communicating System
• Members: Fabrice Mourlin
– Cyril Dumont (PhD)
– Charif Mahmoudi (PhD Student)
– Guy-lahlou Djiken (PhD Student)(co-supervised by Prof. Fotso)
– Stiven Anten (PhD Student)
• Industrial Projects:
– MobileSim: numeric computing based on mobile agents
system with ESI-Group
– MobilePlanner: distributed planning manager with Agent/OS.
4. 4
State of the art
Research area
• Service composition
• WS-CDL. PELTZ, Chris. Web services orchestration and choreography. Computer, 2003, vol. 36, no 10,
p. 46-52.
• BPEL4WS JURIC, Matjaz B., MATHEW, Benny, et SARANG, Poornachandra G. Business Process
Execution Language for Web Services: An Architect and Developer's Guide to Orchestrating Web
Services Using BPEL4WS. Packt Publishing, 2006.
• Patterns in service composition
• EIP:. HOHPE, Gregor et WOOLF, Bobby. Enterprise integration patterns. In : 9th
Conference on Pattern Language of Programs. 2002. p. 1-9.
• Apache Camel: IBSEN, Claus et ANSTEY, Jonathan. Camel in action. Manning Publications Co.,
2010.
• Our contribution
• MAHMOUDI, Charif et MOURLIN, Fabrice. Adaptivity of Business Process. In : ICONS 2013, The Eighth
International Conference on Systems. 2013. p. 19-26.
• MAHMOUDI, Charif et MOURLIN, Fabrice. Orchestration Definition from Business Specification. In :
ICSEA 2012, The Seventh International Conference on Software Engineering Advances. 2012. p. 197-
204.
5. Business Agent
• Agent characteristics
– Autonomy – is master of its decisions.
– Reactivity – perceive the changes in its environment
– Proactivity – determine the actions to achieve its objective
– Social – communicate with other agents
• Business Agent
– Composition of business services
• Autonomy based on
– OSGi
– Mesos
– Marathon
• Reactivity based on ESB
• Proactivity based on BP
• Social based on orchestration
5
6. 6
Why do we need Web
Service ?
• Analytic concept
– Independence of concern – WS contains only a local or
remote call to a business basic task.
• Design concept
– Business delegate – WS is an application of design
pattern: task is encapsulated into a class.
• Programming concept
– Framework – each web language has several
frameworks for WS implementation,
– Time development – short lifecycle, it exposes a local
task on network.
WS : Web Service
7. Business Process
management
• Reduce
– human error
– miscommunication
• Focus stakeholders
– requirements
– their roles
• Orchestration
– the entity that manages
CC : eunomia-process.com
complex cross domain
business processes 7
8. 8
Why do we need
Orchestration?
• Web services coordination
– Workflow description - an agent does not know the
others and their communication protocol into a B.P.
• Software transaction
– Business process – it is implemented by an algorithm
based on a set of web service calls into a transaction.
– Local or not – a transaction can be local or distributed
over network
• Business activity monitoring
– Business tracking – B.P. evaluation is not atomic, its
current state can be observable,
– Volume – B.P. monitoring can stress impacts between
each other.
BP:Business Process
9. BPMN BP Modelling Notation
9
Orchestration specification
• W3C (glossary)
– “The pattern of interactions that must respect a
Web service agent to achieve its purpose.".
• An expert describes business logics into a
main description :
• BPMN (graphical representation)
• BPML (textual representation)
• “CODE”(interpretable representation of Business Process)
10. 10
Orchestration
example
• BP can define investment management in a Financial
organization
• BP can express inscription process at an international
conference
• BP also provides audit process on stock management into
a manufactory
12. Orchestration
Framework
• Why do we need integration?
– Your apps are build using different tech
stacks
– Critical for your business to integrate
• Why Integration Framework?
– Framework do the heavy lifting
– Focus on business problem
– Not "reinventing the wheel"
12
14. What is Apache Camel
• Quote from the web site
– http://camel.apache.org
14
Apache Camel is a powerful
Open Source Integration
Framework based on known
Enterprise Integration Patterns
15. EIP Orchestration
using Apache Camel
• EIP specifications
• not initially dedicated to orchestration,
• could be used as tools allowing orchestration
– Transformer or Aggregator pattern.
• based on the "pipe and filter" architecture
15
29. 29
Results
TABLE I. TIME MEASURE FOR THE ASYNCHRONOUS WEB SERVICE CALLS
Web service Total Count Average Min Max
AsyncJetLines 231 1 231 231 231
AsyncEasyLines 302 1 302 302 302
TABLE II. TIME MEASURE FOR THE ASYNCHRONOUS WEB SERVICE CALLS WITH MOBILE ROUTE
Web service Total Count Average Min Max
AsyncJetLines 455 1 455 455 455
AsyncEasyLines 682 1 682 682 682
30. 30
Conclusion
• Business features:
– Business logic
• Flexibility and reusability of services
• Declarative deployment target
– Rethinking Business Processes definition
• cluster schedulers
• private clouds
• build, package and deploy services
• Technical features:
– Mesos/Marathon/Docker architecture
• Cluster management
• Failure detection
• Failover mechanism
31. 31
Future tasks
• Software transaction
– Often, BP is a global transaction containing set of web
services.
Only atomic transaction are considered today
– We want to define business transaction and undoable
mechanism
• Security management
– Often, BP needs secure control based on global
strategy
– We want to realize secure BP where controls are done
through a distributed approach
Each host can have its own security process valuator