How to integrate Apache Ode with Eclipse to run Bpel
In this case, we use Bpel designer(eclipse plug-in) to design bpel. If you use eclipse 3.4(Ganymede) edition, you can install Bpel designer official edition directly. If use eclipse 3.5(Galileo), you can reference this article to install it. It recommend to use eclipse 3.5, because it more friendly to edit xml file include XSLT. But I wouldn't show how to design bpel. Assumed that you have learned and have a bpel that can executed.
We can find deployment information like as follows, it's mean Bpel was deployed successful.
- First, we need to download Tomcat(not installer) and Ode. In this case, we use Tomcat 6.0.29 and Ode 1.3.4. Decompress Tomcat archives to a directory where you choose, and ode is too. Then you can find ode.war file in Ode directory, decompress it and put it into path/to/tomcat/webapps.
- Open Eclipse, and select Window -> Preferences -> Server -> Runtime Environment on tool-bar.
- Press "Add..." button to add a "Apache Ode 1.x Runtime" runtime server.
- Next, we should assign Tomcat and Ode's directory. In this time, Ode should be in Tomcat's webapps directory.
- Press "finish" and complete. Then go to Servers's view tab, and add a new runtime server that we create previously. In step c, we can add Bpel project into runtime server.
a.
b.
c.
- Finally, start server and type "htto://localhost:8080/ode" on browser to check ode whether started or not.
We can find deployment information like as follows, it's mean Bpel was deployed successful.
20:05:08,117 INFO [BpelProcess] Created new process DAO for {http://sample.bpel.org/bpel/so2po}SO2PO-1 (guid=hqejbhcnphr5gq993nj426).
20:05:08,142 INFO [BpelServerImpl] Registered process {http://sample.bpel.org/bpel/so2po}SO2PO-1.
留言