blob: d68a6a39adc93a51b2020d785460708f2bdff993 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package helloworld.om;
import java.io.IOException;
import org.apache.tuscany.api.SCARuntime;
public class HelloWorldServer {
/**
* @param args
*/
public static void main(String[] args) {
SCARuntime.start("helloworldws-om.composite");
try {
System.out.println("HelloWorld server started");
System.in.read();
} catch (IOException e) {
e.printStackTrace();
}
SCARuntime.stop();
System.out.println("HelloWorld server stopped");
}
}
|