Apache ODE
This page was last modified on 10 December 2016, at 14:38.
![]() | |
Developer(s) | Apache Software Foundation |
---|---|
Initial release | 2007 |
Stable release |
1.3.6
/ October 12, 2013 |
Repository |
{{ |
Development status | Active |
Written in | Java |
Operating system | Cross-platform |
Available in | English |
Type | Middleware |
License | Apache License 2.0 |
Website |
ode |
Appache ODE – (Orchestration Director Engine) software executes business processes written following the WS-BPEL standard. It talks to web services, sending and receiving messages, handling data manipulation and error recovery as described by your process definition. It supports both long and short living process executions to orchestrate all the services that are part of your application.
Contents
WS-BPEL
WS-BPEL (Business Process Execution Language) is an XML-based language defining several constructs to write business processes. It defines a set of basic control structures like conditions or loops as well as elements to invoke web services and receive messages from services. It relies on WSDL to express web services interfaces. Message structures can be manipulated, assigning parts or the whole of them to variables that can in turn be used to send other messages.
Methods of deployed
ODE can be deployed in three different environments:
- As a simple Web Service in Axis 2, ODE is bundled in a WAR than can be deployed in any application server and is invoked using plain SOAP/HTTP
- As a JBI service assembly, ODE is bundled in a ZIP that can be deployed in any JBI container and is invoked using the NMR
- SMX4 OSGi bundle
Features Apache ODE
- Side-by-side support for both the WS-BPEL 2.0 OASIS standard and the legacy BPEL4WS 1.1 vendor specification
- Support for the HTTP WSDL binding, allowing invocation of REST-style web services
- High level API to the engine that allows you to integrate the core with virtually any communication layer
- Compiled approach to BPEL that provides detailed analysis and validation at the command line or at deployment
- Management interface for processes, instances and messages
Installation Apache ODE
Required software
- Apache ODE (v.1.3.6) http://ode.apache.org/getting-ode.html
- Tomcat 6 http://tomcat.apache.org/download-60.cgi (As a hosting for Apache ODE)
- Eclipse IDE http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/keplersr1 (development environment)
Tomcat 6 installation and integration with Apache ODE
Firstly you need to install Tomcat 6. The installation process is required to pay attention on 2 things:
- Pay attention to the port for the HTTP connection. Originally specified port 8080, and on many systems, it has to take under other services. It will be good to change it to any non-busy port, such as 8082.
- You have to specify path to Java SE. If it isn't on your computer, it can be downloaded by link http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
After installation, and before starting the server, you need to put ode.war file, which will be located in the directory with ODE, to Tomcat 6 folder -> webapps. This folder was specified during installation.
Eclipse extension for ODE
- Run Eclipse with administrator rights
- Go through Help -> Install new software
- Add a new repository from http://download.eclipse.org/bpel/site/1.0.4
- Select all available add-ons and install them
Launch ODE Server
- In tab Servers, click create new server (If no servers tab in the workspace, it is possible to add from Window-> Show view-> other, and there you may find servers)
- During the installation process, select Ode v1.x Server
Creating a BPEL Project
In the Project Explorer window, create a new project (New-> Other-> BPEL Project)
- After adding the project, open folder with it, and in the folder bpelContent, create BPEL Processes Fil' (New-> Other-> BPEL Processes File)
- In Processes name specify name of the process, and in the field Namespace you need to specify hXXp: //process_name
- In the next window, select Synchronous BPEL Process and to the Service Address field, enter: hXXp://localhost:<port number selected>/ode/processes/process_name
Setting up the project
After creating the project, it must be configured. To do this, open Process_name.bpel file, open it in the Design mode, and delete objects in the diagram named: FIX_ME-Add_Business_Logic_Here
- Then, in those place add type of element called Assign
- Choose this item and go Properties-> Details, and click New
- In the From field, select input: string, and in to field choose output: string
- Next, create a folder named Deployment Descriptor in bpelContent BPEL
- In the deploy.xml file in the Associated Port choose your process. Fields Related service and binding Used should be filled automatically
- After all actions you have to restart server
- Now we have to go to the internet browser by link: hXXp: // localhost: <port number selected> /ode/processes.html
And if everything is configured correctly, when you open a link should appear Apache ODE window and all information of your created process will be displayed in the processes tab
Присоединяйся к команде
ISSN:
Следуй за Полисом
Оставайся в курсе последних событий
License
Except as otherwise noted, the content of this page is licensed under the Creative Commons Creative Commons «Attribution-NonCommercial-NoDerivatives» 4.0 License, and code samples are licensed under the Apache 2.0 License. See Terms of Use for details.