blob: 2f09cd77f0ef113cffa2008d48e3831f5e3323b1 (
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;
import java.io.IOException;
import org.apache.tuscany.api.SCARuntime;
public class HelloWorldServer {
/**
* @param args
*/
public static void main(String[] args) {
SCARuntime.start("helloworldws.composite");
try {
System.out.println("HelloWorld server started");
System.in.read();
} catch (IOException e) {
e.printStackTrace();
}
SCARuntime.stop();
System.out.println("HelloWorld server stopped");
}
}
|