You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xi...@apache.org on 2010/12/02 07:46:11 UTC

svn commit: r1041291 - in /geronimo/samples/trunk/samples/osgi: ./ showmethemoney/ showmethemoney/showmethemoney-api/ showmethemoney/showmethemoney-api/src/ showmethemoney/showmethemoney-api/src/main/ showmethemoney/showmethemoney-api/src/main/java/ sh...

Author: xiaming
Date: Thu Dec  2 06:46:09 2010
New Revision: 1041291

URL: http://svn.apache.org/viewvc?rev=1041291&view=rev
Log:
GERONIMO-5715 A simple sample to demonstrate how to access OSGi resource from a java ee component, designed and developed by Viola lu

Added:
    geronimo/samples/trunk/samples/osgi/showmethemoney/
    geronimo/samples/trunk/samples/osgi/showmethemoney/pom.xml   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/readme.txt   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/pom.xml   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/api/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/api/ShowMoneyService.java   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/pom.xml   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/server/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/server/ShowMoney.java   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/blueprint/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/blueprint/config.xml   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/pom.xml   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/web/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/web/ShowMoneyServlet.java   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/geronimo-web.xml   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/web.xml   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/header.html   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/index.html   (with props)
    geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/showmoney.jsp   (with props)
Modified:
    geronimo/samples/trunk/samples/osgi/pom.xml

Modified: geronimo/samples/trunk/samples/osgi/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/pom.xml?rev=1041291&r1=1041290&r2=1041291&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/osgi/pom.xml (original)
+++ geronimo/samples/trunk/samples/osgi/pom.xml Thu Dec  2 06:46:09 2010
@@ -109,6 +109,7 @@
             </activation>
             <modules>
                 <module>aries-datasource</module>
+                <module>showmethemoney</module>
                 <!--<module>ariestrader-jdbc</module>-->
             </modules>
         </profile>
@@ -121,7 +122,8 @@
                     <value>false</value>
                 </property>        
             </activation>
