summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/webapps/helloworld-jsf/src/main/webapp/WEB-INF/web.composite
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-18 16:44:05 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-18 16:44:05 +0000
commitc52599ac2e5d04e402a33551ceef5de82d15d958 (patch)
tree5459e61dec50422b864c23d6adc1a16f3283d6ab /java/sca/samples/webapps/helloworld-jsf/src/main/webapp/WEB-INF/web.composite
parent39d25280f018383b7012d94d8203317077d7b609 (diff)
Start of a JSF sample
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@745567 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/samples/webapps/helloworld-jsf/src/main/webapp/WEB-INF/web.composite34
1 files changed, 34 insertions, 0 deletions
diff --git a/java/sca/samples/webapps/helloworld-jsf/src/main/webapp/WEB-INF/web.composite b/java/sca/samples/webapps/helloworld-jsf/src/main/webapp/WEB-INF/web.composite
new file mode 100644
index 0000000000..b687b2d056
--- /dev/null
+++ b/java/sca/samples/webapps/helloworld-jsf/src/main/webapp/WEB-INF/web.composite
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+ targetNamespace="http://samples"
+ name="Helloworld">
+
+ <component name="foo">
+ <implementation.web web-uri=""/>
+ <reference name="service" target="HelloworldComponent"/>
+ </component>
+
+ <component name="HelloworldComponent">
+ <implementation.java class="sample.HelloworldServiceImpl"/>
+ </component>
+
+</composite>