-
Notifications
You must be signed in to change notification settings - Fork 0
2. Tutorial
lishuluo edited this page Nov 13, 2012
·
1 revision
- SimpleProcess Framework Tutorial
- Overview
This document covers the basics of running SimpleProcess using an example.
- Requirements
- To follow along with this tutorial, you will need…
Java 1.6 or greater. Some places you can get it are from Oracle, Open JDK, or IBM.
Running java -version at the command line should indicate a version number starting with 1.6.
- Getting Started
package simple.process.test;
public class SayHello{
public boolean validate(){
return true;
}
public void execute(){
System.out.println("Hello World!");
}
}- config the process:
<processes> <process id="sayHelloInvoker"> <node id="sayHello" class="simple.process.test.SayHello"/> </process> </processes> - invoke the process:
……