-            <modules>                
+            <modules>          
+                <module>showmethemoney</module>      
             </modules>
         </profile>
         

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/pom.xml?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/pom.xml (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/pom.xml Thu Dec  2 06:46:09 2010
@@ -0,0 +1,43 @@
+<?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.
+-->
+
+<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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <artifactId>osgi</artifactId>
+    <groupId>org.apache.geronimo.samples</groupId>
+    <version>3.0-SNAPSHOT</version>
+  </parent>
+  
+  <groupId>org.apache.geronimo.samples.osgi.showmethemoney</groupId>
+  <artifactId>showmethemoney</artifactId>  
+  <name>Geronimo Samples :: OSGI Sample :: Show Me The Money</name>
+  <packaging>pom</packaging>
+  
+    <description>
+        Geronimo Samples :: OSGI Sample :: Show Me The Money
+    </description>
+ 
+  <modules>
+    <module>showmethemoney-api</module>
+    <module>showmethemoney-server</module>
+    <module>showmethemoney-web</module>
+  </modules>
+</project>
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/readme.txt
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/readme.txt?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/readme.txt (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/readme.txt Thu Dec  2 06:46:09 2010
@@ -0,0 +1,37 @@
+ 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.
+ ---------------------------------------------------
+BUILD
+-------
+mvn clean install
+
+INSTALL
+-------
+
+1. Start Server, go to Geronimo directory, execute these commands from a command prompt:
+        cd %Geronimo_HOME%/bin 
+	    geronimo.bat run
+ 2. Install Bundles. Press "enter", you can go into karaf command mode       
+        geronimo>install file:/D:/samplesTrunk/samples/osgi/showmethemoney/showmethemoney-api/target/showmethemoney-api-3.0-SNAPSHOT.jar
+        geronimo>install file:/D:/samplesTrunk/samples/osgi/showmethemoney/showmethemoney-server/target/showmethemoney-server-3.0-SNAPSHOT.jar
+        
+ 3. Deploy web app using deployer tool.
+       cd %Geronimo_Home%/bin
+       deploy.[bat|sh] deploy D:/samplesTrunk/samples/osgi/showmethemoney/showmethemoney-web/showmethemoney-web-3.0-SNAPSHOT.war
+  Access http://[IP_Address]:8080/showmoney/
+        
+        
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/readme.txt
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/readme.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/pom.xml?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/pom.xml (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/pom.xml Thu Dec  2 06:46:09 2010
@@ -0,0 +1,49 @@
+<?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.
+-->
+
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <artifactId>showmethemoney</artifactId>
+    <groupId>org.apache.geronimo.samples.osgi.showmethemoney</groupId>
+    <version>3.0-SNAPSHOT</version>
+  </parent>
+  
+  
+  <artifactId>showmethemoney-api</artifactId>  
+  
+  <name>Geronimo Samples :: OSGI Sample :: showmethemoney-api</name>    
+  <packaging>bundle</packaging>
+  
+  <build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<configuration>
+					<instructions>
+						<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>  
+</project>

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/api/ShowMoneyService.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/api/ShowMoneyService.java?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/api/ShowMoneyService.java (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/api/ShowMoneyService.java Thu Dec  2 06:46:09 2010
@@ -0,0 +1,25 @@
+/**
+ *  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.
+ */
+package org.apache.geronimo.samples.osgi.showmethemoney.api;
+
+public interface ShowMoneyService {
+    
+    public String showmoney();
+    
+    public String startup();
+
+}

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/api/ShowMoneyService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/api/ShowMoneyService.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/api/ShowMoneyService.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/pom.xml?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/pom.xml (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/pom.xml Thu Dec  2 06:46:09 2010
@@ -0,0 +1,56 @@
+<?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.
+-->
+
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <artifactId>showmethemoney</artifactId>
+    <groupId>org.apache.geronimo.samples.osgi.showmethemoney</groupId>
+    <version>3.0-SNAPSHOT</version> 
+  </parent>
+  
+  <artifactId>showmethemoney-server</artifactId>  
+  
+  <name>Geronimo Samples :: OSGI Sample :: showmethemoney-server</name>    
+  <packaging>bundle</packaging>
+  
+   <dependencies>
+        <dependency>
+                <groupId>org.apache.geronimo.samples.osgi.showmethemoney.api</groupId>
+                <artifactId>showmethemoney-api</artifactId>
+                <version>${project.version}</version>
+        </dependency>
+    </dependencies>
+  
+  <build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<configuration>
+					<instructions>
+						<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+</project>

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/server/ShowMoney.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/server/ShowMoney.java?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/server/ShowMoney.java (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/server/ShowMoney.java Thu Dec  2 06:46:09 2010
@@ -0,0 +1,56 @@
+/**
+ *  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.
+ */
+package org.apache.geronimo.samples.osgi.showmethemoney.server;
+
+import org.apache.geronimo.samples.osgi.showmethemoney.api.ShowMoneyService;
+
+public class ShowMoney implements ShowMoneyService{
+    public String showmoney() {
+        return "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "                    $$$                            \n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n" +
+        	   "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n";
+    }
+    
+    public String startup() {
+        return "======>>> Showing Me The Money";
+    }
+
+}

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/server/ShowMoney.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/server/ShowMoney.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/server/ShowMoney.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/blueprint/config.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/blueprint/config.xml?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/blueprint/config.xml (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/blueprint/config.xml Thu Dec  2 06:46:09 2010
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+        <!--
+                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.
+        -->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+
+        <bean id="showmoneyservice"
+                class="org.apache.geronimo.samples.osgi.showmethemoney.server.ShowMoney">
+        </bean>
+
+        <service ref="showmoneyservice"
+                interface="org.apache.geronimo.samples.osgi.showmethemoney.api.ShowMoneyService" />
+
+</blueprint>

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/blueprint/config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/blueprint/config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/src/main/resources/OSGI-INF/blueprint/config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/pom.xml?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/pom.xml (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/pom.xml Thu Dec  2 06:46:09 2010
@@ -0,0 +1,75 @@
+<?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.
+-->
+
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <artifactId>showmethemoney</artifactId>
+    <groupId>org.apache.geronimo.samples.osgi.showmethemoney</groupId>
+    <version>3.0-SNAPSHOT</version>
+  </parent>
+  
+  <artifactId>showmethemoney-web</artifactId>
+  <name>Geronimo Samples :: OSGI Sample :: showmethemoney-web</name>  
+  <packaging>war</packaging>
+  
+  <dependencies>
+        <dependency>
+                <groupId>org.apache.geronimo.samples.osgi.showmethemoney.api</groupId>
+                <artifactId>showmethemoney-api</artifactId> 
+                <version>${project.version}</version>              
+                <scope>provided</scope>
+        </dependency>
+         <dependency>
+                <groupId>org.apache.geronimo.samples.osgi.showmethemoney.server</groupId>
+                <artifactId>showmethemoney-server</artifactId>
+                <version>${project.version}</version>           
+                <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-servlet_3.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.1_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+ 
+    <build> 
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>                
+            </plugin>
+        </plugins>
+    </build>
+
+   
+  
+</project>

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/web/ShowMoneyServlet.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/web/ShowMoneyServlet.java?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/web/ShowMoneyServlet.java (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/web/ShowMoneyServlet.java Thu Dec  2 06:46:09 2010
@@ -0,0 +1,77 @@
+/**
+ *  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.
+ */
+package org.apache.geronimo.samples.osgi.showmethemoney.web;
+
+import java.io.PrintWriter;
+import java.io.IOException;
+import javax.servlet.ServletException;
+import java.lang.reflect.Method;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.ServiceReference;
+
+import javax.annotation.Resource;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NameClassPair;
+import javax.naming.NamingException;
+import javax.naming.NamingEnumeration;
+import javax.naming.Binding;
+
+import org.apache.geronimo.samples.osgi.showmethemoney.api.ShowMoneyService;
+
+/**
+ * Show me the money!
+ *
+ */
+public class ShowMoneyServlet extends HttpServlet
+{
+    @Resource
+    private BundleContext bundleContext;
+    
+       
+    @Override
+    protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
+       PrintWriter pw = res.getWriter();       
+       
+       ServiceReference sr = bundleContext.getServiceReference(ShowMoneyService.class.getName());
+       if (sr != null) {
+           ShowMoneyService sm = (ShowMoneyService) bundleContext.getService(sr);
+           pw.println(sm.startup()); 
+           bundleContext.ungetService(sr);
+       }
+       
+       try {
+           InitialContext ctx = new InitialContext();
+           Context ctx2 = (Context) ctx.lookup("osgi:service");
+           ShowMoneyService sm = (ShowMoneyService)ctx2.lookup("org.apache.geronimo.samples.osgi.showmethemoney.api.ShowMoneyService");
+           pw.println(sm.showmoney()); 
+       } catch (NamingException e){
+           pw.println(e.toString());
+       }   
+     
+    }
+
+    @Override
+    protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
+        doGet(req, res);
+    }
+}

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/web/ShowMoneyServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/web/ShowMoneyServlet.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/java/org/apache/geronimo/samples/osgi/showmethemoney/web/ShowMoneyServlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/geronimo-web.xml?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/geronimo-web.xml (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/geronimo-web.xml Thu Dec  2 06:46:09 2010
@@ -0,0 +1,40 @@
+<?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.
+-->
+<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" 
+         xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2" 
+         xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" 
+         xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+  <sys:environment>
+    <sys:moduleId>
+      <sys:groupId>org.apache.geronimo.samples.osgi.showmoney</sys:groupId>
+      <sys:artifactId>showmoney-osgi</sys:artifactId>
+      <sys:version>${version}</sys:version>
+      <sys:type>car</sys:type>
+    </sys:moduleId>
+    <sys:dependencies/>
+    <sys:hidden-classes/>
+    <sys:non-overridable-classes/>
+  </sys:environment>
+
+  <context-root>/showmoney</context-root>
+
+</web-app>

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/web.xml?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/web.xml Thu Dec  2 06:46:09 2010
@@ -0,0 +1,38 @@
+<?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.
+-->
+
+<web-app version="2.5"
+         xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+    <description>Show Me The Money Servlet Sample</description>
+    <servlet>
+        <servlet-name>ShowMoneyServlet</servlet-name>
+        <servlet-class>org.apache.geronimo.samples.osgi.showmethemoney.web.ShowMoneyServlet</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>ShowMoneyServlet</servlet-name>
+        <url-pattern>/showmoney</url-pattern>
+    </servlet-mapping>    
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+    </welcome-file-list>
+</web-app>

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/header.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/header.html?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/header.html (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/header.html Thu Dec  2 06:46:09 2010
@@ -0,0 +1,57 @@
+<!--
+   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.
+-->
+
+<html>
+<head>
+    <link type="text/css" rel="stylesheet" href="http://geronimo.apache.org/style/default.css">
+    <link rel="SHORTCUT ICON" href="http://geronimo.apache.org/images/favicon.ico">
+    <script src="http://geronimo.apache.org/functions.js" type="text/javascript"></script>
+    <title>Apache Geronimo Sample Applications</title>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+</head>
+
+<body onload="init()">
+
+<table valign="top" background="http://geronimo.apache.org/images/header_bg_1x86.gif" border="0" cellpadding="0" cellspacing="0" width="100%">
+    <tbody>
+        <tr>
+            <td valing="top" align="left">
+                <a href="http://geronimo.apache.org/"><img src="http://geronimo.apache.org/images/topleft_logo_437x64.gif" border="0"></a>
+            </td>
+            <td width="100%">
+                &nbsp;
+            </td>
+        </tr>
+    </tbody>
+</table>
+
+<table border="0" cellpadding="2" cellspacing="0" width="100%">
+    <tbody>
+        <tr class="topBar">
+            <td class="topBarDiv" align="left" nowrap="true" valign="middle" width="100%">
+                &nbsp;<a href="http://geronimo.apache.org/" title="Apache Geronimo Home" target="_blank">Apache Geronimo Home</a> | <a href="http://cwiki.apache.org/geronimo/" title="Geronimo Documentation" target="_blank">Documentation</a>
+                | <a href="http://cwiki.apache.org/GMOxSAMPLES/" title="Sample Applications" target="_blank">Sample Applications</a>
+            </td>
+            <td class="topBarDiv" align="left" nowrap="true" valign="middle">
+                <!--<a href="xref/index.html" target="source_window">Source Code</a> | <a href="apidocs/index.html" target="source_window">Java Docs</a>&nbsp;&nbsp;-->
+            </td>
+        </tr>
+    </tbody>
+</table>
+
+</body>
+</html>
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/index.html?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/index.html (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/index.html Thu Dec  2 06:46:09 2010
@@ -0,0 +1,29 @@
+<!--
+   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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd class="cell"">
+<html>
+<head>
+    <title>Apache Geronimo Sample Application</title>
+    <meta content="text/html; CHARSET=iso-8859-1" http-equiv="Content-Type">
+</head>
+
+<FRAMESET rows="86px,*" frameborder="0">
+    <FRAME src="./header.html" name="headerFrame" title="Header" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="no">
+    <FRAME src="./showmoney.jsp" name="sampleDocumentFrame" title="Order Management System" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="no">
+</FRAMESET>
+
+</html>

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/showmoney.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/showmoney.jsp?rev=1041291&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/showmoney.jsp (added)
+++ geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/showmoney.jsp Thu Dec  2 06:46:09 2010
@@ -0,0 +1,32 @@
+<!--
+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.
+-->
+<HTML>
+<HEAD><TITLE>Welcome</TITLE></HEAD>
+<BODY>
+<div div=true align="center">
+    <strong><H2>Show Me The Money</H2><br><br><br></strong>
+
+    <FORM method="POST" action="showmoney">        
+        <BR><BR>
+        <INPUT type="submit" value="Show Me The Money">
+        <!--<INPUT type="reset" value="Cancel">-->
+    </FORM>
+</div>
+</BODY>
+</HTML>
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/showmoney.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/showmoney.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/osgi/showmethemoney/showmethemoney-web/src/main/webapp/showmoney.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain