geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r941190 - in /geronimo/samples/trunk/samples/javaee6: ./ ejbtimer-javaee6/ ejbtimer-javaee6/ejbtimer-javaee6-jetty/ ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/ ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/ ejbtimer-javaee6/ejbtimer-jav...
Date Wed, 05 May 2010 08:00:53 GMT
Author: xiaming
Date: Wed May  5 08:00:52 2010
New Revision: 941190

URL: http://svn.apache.org/viewvc?rev=941190&view=rev
Log:
GERONIMO-5276 A sample to demo EJB timer feature patch from Guang Zhe Wang

Added:
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/pom.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/plan/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/plan/plan.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/pom.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/plan/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/plan/plan.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/pom.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/Log.java   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/showLog.java   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/logFacade.java   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/scheduleTask.java   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_eclipselink.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_hibernate.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_openjpa.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/web.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/header.html   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/index.html   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/intro.html   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/pom.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/report.txt   (with props)
Modified:
    geronimo/samples/trunk/samples/javaee6/pom.xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/pom.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/pom.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/pom.xml Wed May  5 08:00:52 2010
@@ -0,0 +1,126 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<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.apache.geronimo.samples</groupId>
+        <artifactId>ejbtimer-javaee6</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>ejbtimer-javaee6-jetty</artifactId>
+    <name>Geronimo Samples :: ejbtimer-javaee6 Plugin for Jetty</name>
+    <packaging>car</packaging>
+
+    <description>Geronimo Samples. ejbtimer-javaee6 Plugin for Jetty</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>ejbtimer-javaee6-ear</artifactId>
+            <version>3.0-SNAPSHOT</version>
+            <type>ear</type>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>${jetty}-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>openejb-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>persistence-jpa20-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>${pom.basedir}/src/main/resources</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+        
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.buildsupport</groupId>
+                <artifactId>car-maven-plugin</artifactId>
+                <configuration>
+                    <deploymentConfigs>
+                        <deploymentConfig>${gbeanDeployer}</deploymentConfig>
+                        <deploymentConfig>${j2eeDeployer}</deploymentConfig>
+                        <deploymentConfig>${jettyDeployer}</deploymentConfig>
+                        <deploymentConfig>${jasperDeployer}</deploymentConfig>
+                        <deploymentConfig>${openejbDeployer}</deploymentConfig>
+                        <deploymentConfig>${jpaDeployer}</deploymentConfig>
+                    </deploymentConfigs>
+                    <module>
+                        <groupId>org.apache.geronimo.samples</groupId>
+                        <artifactId>ejbtimer-javaee6-ear</artifactId>
+                        <version>3.0-SNAPSHOT</version>
+                        <type>ear</type>
+                    </module>
+                    <useMavenDependencies>
+                        <value>true</value>
+                        <includeVersion>true</includeVersion>
+                    </useMavenDependencies>
+                    <category>Sample</category>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
+

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/plan/plan.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/plan/plan.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/plan/plan.xml Wed May  5 08:00:52 2010
@@ -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.
+-->
+
+<!-- $Rev$ $Date$ -->
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-2.0">
+
+   <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
+      <dep:moduleId>
+         <dep:groupId>${pom.groupId}</dep:groupId>
+         <dep:artifactId>${pom.artifactId}</dep:artifactId>
+         <dep:version>3.0-SNAPSHOT</dep:version>
+         <dep:type>car</dep:type>
+      </dep:moduleId>
+
+   </dep:environment>
+   
+</application>

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-jetty/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/pom.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/pom.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/pom.xml Wed May  5 08:00:52 2010
@@ -0,0 +1,126 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<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.apache.geronimo.samples</groupId>
+        <artifactId>ejbtimer-javaee6</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>ejbtimer-javaee6-tomcat</artifactId>
+    <name>Geronimo Samples :: ejbtimer-javaee6 Plugin for Tomcat</name>
+    <packaging>car</packaging>
+
+    <description>Geronimo Samples. ejbtimer-javaee6 Plugin for Tomcat</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>ejbtimer-javaee6-ear</artifactId>
+            <version>3.0-SNAPSHOT</version>
+            <type>ear</type>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>tomcat7-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>openejb-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>persistence-jpa20-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>${pom.basedir}/src/main/resources</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+        
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.buildsupport</groupId>
+                <artifactId>car-maven-plugin</artifactId>
+                <configuration>
+                    <deploymentConfigs>
+                        <deploymentConfig>${gbeanDeployer}</deploymentConfig>
+                        <deploymentConfig>${j2eeDeployer}</deploymentConfig>
+                        <deploymentConfig>${tomcatDeployer}</deploymentConfig>
+                        <deploymentConfig>${jasperDeployer}</deploymentConfig>
+                        <deploymentConfig>${openejbDeployer}</deploymentConfig>
+                        <deploymentConfig>${jpaDeployer}</deploymentConfig>
+                    </deploymentConfigs>
+                    <module>
+                        <groupId>org.apache.geronimo.samples</groupId>
+                        <artifactId>ejbtimer-javaee6-ear</artifactId>
+                        <version>3.0-SNAPSHOT</version>
+                        <type>ear</type>
+                    </module>
+                    <useMavenDependencies>
+                        <value>true</value>
+                        <includeVersion>true</includeVersion>
+                    </useMavenDependencies>
+                    <category>Sample</category>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    
+</project>
+

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/plan/plan.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/plan/plan.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/plan/plan.xml Wed May  5 08:00:52 2010
@@ -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.
+-->
+
+<!-- $Rev$ $Date$ -->
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-2.0">
+
+   <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
+      <dep:moduleId>
+         <dep:groupId>${pom.groupId}</dep:groupId>
+         <dep:artifactId>${pom.artifactId}</dep:artifactId>
+         <dep:version>3.0-SNAPSHOT</dep:version>
+         <dep:type>car</dep:type>
+      </dep:moduleId>
+
+   </dep:environment>
+   
+</application>

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/pom.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/pom.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/pom.xml Wed May  5 08:00:52 2010
@@ -0,0 +1,181 @@
+<?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.
+	-->
+
+	<!--
+		$Rev$ $Date$
+	-->
+
+<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.apache.geronimo.samples</groupId>
+		<artifactId>ejbtimer-javaee6</artifactId>
+		<version>3.0-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>ejbtimer-javaee6-war</artifactId>
+	<name>Geronimo Samples :: ejbtimer-javaee6 :: WAR</name>
+	<packaging>war</packaging>
+
+	<description>Geronimo Samples. WEB Module</description>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<id>copy-parent-site</id>
+						<goals>
+							<goal>run</goal>
+						</goals>
+						<configuration>
+							<tasks>
+								<echo>Copying site directory from parent</echo>
+								<copy
+									todir="${project.build.directory}/${pom.artifactId}-3.0-SNAPSHOT"
+									failonerror="false" overwrite="true">
+									<fileset dir="${pom.basedir}/../docs" />
+								</copy>
+							</tasks>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-jpa_2.0_spec</artifactId>
+			<scope>provided</scope>
+		</dependency>
+	</dependencies>
+	
+		<profiles>
+		<profile>
+			<id>openjpa</id>
+			<activation>
+				<activeByDefault>true</activeByDefault>
+			</activation>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-antrun-plugin</artifactId>
+						<executions>
+							<execution>
+								<phase>process-resources</phase>
+								<id>rename-persistence-file</id>
+								<goals>
+									<goal>run</goal>
+								</goals>
+								<configuration>
+									<tasks>
+										<echo>Rename persistence-openjpa.xml to persistence.xml</echo>
+										<copy
+											file="${basedir}/src/main/resources/META-INF/persistence_openjpa.xml"
+											tofile="${project.build.directory}/${pom.artifactId}-${version}/WEB-INF/classes/META-INF/persistence.xml"
+											overwrite="true" />
+									</tasks>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+		<profile>
+			<id>hibernate</id>
+			<activation>
+				<activeByDefault>false</activeByDefault>
+				<property>
+					<name>JPAProvider</name>
+					<value>hibernate</value>
+				</property>
+			</activation>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-antrun-plugin</artifactId>
+						<executions>
+							<execution>
+								<phase>process-resources</phase>
+								<id>rename-persistence-file</id>
+								<goals>
+									<goal>run</goal>
+								</goals>
+								<configuration>
+									<tasks>
+										<echo>Rename persistence-hibernate.xml to persistence.xml</echo>
+										<copy
+											file="${basedir}/src/main/resources/META-INF/persistence_hibernate.xml"
+											tofile="${project.build.directory}/${pom.artifactId}-${version}/WEB-INF/classes/META-INF/persistence.xml"
+											overwrite="true" />
+									</tasks>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+		<profile>
+			<id>eclipselink</id>
+			<activation>
+				<activeByDefault>false</activeByDefault>
+				<property>
+					<name>JPAProvider</name>
+					<value>eclipselink</value>
+				</property>
+			</activation>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-antrun-plugin</artifactId>
+						<executions>
+							<execution>
+								<phase>process-resources</phase>
+								<id>rename-persistence-file</id>
+								<goals>
+									<goal>run</goal>
+								</goals>
+								<configuration>
+									<tasks>
+										<echo>Rename persistence-eclipselink.xml to persistence.xml</echo>
+										<copy
+											file="${basedir}/src/main/resources/META-INF/persistence_eclipselink.xml"
+											tofile="${project.build.directory}/${pom.artifactId}-${version}/WEB-INF/classes/META-INF/persistence.xml"
+											overwrite="true" />
+									</tasks>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
+</project>

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/Log.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/Log.java?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/Log.java (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/Log.java Wed May  5 08:00:52 2010
@@ -0,0 +1,84 @@
+/**
+   Licensed 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.javaee6.ejbtimer.entity;
+
+import java.io.Serializable;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+
+
+@Entity
+public class Log implements Serializable {
+	private static final long serialVersionUID = 1L;
+	@Id
+	@GeneratedValue(strategy = GenerationType.AUTO)
+	private Long id;
+	String createTime;
+	String event;
+
+	public String getCreateTime() {
+		return createTime;
+	}
+
+	public void setCreateTime(String createTime) {
+		this.createTime = createTime;
+	}
+
+	public String getEvent() {
+		return event;
+	}
+
+	public void setEvent(String event) {
+		this.event = event;
+	}
+
+	public Long getId() {
+		return id;
+	}
+
+	public void setId(Long id) {
+		this.id = id;
+	}
+
+	@Override
+	public int hashCode() {
+		int hash = 0;
+		hash += (id != null ? id.hashCode() : 0);
+		return hash;
+	}
+
+	@Override
+	public boolean equals(Object object) {
+		// TODO: Warning - this method won't work in the case the id fields are
+		// not set
+		if (!(object instanceof Log)) {
+			return false;
+		}
+		Log other = (Log) object;
+		if ((this.id == null && other.id != null)
+				|| (this.id != null && !this.id.equals(other.id))) {
+			return false;
+		}
+		return true;
+	}
+
+	@Override
+	public String toString() {
+		return "com.test.entity.Log[id=" + id + "]";
+	}
+
+}

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/Log.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/Log.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/Log.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/showLog.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/showLog.java?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/showLog.java (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/showLog.java Wed May  5 08:00:52 2010
@@ -0,0 +1,124 @@
+/**
+   Licensed 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.javaee6.ejbtimer.servlets;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.List;
+import javax.ejb.EJB;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.geronimo.samples.javaee6.ejbtimer.entity.Log;
+import org.apache.geronimo.samples.javaee6.ejbtimer.sessionBean.logFacade;
+
+@WebServlet(name = "showLog", urlPatterns = { "/showLog" })
+public class showLog extends HttpServlet {
+
+	@EJB
+	private logFacade facade;
+
+	/**
+	 * Processes requests for both HTTP <code>GET</code> and <code>POST</code>
+	 * methods.
+	 * 
+	 * @param request
+	 *            servlet request
+	 * @param response
+	 *            servlet response
+	 * @throws ServletException
+	 *             if a servlet-specific error occurs
+	 * @throws IOException
+	 *             if an I/O error occurs
+	 */
+	protected void processRequest(HttpServletRequest request,
+			HttpServletResponse response) throws ServletException, IOException {
+		response.setContentType("text/html;charset=UTF-8");
+		PrintWriter out = response.getWriter();
+		try {
+			out.println("<html>");
+			out.println("<head>");
+			out.println("<title>Servlet showLog</title>");
+			out.println("</head>");
+			out.println("<body>");
+			out.println("<h1>Currently,there are " + facade.count()
+					+ " log records.</h1>");
+			List<Log> logList = facade.findAll();
+			out.println("<table border=1>");
+			out.println("<tr><th>Log ID</th><th>Event Time</th><th>Event</th></tr>");
+			for (Log log : logList) {
+				out.println("<tr><td>" + log.getId() + "</td><td>"
+						+ log.getCreateTime() + "</td><td>" + log.getEvent()
+						+ "</td></tr>");
+			}
+			out.println("</table>");
+			out.println("</body>");
+			out.println("</html>");
+
+		} finally {
+			out.close();
+		}
+	}
+
+	// <editor-fold defaultstate="collapsed"
+	// desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
+	/**
+	 * Handles the HTTP <code>GET</code> method.
+	 * 
+	 * @param request
+	 *            servlet request
+	 * @param response
+	 *            servlet response
+	 * @throws ServletException
+	 *             if a servlet-specific error occurs
+	 * @throws IOException
+	 *             if an I/O error occurs
+	 */
+	@Override
+	protected void doGet(HttpServletRequest request,
+			HttpServletResponse response) throws ServletException, IOException {
+		processRequest(request, response);
+	}
+
+	/**
+	 * Handles the HTTP <code>POST</code> method.
+	 * 
+	 * @param request
+	 *            servlet request
+	 * @param response
+	 *            servlet response
+	 * @throws ServletException
+	 *             if a servlet-specific error occurs
+	 * @throws IOException
+	 *             if an I/O error occurs
+	 */
+	@Override
+	protected void doPost(HttpServletRequest request,
+			HttpServletResponse response) throws ServletException, IOException {
+		processRequest(request, response);
+	}
+
+	/**
+	 * Returns a short description of the servlet.
+	 * 
+	 * @return a String containing servlet description
+	 */
+	@Override
+	public String getServletInfo() {
+		return "Short description";
+	}// </editor-fold>
+}

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/showLog.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/showLog.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/showLog.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/logFacade.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/logFacade.java?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/logFacade.java (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/logFacade.java Wed May  5 08:00:52 2010
@@ -0,0 +1,45 @@
+/**
+   Licensed 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.javaee6.ejbtimer.sessionBean;
+
+import java.util.List;
+import javax.ejb.Stateless;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+import javax.persistence.Query;
+import javax.persistence.criteria.CriteriaQuery;
+import javax.persistence.criteria.Root;
+
+import org.apache.geronimo.samples.javaee6.ejbtimer.entity.Log;
+
+@Stateless
+public class logFacade {
+
+	@PersistenceContext(unitName = "EJBTimerPU")
+	private EntityManager em;
+
+	public List<Log> findAll() {
+		CriteriaQuery cq = em.getCriteriaBuilder().createQuery();
+		cq.select(cq.from(Log.class));
+		return em.createQuery(cq).getResultList();
+	}
+
+	public int count() {
+		CriteriaQuery cq = em.getCriteriaBuilder().createQuery();
+		Root<Log> rt = cq.from(Log.class);
+		cq.select(em.getCriteriaBuilder().count(rt));
+		Query q = em.createQuery(cq);
+		return ((Long) q.getSingleResult()).intValue();
+	}
+}

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/logFacade.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/logFacade.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/logFacade.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/scheduleTask.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/scheduleTask.java?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/scheduleTask.java (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/scheduleTask.java Wed May  5 08:00:52 2010
@@ -0,0 +1,106 @@
+/**
+   Licensed 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.javaee6.ejbtimer.sessionBean;
+
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.Iterator;
+import java.util.List;
+import javax.ejb.Schedule;
+import javax.ejb.Stateless;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+import javax.persistence.Query;
+import javax.persistence.criteria.CriteriaQuery;
+import javax.persistence.criteria.Root;
+
+import org.apache.geronimo.samples.javaee6.ejbtimer.entity.Log;
+
+@Stateless
+public class scheduleTask {
+
+	@PersistenceContext(unitName = "EJBTimerPU")
+	private EntityManager em;
+	
+	@Schedule(minute = "*/3",hour = "*")
+	public void beginNew() {
+		clearLogs();
+		logIntoDB("Begin new logs in the next 3 minutes.");
+	}
+
+	@Schedule(second = "*/7", minute = "*", hour = "*")
+	public void test_automatic_timer() {
+		logIntoDB("Every 7 seconds,backup the system");
+	}
+
+	// wake you up everyMorning at 7:50 from Monday to Friday
+
+	@Schedule(minute = "50", hour = "7", dayOfWeek = "Mon,Tue,Wed,Thu,Fri")
+	public void wakeup() {
+		logIntoDB("wake you up@7:50");
+	}
+
+	@Schedule(minute = "*/2", hour = "*")
+	public void backup() {
+		logIntoDB("Send a mail every two minites");
+	}
+
+	@Schedule(second = "*/15", minute = "*", hour = "*")
+	public void attack() {
+		logIntoDB("Try to connect or attack a website every 15 seconds");
+	}
+
+	@Schedule(hour = "14", dayOfMonth = "last")
+	public void cleanup() {
+		logIntoDB("clean up all the dirty info in DB at 2:00pm of the end of month");
+	}
+
+	@Schedule(hour = "15/1", dayOfWeek = "Sat,Sun")
+	public void nofifyFifteen() {
+		logIntoDB("On Sat and Sunday,from 3:00 pm, you will get notified every hour ");
+	}
+
+	// Fool friends at each April 1st.
+
+	@Schedule(dayOfMonth = "1", month = "Apr")
+	public void foolFriends() {
+		logIntoDB("Today is fool's day.All your friends will get this information");
+	}
+
+	public void logIntoDB(String event) {
+		Date dt = new Date();
+		DateFormat df = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
+		String nowTime = df.format(dt);
+		Log log = new Log();
+		log.setCreateTime(nowTime);
+		log.setEvent(event);
+		System.out.println("event");
+		em.persist(log);
+	}
+	
+	public void clearLogs() {
+		Query query = em.createQuery("select l from Log l");
+		List result = query.getResultList();
+		Iterator<Log> iterator = result.iterator();
+		while (iterator.hasNext()) {
+			Log log = iterator.next();
+			em.remove(log);
+		}
+		em.flush();
+		logIntoDB("Logs of the last 3 minutes have been cleared.");
+	}
+
+}

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/scheduleTask.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/scheduleTask.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/scheduleTask.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_eclipselink.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_eclipselink.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_eclipselink.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_eclipselink.xml Wed May  5 08:00:52 2010
@@ -0,0 +1,36 @@
+<?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.
+-->
+
+<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
+  <persistence-unit name="EJBTimerPU" transaction-type="JTA">
+    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
+    <class>org.apache.geronimo.samples.javaee6.ejbtimer.entity.Log</class>
+    <exclude-unlisted-classes>true</exclude-unlisted-classes>
+    <properties>
+      <property name="eclipselink.jdbc.platform" value="org.eclipse.persistence.platform.database.DerbyPlatform"/>
+      <property name="eclipselink.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
+      <property name="eclipselink.target-database" value="Derby"/>            
+      <property name="eclipselink.jdbc.url" value="jdbc:derby://localhost:1527/ejbtimerdb;create=true"/>
+      <property name="eclipselink.jdbc.user" value="app"/>
+      <property name="eclipselink.jdbc.password" value="app"/>
+      <property name="eclipselink.logging.level" value="FINEST"/>            
+      <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
+      <property name="eclipselink.ddl-generation.output-mode" value="database"/>      
+    </properties>
+  </persistence-unit>
+</persistence>

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_eclipselink.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_eclipselink.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_eclipselink.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_hibernate.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_hibernate.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_hibernate.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_hibernate.xml Wed May  5 08:00:52 2010
@@ -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.
+-->
+
+<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
+  <persistence-unit name="EJBTimerPU" transaction-type="JTA">
+    <provider>org.hibernate.ejb.HibernatePersistence</provider>
+    <class>org.apache.geronimo.samples.javaee6.ejbtimer.entity.Log</class>
+    <exclude-unlisted-classes>true</exclude-unlisted-classes>
+    <properties>
+      <property name="hibernate.connection.driver_class" value="org.apache.derby.jdbc.ClientDriver"/>
+      <property name="hibernate.connection.url" value="jdbc:derby://localhost:1527/ejbtimerdb"/>
+      <property name="hibernate.connection.username" value="APP"/>
+      <property name="hibernate.connection.password" value="APP"/>
+      <property name="hibernate.dialect" value="org.hibernate.dialect.DerbyDialect"/>
+      <property name="hibernate.show_sql" value="true"/>
+      <property name="hibernate.hbm2ddl.auto" value="create"/>
+    </properties>
+  </persistence-unit>
+</persistence>

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_hibernate.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_hibernate.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_hibernate.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_openjpa.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_openjpa.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_openjpa.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_openjpa.xml Wed May  5 08:00:52 2010
@@ -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.
+-->
+<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
+  <persistence-unit name="EJBTimerPU" transaction-type="JTA">
+    <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>    
+    <class>org.apache.geronimo.samples.javaee6.ejbtimer.entity.Log</class>
+    <exclude-unlisted-classes>true</exclude-unlisted-classes>
+    <properties>
+      <property name="openjpa.jdbc.DBDictionary " value="derby"/>
+      <property name="openjpa.ConnectionURL" value="jdbc:derby://localhost:1527/ejbtimerdb"/>
+      <property name="openjpa.ConnectionDriverName" value="org.apache.derby.jdbc.ClientDriver"/>
+      <property name="openjpa.ConnectionUserName" value="app"/>
+      <property name="openjpa.ConnectionPassword" value="app"/>      
+      <property name="openjpa.Sequence" value="table(Table=OPENJPASEQ, Increment=1)"/>      
+      <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
+      <property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO"/>      
+    </properties>
+  </persistence-unit>
+</persistence>
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_openjpa.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_openjpa.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_openjpa.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml Wed May  5 08:00:52 2010
@@ -0,0 +1,36 @@
+
+	<!--
+		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</sys:groupId>
+			<sys:artifactId>ejbtimer-javaee6</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>/ejbtimer-javaee6</context-root>
+
+</web-app>

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

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

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

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/web.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/WEB-INF/web.xml Wed May  5 08:00:52 2010
@@ -0,0 +1,32 @@
+<?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.
+	-->
+
+	<!--
+		$Rev$ $Date$
+	-->
+
+<web-app version="3.0" 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_3_0.xsd"
+	metadata-complete="false" id="cviewer-javaee6">
+
+	<description>${pom.name}</description>
+	<welcome-file-list>
+		<welcome-file>index.html</welcome-file>
+	</welcome-file-list>
+
+</web-app>

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

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

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

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/header.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/header.html?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/header.html (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/header.html Wed May  5 08:00:52 2010
@@ -0,0 +1,65 @@
+<!--
+   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/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/index.html?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/index.html (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/index.html Wed May  5 08:00:52 2010
@@ -0,0 +1,27 @@
+<!--
+   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="./intro.html" name="jaxwsSampleFrame" title="JAX-WS sample" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="yes">
+</FRAMESET>
+</html>

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/intro.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/intro.html?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/intro.html (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/intro.html Wed May  5 08:00:52 2010
@@ -0,0 +1,39 @@
+<!--
+   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 HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title></title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+<body>
+<h2>This sample demonstrate improved timer feature in EJB 3.1.<br>
+you can schedule your tasks using linux-cron-like style</h2>
+<h3>In this case,we have predifined a few tasks for you.</h3>
+<ul>
+	<li>Every 7 seconds,backup the system</li>
+	<li>Wake you up@7:50 everyday</li>
+	<li>Send a mail every two minutes</li>
+	<li>Try to connect or attack a website every 15 seconds</li>
+	<li>Clean up all the dirty info in DB at 2:00pm of the end of
+	month</li>
+	<li>Get notified every hour on Sat and Sunday,from 3:00 pm</li>
+	<li>Fool your friends on each April fool's day</li>
+</ul>
+<a href="showLog">Check the log list</a>
+</body>
+</html>

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/intro.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/intro.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/ejbtimer-javaee6-war/src/main/webapp/intro.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/pom.xml?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/pom.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/pom.xml Wed May  5 08:00:52 2010
@@ -0,0 +1,81 @@
+<?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.
+	-->
+
+	<!--
+		$Rev$ $Date$
+	-->
+
+<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.apache.geronimo.samples</groupId>
+		<artifactId>javaee6</artifactId>
+		<version>3.0-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>ejbtimer-javaee6</artifactId>
+	<name>Geronimo Samples :: ejbtimer-javaee6</name>
+	<packaging>pom</packaging>
+	<version>3.0-SNAPSHOT</version>
+
+	<description>
+        Geronimo ejbtimer-javaee6 sample created from an archetype.
+    </description>
+
+
+	<build>
+		<plugins>
+			<plugin>
+				<artifactId>maven-site-plugin</artifactId>
+				<inherited>false</inherited>
+				<configuration>
+					<outputDirectory>${project.basedir}/docs</outputDirectory>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+	<profiles>
+		<profile>
+			<id>default</id>
+			<activation>
+				<activeByDefault>true</activeByDefault>
+			</activation>
+			<modules>
+				<module>ejbtimer-javaee6-war</module>
+				<module>ejbtimer-javaee6-jetty</module>
+				<module>ejbtimer-javaee6-tomcat</module>
+			</modules>
+		</profile>
+		<profile>
+			<id>no-plugin</id>
+			<activation>
+				<activeByDefault>false</activeByDefault>
+				<property>
+					<name>buildPlugin</name>
+					<value>false</value>
+				</property>
+			</activation>
+			<modules>
+				<module>ejbtimer-javaee6-war</module>
+			</modules>
+		</profile>
+	</profiles>
+</project>

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/report.txt
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/report.txt?rev=941190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/report.txt (added)
+++ geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/report.txt Wed May  5 08:00:52 2010
@@ -0,0 +1,54 @@
+
+*****************************************************
+Summary
+-------
+Notes: 0
+Binaries: 0
+Archives: 0
+Standards: 18
+
+Apache Licensed: 18
+Generated Documents: 0
+
+JavaDocs are generated and so license header is optional
+Generated files do not required license headers
+
+0 Unknown Licenses
+
+*******************************
+
+Unapproved licenses:
+
+
+*******************************
+
+Archives:
+
+*****************************************************
+  Files with Apache License headers will be marked AL
+  Binary files (which do not require AL headers) will be marked B
+  Compressed archives will be marked A
+  Notices, licenses etc will be marked N
+  AL    ./pom.xml
+  AL    ./ejbtimer-javaee6-jetty/pom.xml
+  AL    ./ejbtimer-javaee6-jetty/src/main/plan/plan.xml
+  AL    ./ejbtimer-javaee6-tomcat/pom.xml
+  AL    ./ejbtimer-javaee6-tomcat/src/main/plan/plan.xml
+  AL    ./ejbtimer-javaee6-war/pom.xml
+  AL    ./ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/entity/Log.java
+  AL    ./ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/servlets/showLog.java
+  AL    ./ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/logFacade.java
+  AL    ./ejbtimer-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/ejbtimer/sessionBean/scheduleTask.java
+  AL    ./ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_eclipselink.xml
+  AL    ./ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_hibernate.xml
+  AL    ./ejbtimer-javaee6-war/src/main/resources/META-INF/persistence_openjpa.xml
+  AL    ./ejbtimer-javaee6-war/src/main/webapp/header.html
+  AL    ./ejbtimer-javaee6-war/src/main/webapp/index.html
+  AL    ./ejbtimer-javaee6-war/src/main/webapp/intro.html
+  AL    ./ejbtimer-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml
+  AL    ./ejbtimer-javaee6-war/src/main/webapp/WEB-INF/web.xml
+ 
+ *****************************************************
+ Printing headers for files without AL header...
+ 
+ 
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/report.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/report.txt
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/ejbtimer-javaee6/report.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/samples/trunk/samples/javaee6/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/pom.xml?rev=941190&r1=941189&r2=941190&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/pom.xml (original)
+++ geronimo/samples/trunk/samples/javaee6/pom.xml Wed May  5 08:00:52 2010
@@ -158,6 +158,7 @@
                 <module>cviewer-javaee6</module>
                 <module>jpa20demo-javaee6</module>
                 <module>fileupload-javaee6</module>
+                <module>ejbtimer-javaee6</module>
                 <module>converter-javaee6</module>
                 <module>jarresource-javaee6</module>
                 <module>webfragment-javaee6</module>
@@ -176,10 +177,11 @@
                 <module>cviewer-javaee6</module>
                 <module>jpa20demo-javaee6</module>
                 <module>fileupload-javaee6</module>
+                <module>ejbtimer-javaee6</module>
                 <module>converter-javaee6</module>
                 <module>jarresource-javaee6</module>
                 <module>webfragment-javaee6</module>
             </modules>
         </profile>
     </profiles>  
-</project>
+</project>
\ No newline at end of file



Mime
View raw message