Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by Venkatakrishnan: http://wiki.apache.org/ws/Tuscany/TuscanyJava/SCA_Java_Overview ------------------------------------------------------------------------------ The testcases of SCA Samples extend from SCATestCase which starts the Launcher as part of the test setup. Thus before the testcases are actually executed the Laucher is started and it handles the booting of the SCA Runtime, loading of system components as well as the application components (spread across various scdl files). Hence the sample testcases simply deal with obtaining a runtime context, locating the service component being tested and invoking service methods on them. - ''CompositeContext context = CurrentCompositeContext.getContext();'' + ''CompositeContext context = CurrentCompositeContext.getContext(); - "helloWorldService = context.locateService(HelloWorldService.class, "HelloWorldComponent");" + helloWorldService = context.locateService(HelloWorldService.class, "HelloWorldComponent"); - "System.out.println(helloWorldService.sayHello("Friend"));" + System.out.println(helloWorldService.sayHello("Friend"));'' --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
