Commit 88b21aa2 authored by istria's avatar istria
Browse files

Helloworld standalone server that promotes a service via WS, that can be...

Helloworld standalone server that promotes a service via WS, that can be called by helloworld-standalone-client
parent e5c2c528
<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
<classpathentry kind="output" path="target/classes"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="var" path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar" sourcepath="M2_REPO/javax/activation/activation/1.1/activation-1.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/ant/ant/1.7.0/ant-1.7.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar"/>
<classpathentry kind="var" path="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar" sourcepath="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/asm/asm/3.0/asm-3.0.jar"/>
<classpathentry kind="var" path="M2_REPO/asm/asm-all/3.0/asm-all-3.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fractaladl/ast-core/2.2/ast-core-2.2.jar" sourcepath="M2_REPO/org/objectweb/fractal/fractaladl/ast-core/2.2/ast-core-2.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/fr/inria/gforge/spoon/aval/0.7.1/aval-0.7.1.jar"/>
<classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common/2.3.0/common-2.3.0.jar"/>
<classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fractaladl/juliac/compiler/1.2/compiler-1.2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/scorware/tinfi/compiler/1.0-SNAPSHOT/compiler-1.0-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/org/eclipse/jdt/core/3.3.0.771/core-3.3.0.771.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/bf/core/0.1-SNAPSHOT/core-0.1-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-api/2.1-incubator-SNAPSHOT/cxf-api-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-api/2.1-incubator-SNAPSHOT/cxf-api-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-common-schemas/2.1-incubator-SNAPSHOT/cxf-common-schemas-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-common-schemas/2.1-incubator-SNAPSHOT/cxf-common-schemas-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-common-utilities/2.1-incubator-SNAPSHOT/cxf-common-utilities-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-common-utilities/2.1-incubator-SNAPSHOT/cxf-common-utilities-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-bindings-soap/2.1-incubator-SNAPSHOT/cxf-rt-bindings-soap-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-rt-bindings-soap/2.1-incubator-SNAPSHOT/cxf-rt-bindings-soap-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-bindings-xml/2.1-incubator-SNAPSHOT/cxf-rt-bindings-xml-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-rt-bindings-xml/2.1-incubator-SNAPSHOT/cxf-rt-bindings-xml-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-core/2.1-incubator-SNAPSHOT/cxf-rt-core-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-rt-core/2.1-incubator-SNAPSHOT/cxf-rt-core-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-databinding-aegis/2.1-incubator-SNAPSHOT/cxf-rt-databinding-aegis-2.1-incubator-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-databinding-jaxb/2.1-incubator-SNAPSHOT/cxf-rt-databinding-jaxb-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-rt-databinding-jaxb/2.1-incubator-SNAPSHOT/cxf-rt-databinding-jaxb-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-frontend-jaxws/2.1-incubator-SNAPSHOT/cxf-rt-frontend-jaxws-2.1-incubator-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-frontend-simple/2.1-incubator-SNAPSHOT/cxf-rt-frontend-simple-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-rt-frontend-simple/2.1-incubator-SNAPSHOT/cxf-rt-frontend-simple-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-transports-http/2.1-incubator-SNAPSHOT/cxf-rt-transports-http-2.1-incubator-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-transports-http-jetty/2.1-incubator-SNAPSHOT/cxf-rt-transports-http-jetty-2.1-incubator-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-rt-ws-addr/2.1-incubator-SNAPSHOT/cxf-rt-ws-addr-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-rt-ws-addr/2.1-incubator-SNAPSHOT/cxf-rt-ws-addr-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/cxf/cxf-tools-common/2.1-incubator-SNAPSHOT/cxf-tools-common-2.1-incubator-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/cxf/cxf-tools-common/2.1-incubator-SNAPSHOT/cxf-tools-common-2.1-incubator-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/dtdparser/dtdparser/1.21/dtdparser-1.21.jar"/>
<classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore/2.3.0/ecore-2.3.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-xmi/2.3.0/ecore-xmi-2.3.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/scorware/assembly/factory/1.0-SNAPSHOT/factory-1.0-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fraclet/java/fraclet-annotations/3.0/fraclet-annotations-3.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fractaladl/fractal-adl/2.2/fractal-adl-2.2.jar" sourcepath="M2_REPO/org/objectweb/fractal/fractaladl/fractal-adl/2.2/fractal-adl-2.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fractal-api/2.0.2/fractal-api-2.0.2.jar" sourcepath="M2_REPO/org/objectweb/fractal/fractal-api/2.0.2/fractal-api-2.0.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fraclet/java/fractal-spoonlet/3.0/fractal-spoonlet-3.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fractal-util/1.0/fractal-util-1.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fraclet/java/fractaladl-spoonlet/3.0/fractaladl-spoonlet-3.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1.1/geronimo-annotation_1.0_spec-1.1.1.jar" sourcepath="M2_REPO/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1.1/geronimo-annotation_1.0_spec-1.1.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.2/geronimo-javamail_1.4_spec-1.2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-servlet_2.5_spec/1.1.2/geronimo-servlet_2.5_spec-1.1.2.jar" sourcepath="M2_REPO/org/apache/geronimo/specs/geronimo-servlet_2.5_spec/1.1.2/geronimo-servlet_2.5_spec-1.1.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-ws-metadata_2.0_spec/1.1.2/geronimo-ws-metadata_2.0_spec-1.1.2.jar" sourcepath="M2_REPO/org/apache/geronimo/specs/geronimo-ws-metadata_2.0_spec/1.1.2/geronimo-ws-metadata_2.0_spec-1.1.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/common/google-collect/0.5-SNAPSHOT/google-collect-0.5-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/org/scorware/tinfi/examples/helloworld/1.0-SNAPSHOT/helloworld-1.0-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar" sourcepath="M2_REPO/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/sun/xml/bind/jaxb-impl/2.1.6/jaxb-impl-2.1.6.jar"/>
<classpathentry kind="var" path="M2_REPO/com/sun/xml/bind/jaxb-xjc/2.1.6/jaxb-xjc-2.1.6.jar"/>
<classpathentry kind="var" path="M2_REPO/jaxen/jaxen/1.1/jaxen-1.1.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/xml/ws/jaxws-api/2.1-1/jaxws-api-2.1-1.jar" sourcepath="M2_REPO/javax/xml/ws/jaxws-api/2.1-1/jaxws-api-2.1-1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/jdom/jdom/1.0/jdom-1.0.jar" sourcepath="M2_REPO/jdom/jdom/1.0/jdom-1.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/jetty/6.1.8/jetty-6.1.8.jar"/>
<classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/jetty-util/6.1.8/jetty-util-6.1.8.jar"/>
<classpathentry kind="var" path="M2_REPO/com/martiansoftware/jsap/2.1/jsap-2.1.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/julia/julia-asm/2.5.2/julia-asm-2.5.2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/julia/julia-mixins/2.5.2/julia-mixins-2.5.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/julia/julia-mixins/2.5.2/julia-mixins-2.5.2.jar" sourcepath="M2_REPO/org/objectweb/fractal/julia/julia-mixins/2.5.2/julia-mixins-2.5.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/julia/julia-runtime/2.5.2/julia-runtime-2.5.2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/julia/koch-mc/2.5.2/koch-mc-2.5.2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/julia/koch-mixins/2.5.2/koch-mixins-2.5.2.jar" sourcepath="M2_REPO/org/objectweb/fractal/julia/koch-mixins/2.5.2/koch-mixins-2.5.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/julia/koch-runtime/2.5.2/koch-runtime-2.5.2.jar"/>
<classpathentry kind="var" path="M2_REPO/ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8.jar" sourcepath="M2_REPO/ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/ch/qos/logback/logback-core/0.9.8/logback-core-0.9.8.jar" sourcepath="M2_REPO/ch/qos/logback/logback-core/0.9.8/logback-core-0.9.8-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/scorware/tinfi/mixins/1.0-SNAPSHOT/mixins-1.0-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/scorware/assembly/model/1.0-SNAPSHOT/model-1.0-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/monolog/monolog/1.8/monolog-1.8.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/monolog/monolog-api/1.8/monolog-api-1.8.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/neethi/neethi/2.0.2/neethi-2.0.2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fractaladl/juliac/runtime/1.2/runtime-1.2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/scorware/tinfi/runtime/1.0-SNAPSHOT/runtime-1.0-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.jar"/>
<classpathentry kind="var" path="M2_REPO/com/sun/xml/messaging/saaj/saaj-impl/1.3/saaj-impl-1.3.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/tuscany/sca/sca-api/0.90-incubating/sca-api-0.90-incubating.jar">
<attributes>
<attribute value="jar:file:/home/mistria/.m2/repository/org/apache/tuscany/sca/sca-api/0.90-incubating/sca-api-0.90-incubating-javadoc.jar!/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-jdk14/1.3.1/slf4j-jdk14-1.3.1.jar" sourcepath="M2_REPO/org/slf4j/slf4j-jdk14/1.3.1/slf4j-jdk14-1.3.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-simple/1.4.3/slf4j-simple-1.4.3.jar" sourcepath="M2_REPO/org/slf4j/slf4j-simple/1.4.3/slf4j-simple-1.4.3-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/bf/connectors/soap-cxf/0.1-SNAPSHOT/soap-cxf-0.1-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/fr/inria/gforge/spoon/spoon-core/1.4/spoon-core-1.4.jar" sourcepath="M2_REPO/fr/inria/gforge/spoon/spoon-core/1.4/spoon-core-1.4-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/springframework/spring-beans/2.0.8/spring-beans-2.0.8.jar"/>
<classpathentry kind="var" path="M2_REPO/org/springframework/spring-context/2.0.8/spring-context-2.0.8.jar"/>
<classpathentry kind="var" path="M2_REPO/org/springframework/spring-core/2.0.8/spring-core-2.0.8.jar"/>
<classpathentry kind="var" path="M2_REPO/org/springframework/spring-web/2.0.8/spring-web-2.0.8.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar" sourcepath="M2_REPO/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/net/java/dev/stax-utils/stax-utils/20060502/stax-utils-20060502.jar" sourcepath="M2_REPO/net/java/dev/stax-utils/stax-utils/20060502/stax-utils-20060502-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fractaladl/task-deployment/2.2/task-deployment-2.2.jar" sourcepath="M2_REPO/org/objectweb/fractal/fractaladl/task-deployment/2.2/task-deployment-2.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fractaladl/task-framework/2.2/task-framework-2.2.jar" sourcepath="M2_REPO/org/objectweb/fractal/fractaladl/task-framework/2.2/task-framework-2.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/bf/util/0.1-SNAPSHOT/util-0.1-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/velocity/velocity/1.4/velocity-1.4.jar" sourcepath="M2_REPO/velocity/velocity/1.4/velocity-1.4-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/velocity/velocity-dep/1.4/velocity-dep-1.4.jar" sourcepath="M2_REPO/velocity/velocity-dep/1.4/velocity-dep-1.4-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar" sourcepath="M2_REPO/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/codehaus/woodstox/wstx-asl/3.2.4/wstx-asl-3.2.4.jar"/>
<classpathentry kind="var" path="M2_REPO/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar" sourcepath="M2_REPO/xml-resolver/xml-resolver/1.2/xml-resolver-1.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objectweb/fractal/fraclet/java/xml-spoonlet/3.0/xml-spoonlet-3.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/ws/commons/schema/XmlSchema/1.3.2/XmlSchema-1.3.2.jar" sourcepath="M2_REPO/org/apache/ws/commons/schema/XmlSchema/1.3.2/XmlSchema-1.3.2-sources.jar"/>
</classpath>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>helloworld-standalone-server</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
#Mon Mar 31 08:46:53 GMT+01:00 2008
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.source=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.scorware.assembly.example</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<groupId>org.scorware.assembly.example</groupId>
<artifactId>helloworld</artifactId>
<packaging>jar</packaging>
<name>Assembly Factory Examples : HelloWorld</name>
<dependencies>
<dependency><!-- Artifact specified in the <mixins> tag -->
<groupId>org.scorware.tinfi.examples</groupId>
<artifactId>helloworld</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.scorware.assembly</groupId>
<artifactId>factory</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<main>example.hw.Server</main>
</properties>
</project>
package example.hw;
import org.objectweb.fractal.api.Component;
import org.scorware.assembly.AssemblyFactory;
import org.scorware.tinfi.TinfiDomain;
public class Server {
public static void main(String[] args) throws Exception {
System.out.println("Starting Server...");
Component serverComposite = AssemblyFactory.getComposite("helloworldServer");
System.out.println("Server started!");
System.out.println("[ENTER to stop]");
System.in.read();
TinfiDomain.close(serverComposite);
System.out.println("\n\n\n");
System.exit(0);
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!-- Assembly Factory Examples : HelloWorld -->
<!-- Copyright (C) 2008 INRIA, USTL -->
<!-- -->
<!-- This library is free software; you can redistribute it and/or -->
<!-- modify it under the terms of the GNU Lesser General Public -->
<!-- License as published by the Free Software Foundation; either -->
<!-- version 2 of the License, or (at your option) any later version. -->
<!-- -->
<!-- This library is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -->
<!-- Lesser General Public License for more details. -->
<!-- -->
<!-- You should have received a copy of the GNU Lesser General Public -->
<!-- License along with this library; if not, write to the Free Software -->
<!-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
<!-- -->
<!-- Contact: Damien.Fournier@inria.fr -->
<!-- -->
<!-- Author: Damien Fournier -->
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://helloworld"
xmlns:hw="http://helloworld" name="helloworldserver">
<service name="s" promote="server/s">
<interface.java interface="example.hw.Service" />
</service>
<component name="server">
<implementation.java class="example.hw.ServerImpl" />
<service name="s">
<interface.java interface="example.hw.Service" />
<binding.ws uri="http://localhost:8081/kikoo/lol"/>
</service>
</component>
</composite>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment