geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r497879 [2/3] - in /geronimo/samples: ./ trunk/ trunk/calculator-stateless-pojo/ trunk/calculator-stateless-pojo/calculator-stateless-ear/ trunk/calculator-stateless-pojo/calculator-stateless-ear/src/ trunk/calculator-stateless-pojo/calcula...
Date Fri, 19 Jan 2007 17:11:05 GMT
Added: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/header.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/header.html?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/header.html (added)
+++ geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/header.html Fri Jan 19 09:11:01 2007
@@ -0,0 +1,69 @@
+<!--
+   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>A Stateless Session Sample - Calculator</title>
+  <meta content="text/html; CHARSET=iso-8859-1" http-equiv="Content-Type">
+</head>
+<body leftmargin="0" topmargin="0" bgcolor="#ffffff" marginwidth="0" marginheight="0" text="#000000" link="#000000" vlink="#666666">
+<table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://geronimo.apache.org/images/header_bg_1x86.gif">
+  <tr>
+    <td class="cell" valing="top" align="left"><img src="http://geronimo.apache.org/images/topleft_logo_437x64.gif" border="0"></td>
+    <td class="cell" width="100%">&nbsp;</td>
+    <td class="cell" valign="top" align="right"><img src="http://geronimo.apache.org/images/subnav_angle_15x18.gif" width="15" height="18" alt="" border="0"></td>
+    <td class="cell" valign="top" align="right"><a href="http://mail-archives.apache.org/mod_mbox/geronimo-user/">
+      <img src="http://geronimo.apache.org/images/subnav_userlist_55x18.gif" width="55" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://mail-archives.apache.org/mod_mbox/geronimo-dev/">
+      <img src="http://geronimo.apache.org/images/subnav_devlist_59x18.gif" width="59" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://cwiki.apache.org/geronimo">
+      <img src="http://geronimo.apache.org/images/subnav_wiki_39x18.gif" width="39" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://issues.apache.org/jira/browse/GERONIMO">
+      <img src="http://geronimo.apache.org/images/subnav_issue_83x18.gif" width="83" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://www.epiqtech.com"><img src="http://geronimo.apache.org/images/subnav_graph_95x18.gif" width="95" height="18" alt="" border="0"></a></td>
+  </tr>
+</table>
+<table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://geronimo.apache.org/images/menu_bgstretch_1x22.gif">
+    <tr align="left">
+        <td valign="top">
+            <a href="index.html"><img src="http://geronimo.apache.org/images/menu_home_off_63x19.gif" width="63" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="documentation.html"><img src="http://geronimo.apache.org/images/menu_doc_off_116x19.gif" width="116" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="downloads.html"><img src="http://geronimo.apache.org/images/menu_download_off_85x19.gif" width="85" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="get-involved.html"><img src="http://geronimo.apache.org/images/menu_comm_off_96x19.gif" width="96" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="development.html"><img src="http://geronimo.apache.org/images/menu_dev_off_104x19.gif" width="104" height="19" border="0"></a>
+        </td>
+        <td width="95%">
+                &nbsp;
+        </td>
+        <td valign="top" align="right">
+            <a href="xref/index.html" target="source_window"><img src="./images/menu_src_off_116x19.gif" width="116" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="right">
+            <a href="apidocs/index.html" target="javadoc_window"><img src="./images/menu_javadoc_off_116x19.gif" width="116" height="19" border="0"></a>
+        </td>
+    </tr>
+</table>
+</BODY>
+</HTML>

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/images/menu_javadoc_off_116x19.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/images/menu_javadoc_off_116x19.gif?view=auto&rev=497879
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/images/menu_javadoc_off_116x19.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/images/menu_src_off_116x19.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/images/menu_src_off_116x19.gif?view=auto&rev=497879
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/images/menu_src_off_116x19.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/index.html?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/index.html (added)
+++ geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/index.html Fri Jan 19 09:11:01 2007
@@ -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>A Stateless Session Sample - Calculator</title>
+  <meta content="text/html; CHARSET=iso-8859-1" http-equiv="Content-Type">
+</head>
+
+<FRAMESET rows="12%,90%" title="" frameborder="no">
+    <FRAME src="./header.html" name="headerFrame" title="Header">
+    <FRAME src="./sample-docu.jsp" name="sampleDocumentFrame" title="Sample Document Description">
+</FRAMESET>
+  
+</html>

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/install-sample.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/install-sample.html?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/install-sample.html (added)
+++ geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/install-sample.html Fri Jan 19 09:11:01 2007
@@ -0,0 +1,125 @@
+<!--
+   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>Installing a Geronimo sample/title>
+  <meta content="text/html; CHARSET=iso-8859-1" http-equiv="Content-Type">
+  </style>
+</head>
+
+<body leftmargin="0" topmargin="0" bgcolor="#ffffff" marginwidth="0" marginheight="0" text="#000000" link="#000000" vlink="#666666">
+<table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://geronimo.apache.org/images/header_bg_1x86.gif">
+  <tr>
+    <td class="cell" valing="top" align="left"><img src="http://geronimo.apache.org/images/topleft_logo_437x64.gif" border="0"></td>
+    <td class="cell" width="100%">&nbsp;</td>
+    <td class="cell" valign="top" align="right"><img src="http://geronimo.apache.org/images/subnav_angle_15x18.gif" width="15" height="18" alt="" border="0"></td>
+    <td class="cell" valign="top" align="right"><a href="http://mail-archives.apache.org/mod_mbox/geronimo-user/">
+      <img src="http://geronimo.apache.org/images/subnav_userlist_55x18.gif" width="55" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://mail-archives.apache.org/mod_mbox/geronimo-dev/">
+      <img src="http://geronimo.apache.org/images/subnav_devlist_59x18.gif" width="59" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://cwiki.apache.org/geronimo">
+      <img src="http://geronimo.apache.org/images/subnav_wiki_39x18.gif" width="39" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://issues.apache.org/jira/browse/GERONIMO">
+      <img src="http://geronimo.apache.org/images/subnav_issue_83x18.gif" width="83" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://www.epiqtech.com"><img src="http://geronimo.apache.org/images/subnav_graph_95x18.gif" width="95" height="18" alt="" border="0"></a></td>
+  </tr>
+</table>
+<table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://geronimo.apache.org/images/menu_bgstretch_1x22.gif">
+    <tr align="left">
+        <td valign="top">
+            <a href="index.html"><img src="http://geronimo.apache.org/images/menu_home_off_63x19.gif" width="63" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="documentation.html"><img src="http://geronimo.apache.org/images/menu_doc_off_116x19.gif" width="116" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="downloads.html"><img src="http://geronimo.apache.org/images/menu_download_off_85x19.gif" width="85" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="get-involved.html"><img src="http://geronimo.apache.org/images/menu_comm_off_96x19.gif" width="96" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="development.html"><img src="http://geronimo.apache.org/images/menu_dev_off_104x19.gif" width="104" height="19" border="0"></a>
+        </td>
+        <td width="100%">
+                &nbsp;
+        </td>
+    </tr>
+</table>
+
+  <font face="Verdana, Helvetica, Arial">
+<H2>Installing a Geronimo sample</H2>
+
+  <font style="font-size:12px">
+  There are 2 ways to play with a Geronimo sample.
+  <UL>
+    <LI>install a readily available sample binary. This requires a Geronimo server to be running.
+    <LI>build the sample and install it. This requires Maven v2.0.4. 
+    The sample thus built will be deployed for you on an already running server or on a server that will be downloaded.
+  </UL>
+  </FONT>
+
+  <H3>1. Installing an available sample binary</H3>
+  <font style="font-size:12px">
+  <OL>Steps:
+  <LI>Download the sample binary
+  <LI>go to the ${geronimoHome}/bin directory. It is the directory where you have the Geronimo server unpacked.
+  <LI>start the server using <CODE>startServer.bat</CODE> or <CODE>startServer.sh</CODE>
+  <LI>deploy the downloaded sample binary using <CODE>deploy.bat --user system --password manager deploy /path/to/sample/binary/sample.ear</CODE>
+  <LI>open a browser and go to the sample's context root.
+  </OL>
+  </FONT>
+
+  
+  <H3>2. Building a sample from source</H3>
+  <font style="font-size:12px">
+    This will give you an opportunity to play with the source code. The build will also deploy the sample application into a Geronimo server.
+    You may choose an already unpacked and/or running server to deploy this sample application.
+    <p>
+    Alternatively, you may let the build download the latest Geronimo binary and unpack it.
+    By default, a downloaded server binary will be unpacked into the sample project's <CODE>target</CODE> directory.
+    Or you may choose a different installation directory.
+    <p> 
+    You may let the build download the geronimo binary from a remote repository or point it to an already downloaded binary.
+    <P>
+    By default, it will download a Geronimo binary with the jetty webcontainer. You may however choose the Geronimo binary with the tomcat webcontainer.
+  
+  <OL>Steps:
+  <LI>if you don't have Maven v2.0.4 already, download that from <A HREF="http://maven.apache.org/download.html">Apache's maven</A> site. Add maven's bin directory to your path.
+  <LI>Download the sample source zip and unpack it. 
+    <I>If your platform is Windows, it is recommended that you unpack the zip in a directory quite close to the root to prevent a Windows restriction on long path name.</I>
+  <LI>go to the directory where the sample source code has been unpacked
+  <LI>execute the command <b><CODE>mvn site</CODE</B>
+  <LI>execute the command <b><CODE>mvn</CODE></B>
+      <UL>Some optional arguments:
+          <LI>-DgeronimoHome: path to directory where a server has already been unpacked.
+          <p><LI>-DinstallDirectory: path to directory where a server has to be unpacked. If one already exists there, a later one, if available, will be downloaded and installed.
+          If a later binary isn't available, the existing server is started.  If one doesn't exist, then the downloaded one will be unpacked here.
+          <p><LI>-DassemblyId: [jetty | tomcat] by default, Geronimo with the <I>jetty</I> webcontainer will be downloaded and started. Set the value of this to <I>tomcat</I> for the tomcat webcontainer.
+          <p><LI>-DassemblyArchive: path to an assembly archive already downloaded.<P>
+      </UL>
+  <LI>start the server using <CODE>startServer.bat</CODE> or <CODE>startServer.sh</CODE>
+  <LI>open a browser and go to the sample's context root.
+  </OL>
+  </FONT>
+
+
+  </FONT>
+
+</body>
+</html>

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/install-sample.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/install-sample.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/install-sample.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp (added)
+++ geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp Fri Jan 19 09:11:01 2007
@@ -0,0 +1,99 @@
+<!--
+   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"">
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
+<html>
+<head>
+  <title>A Stateless Session Sample - Calculator</title>
+  <meta content="text/html; CHARSET=iso-8859-1" http-equiv="Content-Type">
+  <style type="text/css">
+  .header  { background-color:aqua; text-align:center }
+  .cell    { text-align:center } 
+  </style>
+</head>
+
+<BODY>
+  <font face="Verdana, Helvetica, Arial">
+<FORM ACTION="/calculator" method="get">
+  <h2>A Stateless Session Sample</H2>
+  <H3>Calculator</h2>
+  <font style="font-size:12px">
+  <p>
+  This sample shows an EJB 3.0 Stateless session bean.
+  </p>
+  <table cols="4" border="3" id="mainTable" cellpadding="0">
+    <thead id="mainTableHead">
+    <tr>
+      <td class="header">First Number</td>
+      <td class="header">Second Number</td>
+      <td class="header">Operation</td>
+      <td class="header">Result</td>
+    </tr>
+    </thead>
+    <tr>
+      <td class="cell">
+        <INPUT TYPE="text" name="firstNumber" value="1">
+      </td>
+      <td class="cell">
+        <INPUT TYPE="text" name="secondNumber" value="1">
+      </td>
+      <td class="cell">
+        <INPUT TYPE="submit" name="operation" value="add">
+        <BR>
+        <INPUT TYPE="submit" name="operation" value="multiply">
+      </td>
+      <td class="cell"><%=request.getAttribute("result")%></td>
+    </tr>
+  </table>
+</FORM>
+  <P>
+  This sample demonstrates the following new features from EJB 3.0
+  <OL>
+    <LI>Elimination of the requirement for EJB component interfaces for session beans. The required
+business interface for a session bean can be a plain Java interface rather than an EJBObject,
+EJBLocalObject, or java.rmi.Remote interface.
+    <LI>Elimination of the requirement for home interfaces for session beans.
+    <LI>Encapsulation of environmental dependencies and JNDI access through the use of annotations,
+dependency injection mechanisms, and simple lookup mechanisms.
+    <LI>Introduction of Java metadata annotations to be used as an alternative to deployment descriptors.
+  </OL>
+  <P>
+  </FONT>
+  <H3>A POJO as a business interface</H3>
+  <font style="font-size:12px">
+  Notice the stateless session bean <A HREF="./xref/org/apache/geronimo/samples/slsb/calculator/Calculator.html" target="source_window"><CODE>Calculator.java</CODE></A> implements
+  just a simple java interface and not an EJB component interface like EJBObject, EJBLocalObject or java.rmi.Remote.
+  </FONT>
+  
+  <H3>Dependency Injection</H3>
+  <font style="font-size:12px">
+  The servlet <A HREF="./xref/org/apache/geronimo/samples/calculator/CalculatorServlet.html" target="source_window"><CODE>CalculatorServlet.java</CODE></A> declares an instance variable
+  whose type is the same as the business interface of the session bean. In earlier versions, the servlet would have done a JNDI lookup of the bean's home interface in the
+  component's environment. It then would have had to create the instance using the create method of the home interface. However, with Java EE 5.0, the servlet can just declare
+  its dependency on the bean by just annotating the instance variable with the @EJB annotation. At runtime, when the servlet instance is created, the container injects
+  (or provides) an instance of an object that implements the business interface. 
+  </FONT>
+  
+  <H3>No deployment descriptor</H3>
+  <font style="font-size:12px">
+  Notice the absence of the traditional deployment descriptor, <CODE>ejb-jar.xml</CODE>. The bean declarations that used to be done there are now done by the
+  annotations in the code.
+  </FONT>
+
+  </FONT>
+</body>
+</html>

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/calculator-stateless-pojo/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/pom.xml?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/calculator-stateless-pojo/pom.xml (added)
+++ geronimo/samples/trunk/calculator-stateless-pojo/pom.xml Fri Jan 19 09:11:01 2007
@@ -0,0 +1,120 @@
+<?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>samples</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+    <artifactId>calculator-stateless-pojo</artifactId>
+    <name>Geronimo Samples :: Stateless Session :: Calculator</name>
+    <packaging>pom</packaging>
+    
+    <description>
+        Geronimo Samples for a servlet referencing a stateless session bean using dependency injection.
+    </description>
+    
+    <modules>
+        <module>calculator-stateless-ejb</module>
+        <module>calculator-stateless-war</module>
+        <module>calculator-stateless-ear</module>
+    </modules>
+
+    <reporting>
+        <plugins>
+          <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-project-info-reports-plugin</artifactId>
+                <version>2.0.1</version>
+                <reportSets>
+                     <reportSet>
+                        <reports>
+                        </reports>
+                     </reportSet>
+                  </reportSets>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.2-SNAPSHOT</version>
+                <inherited>false</inherited>
+                <configuration>
+                    <aggregate>true</aggregate>
+                    <minmemory>128m</minmemory>
+                    <maxmemory>512</maxmemory>
+                    <breakiterator>true</breakiterator>
+                    <quiet>true</quiet>
+                    <verbose>false</verbose>
+                    <source>1.5</source>
+                    <linksource>true</linksource>
+                    <links>
+                        <!-- JSE -->
+                        <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+                        <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
+                        <link>http://java.sun.com/j2se/1.3/docs/api/</link>
+                        
+                        <!-- JEE -->
+                        <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
+                        <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/</link>
+                        
+                        <!-- Libraries -->
+                        <link>http://jakarta.apache.org/commons/collections/apidocs</link>
+                        <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
+                        <link>http://www.junit.org/junit/javadoc/</link>
+                        <link>http://logging.apache.org/log4j/docs/api/</link>
+                        <link>http://jakarta.apache.org/regexp/apidocs/</link>
+                        <link>http://jakarta.apache.org/velocity/api/</link>
+                    </links>
+                </configuration>
+            </plugin>
+             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jxr-plugin</artifactId>
+                <version>2.0</version>
+                <inherited>false</inherited>
+                <configuration>
+                  <aggregate>true</aggregate>
+                </configuration>
+            </plugin>
+        </plugins>
+    </reporting>
+
+    <repositories>
+        <repository>
+            <id>apache-snapshots</id>
+            <name>Apache Snapshots Repository</name>
+            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>true</enabled>
+                <updatePolicy>daily</updatePolicy>
+                <checksumPolicy>ignore</checksumPolicy>
+            </snapshots>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+        </repository>
+    </repositories>
+
+</project>

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/calculator-stateless-pojo/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/geronimo-samples-archetype/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/pom.xml?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/pom.xml (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/pom.xml Fri Jan 19 09:11:01 2007
@@ -0,0 +1,42 @@
+<?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>samples</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>geronimo-samples-archetype</artifactId>
+    <name>Geronimo Maven2 Plugins :: Samples Archetype</name>
+    <packaging>maven-plugin</packaging>
+    
+    <description> Plugin to help create a samples project</description>
+
+</project>
+

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

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

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

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/META-INF/archetype.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/META-INF/archetype.xml?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/META-INF/archetype.xml (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/META-INF/archetype.xml Fri Jan 19 09:11:01 2007
@@ -0,0 +1,45 @@
+<?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$ -->
+
+
+<archetype>
+    <id>samples</id>
+    <resources>
+        <resource>README.txt</resource>
+        <resource>pom.xml</resource>
+        <resource>install-sample.html</resource>
+        <resource>sample-ear/pom.xml</resource>
+        <resource>sample-ejb/pom.xml</resource>
+        <resource>sample-ear/src/main/resources/META-INF/geronimo-application.xml</resource>
+        <resource>sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBean.java</resource>
+        <resource>sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanLocal.java</resource>
+        <resource>sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanRemote.java</resource>
+        <resource>sample-war/pom.xml</resource>
+        <resource>sample-war/src/main/java/org/apache/geronimo/samples/servlets/SampleServlet.java</resource>
+        <resource>sample-war/src/main/webapp/header.html</resource>
+        <resource>sample-war/src/main/webapp/index.html</resource>
+        <resource>sample-war/src/main/webapp/sample-docu.jsp</resource>
+        <resource>sample-war/src/main/webapp/images/menu_javadoc_off_116x19.gif</resource>
+        <resource>sample-war/src/main/webapp/images/menu_src_off_116x19.gif</resource>
+        <resource>sample-war/src/main/webapp/WEB-INF/web.xml</resource>
+    </resources>
+</archetype>

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/META-INF/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/META-INF/archetype.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/META-INF/archetype.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/README.txt
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/README.txt?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/README.txt (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/README.txt Fri Jan 19 09:11:01 2007
@@ -0,0 +1,29 @@
+Congrats ! You have successfully created a samples project template.
+
+At the very least, it is recommended that you do the following 2 changes.
+1. change the default directory names of sample-ear, sample-ejb and sample-war to be 
+   ${artifactId}-ear, ${artifactId}-ejb and ${artifactId}-war.
+
+   For eg: the value of the -DartifactId in your archetype:create command was ${artifactId}, so you should have
+   ${artifactId}/${artifactId}-ear
+   ${artifactId}/${artifactId}-war
+   ${artifactId}/${artifactId}-ejb.
+   
+
+2. If you made the change above, then you will also have to edit the ${artifactId}/pom.xml and 
+   appropriately change the values in <modules> element to reflect the above change.
+
+   For eg:
+   <modules>
+  -    <module>sample-ejb</module>
+  -    <module>sample-war</module>
+  -    <module>sample-ear</module>
+  +    <module>${artifactId}-ejb</module>
+  +    <module>${artifactId}-war</module>
+  +    <module>${artifactId}-ear</module>
+   </modules>
+
+
+Some other optional changes can be in the names of the java files in the ejb and war project modules. 
+Change the names of these java files appropriately to suit your sample.
+Remember to keep the web.xml in synch with any changes you make here.

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/README.txt
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/README.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html Fri Jan 19 09:11:01 2007
@@ -0,0 +1,125 @@
+<!--
+   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>Installing a Geronimo sample/title>
+  <meta content="text/html; CHARSET=iso-8859-1" http-equiv="Content-Type">
+  </style>
+</head>
+
+<body leftmargin="0" topmargin="0" bgcolor="#ffffff" marginwidth="0" marginheight="0" text="#000000" link="#000000" vlink="#666666">
+<table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://geronimo.apache.org/images/header_bg_1x86.gif">
+  <tr>
+    <td class="cell" valing="top" align="left"><img src="http://geronimo.apache.org/images/topleft_logo_437x64.gif" border="0"></td>
+    <td class="cell" width="100%">&nbsp;</td>
+    <td class="cell" valign="top" align="right"><img src="http://geronimo.apache.org/images/subnav_angle_15x18.gif" width="15" height="18" alt="" border="0"></td>
+    <td class="cell" valign="top" align="right"><a href="http://mail-archives.apache.org/mod_mbox/geronimo-user/">
+      <img src="http://geronimo.apache.org/images/subnav_userlist_55x18.gif" width="55" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://mail-archives.apache.org/mod_mbox/geronimo-dev/">
+      <img src="http://geronimo.apache.org/images/subnav_devlist_59x18.gif" width="59" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://cwiki.apache.org/geronimo">
+      <img src="http://geronimo.apache.org/images/subnav_wiki_39x18.gif" width="39" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://issues.apache.org/jira/browse/GERONIMO">
+      <img src="http://geronimo.apache.org/images/subnav_issue_83x18.gif" width="83" height="18" alt="" border="0"></a></td>
+    <td class="cell" valign="top" align="right"><a href="http://www.epiqtech.com"><img src="http://geronimo.apache.org/images/subnav_graph_95x18.gif" width="95" height="18" alt="" border="0"></a></td>
+  </tr>
+</table>
+<table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://geronimo.apache.org/images/menu_bgstretch_1x22.gif">
+    <tr align="left">
+        <td valign="top">
+            <a href="index.html"><img src="http://geronimo.apache.org/images/menu_home_off_63x19.gif" width="63" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="documentation.html"><img src="http://geronimo.apache.org/images/menu_doc_off_116x19.gif" width="116" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="downloads.html"><img src="http://geronimo.apache.org/images/menu_download_off_85x19.gif" width="85" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="get-involved.html"><img src="http://geronimo.apache.org/images/menu_comm_off_96x19.gif" width="96" height="19" border="0"></a>
+        </td>
+        <td valign="top" align="left">
+            <a href="development.html"><img src="http://geronimo.apache.org/images/menu_dev_off_104x19.gif" width="104" height="19" border="0"></a>
+        </td>
+        <td width="100%">
+                &nbsp;
+        </td>
+    </tr>
+</table>
+
+  <font face="Verdana, Helvetica, Arial">
+<H2>Installing a Geronimo sample</H2>
+
+  <font style="font-size:12px">
+  There are 2 ways to play with a Geronimo sample.
+  <UL>
+    <LI>install a readily available sample binary. This requires a Geronimo server to be running.
+    <LI>build the sample and install it. This requires Maven v2.0.4. 
+    The sample thus built will be deployed for you on an already running server or on a server that will be downloaded.
+  </UL>
+  </FONT>
+
+  <H3>1. Installing an available sample binary</H3>
+  <font style="font-size:12px">
+  <OL>Steps:
+  <LI>Download the sample binary
+  <LI>go to the ${geronimoHome}/bin directory. It is the directory where you have the Geronimo server unpacked.
+  <LI>start the server using <CODE>startServer.bat</CODE> or <CODE>startServer.sh</CODE>
+  <LI>deploy the downloaded sample binary using <CODE>deploy.bat --user system --password manager deploy /path/to/sample/binary/sample.ear</CODE>
+  <LI>open a browser and go to the sample's context root.
+  </OL>
+  </FONT>
+
+  
+  <H3>2. Building a sample from source</H3>
+  <font style="font-size:12px">
+    This will give you an opportunity to play with the source code. The build will also deploy the sample application into a Geronimo server.
+    You may choose an already unpacked and/or running server to deploy this sample application.
+    <p>
+    Alternatively, you may let the build download the latest Geronimo binary and unpack it.
+    By default, a downloaded server binary will be unpacked into the sample project's <CODE>target</CODE> directory.
+    Or you may choose a different installation directory.
+    <p> 
+    You may let the build download the geronimo binary from a remote repository or point it to an already downloaded binary.
+    <P>
+    By default, it will download a Geronimo binary with the jetty webcontainer. You may however choose the Geronimo binary with the tomcat webcontainer.
+  
+  <OL>Steps:
+  <LI>if you don't have Maven v2.0.4 already, download that from <A HREF="http://maven.apache.org/download.html">Apache's maven</A> site. Add maven's bin directory to your path.
+  <LI>Download the sample source zip and unpack it. 
+    <I>If your platform is Windows, it is recommended that you unpack the zip in a directory quite close to the root to prevent a Windows restriction on long path name.</I>
+  <LI>go to the directory where the sample source code has been unpacked
+  <LI>execute the command <b><CODE>mvn site</CODE</B>
+  <LI>execute the command <b><CODE>mvn</CODE></B>
+      <UL>Some optional arguments:
+          <LI>-DgeronimoHome: path to directory where a server has already been unpacked.
+          <p><LI>-DinstallDirectory: path to directory where a server has to be unpacked. If one already exists there, a later one, if available, will be downloaded and installed.
+          If a later binary isn't available, the existing server is started.  If one doesn't exist, then the downloaded one will be unpacked here.
+          <p><LI>-DassemblyId: [jetty | tomcat] by default, Geronimo with the <I>jetty</I> webcontainer will be downloaded and started. Set the value of this to <I>tomcat</I> for the tomcat webcontainer.
+          <p><LI>-DassemblyArchive: path to an assembly archive already downloaded.<P>
+      </UL>
+  <LI>start the server using <CODE>startServer.bat</CODE> or <CODE>startServer.sh</CODE>
+  <LI>open a browser and go to the sample's context root.
+  </OL>
+  </FONT>
+
+
+  </FONT>
+
+</body>
+</html>

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/pom.xml?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/pom.xml (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/pom.xml Fri Jan 19 09:11:01 2007
@@ -0,0 +1,124 @@
+<?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>samples</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+    
+    <artifactId>${artifactId}</artifactId>
+    <name>Geronimo Samples :: ${artifactId}</name>
+    <packaging>pom</packaging>
+    
+    <description>
+        Geronimo ${artifactId} sample created from an archetype.
+    </description>
+    
+   <modules>
+        <module>${artifactId}-ejb</module>
+        <module>${artifactId}-war</module>
+        <module>${artifactId}-ear</module>
+    </modules>
+
+    <reporting>
+        <plugins>
+          <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-project-info-reports-plugin</artifactId>
+                <version>2.0.1</version>
+                <reportSets>
+                     <reportSet>
+                        <reports>
+                        </reports>
+                     </reportSet>
+                  </reportSets>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.2-SNAPSHOT</version>
+                <inherited>false</inherited>
+                <configuration>
+                    <aggregate>true</aggregate>
+                    <minmemory>128m</minmemory>
+                    <maxmemory>512</maxmemory>
+                    <breakiterator>true</breakiterator>
+                    <quiet>true</quiet>
+                    <verbose>false</verbose>
+                    <source>1.5</source>
+                    <linksource>true</linksource>
+                    <links>
+                        <!-- JSE -->
+                        <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+                        <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
+                        <link>http://java.sun.com/j2se/1.3/docs/api/</link>
+                        
+                        <!-- JEE -->
+                        <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
+                        <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/</link>
+                        
+                        <!-- Libraries -->
+                        <link>http://jakarta.apache.org/commons/collections/apidocs</link>
+                        <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
+                        <link>http://www.junit.org/junit/javadoc/</link>
+                        <link>http://logging.apache.org/log4j/docs/api/</link>
+                        <link>http://jakarta.apache.org/regexp/apidocs/</link>
+                        <link>http://jakarta.apache.org/velocity/api/</link>
+                    </links>
+                </configuration>
+            </plugin>
+             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jxr-plugin</artifactId>
+                <version>2.0</version>
+                <inherited>false</inherited>
+                <configuration>
+                  <aggregate>true</aggregate>
+                </configuration>
+            </plugin>
+        </plugins>
+    </reporting>
+
+    <repositories>
+        <repository>
+            <id>apache-snapshots</id>
+            <name>Apache Snapshots Repository</name>
+            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>true</enabled>
+                <updatePolicy>daily</updatePolicy>
+                <checksumPolicy>ignore</checksumPolicy>
+            </snapshots>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+        </repository>
+    </repositories> 
+
+</project>

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml Fri Jan 19 09:11:01 2007
@@ -0,0 +1,120 @@
+<?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>${artifactId}</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>${artifactId}-ear</artifactId>
+    <name>Geronimo Samples :: ${artifactId} :: EAR</name>
+    <packaging>ear</packaging>
+
+    <description>Geronimo Samples. EAR Module</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>${pom.artifactId}-ejb</artifactId>
+            <version>${version}</version>
+            <type>ejb</type>
+        </dependency>
+        
+        <dependency>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>$(pom.artifactId}-war</artifactId>
+            <version>${pom.version}</version>
+            <type>war</type>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>${pom.basedir}/src/main/resources</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+
+        <plugins>
+            <plugin>
+                <artifactId>maven-ear-plugin</artifactId>
+                <configuration>
+                    <displayName>Geronimo Sample EAR for Stateless Session</displayName>
+                    <description>Geronimo Sample EAR for Stateless Session</description>
+                    <version>5</version>
+                    <modules>
+                        <webModule>
+                            <groupId>${pom.groupId}</groupId>
+                            <artifactId>$(pom.artifactid}-war</artifactId>
+                            <contextRoot>/${artifactId}</contextRoot>
+                            <bundleFileName>$(pom.artifactid}-war-${pom.version}.war</bundleFileName>
+                        </webModule>
+
+                        <ejbModule>
+                            <groupId>${pom.groupId}</groupId>
+                            <artifactId>${pom.artifactId}-ejb</artifactId>
+                            <bundleFileName>${pom.artifactId}-ejb-${pom.version}.jar</bundleFileName>
+                        </ejbModule>
+                    </modules>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.geronimo.plugins</groupId>
+                <artifactId>geronimo-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>start-server</id>
+                        <phase>install</phase>
+                        <goals>
+                            <goal>start</goal>
+                        </goals>
+                        <configuration>
+                            <background>true</background>
+                        </configuration>
+                    </execution>
+
+                    <execution>
+                        <id>deploy-ears</id>
+                        <phase>install</phase>
+                        <goals>
+                            <goal>deploy-module</goal>
+                        </goals>
+                        <configuration>
+                            <moduleArchive>${project.build.directory}/${pom.artifactId}-${pom.version}.ear</moduleArchive>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>
+

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/src/main/resources/META-INF/geronimo-application.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/src/main/resources/META-INF/geronimo-application.xml?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/src/main/resources/META-INF/geronimo-application.xml (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/src/main/resources/META-INF/geronimo-application.xml Fri Jan 19 09:11:01 2007
@@ -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-1.2">
+
+    <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
+        <moduleId>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>${pom.artifactId}</artifactId>
+            <version>${version}</version>
+            <type>ear</type>
+        </moduleId>
+    </environment>
+
+</application>

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/src/main/resources/META-INF/geronimo-application.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/src/main/resources/META-INF/geronimo-application.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/src/main/resources/META-INF/geronimo-application.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/pom.xml?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/pom.xml (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/pom.xml Fri Jan 19 09:11:01 2007
@@ -0,0 +1,42 @@
+<?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>${artifactId}</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>${artifactId}-ejb</artifactId>
+    <name>Geronimo Samples :: ${artifactId} :: EJB JAR</name>
+    <packaging>jar</packaging>
+
+    <description>Geronimo Samples. EJB Module</description>
+
+
+</project>
+

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBean.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBean.java?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBean.java (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBean.java Fri Jan 19 09:11:01 2007
@@ -0,0 +1,30 @@
+/**
+ *  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.ejb;
+
+import javax.ejb.*;
+
+/**
+ * ???
+ *
+ */
+public class SampleBean implements SampleBeanLocal, SampleBeanRemote {
+
+}

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanLocal.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanLocal.java?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanLocal.java (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanLocal.java Fri Jan 19 09:11:01 2007
@@ -0,0 +1,30 @@
+/**
+ *  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.ejb;
+
+import javax.ejb.*;
+
+/**
+ * ???
+ *
+ */
+public interface SampleLocal {
+
+}

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanLocal.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanLocal.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanLocal.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanRemote.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanRemote.java?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanRemote.java (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanRemote.java Fri Jan 19 09:11:01 2007
@@ -0,0 +1,30 @@
+/**
+ *  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.ejb;
+
+import javax.ejb.*;
+
+/**
+ * ???
+ *
+ */
+public interface SampleBeanRemote {
+
+}

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanRemote.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanRemote.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/java/org/apache/geronimo/samples/ejb/SampleBeanRemote.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/pom.xml?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/pom.xml (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/pom.xml Fri Jan 19 09:11:01 2007
@@ -0,0 +1,89 @@
+<?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>${artifactId}</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>${artifactId}-war</artifactId>
+    <name>Geronimo Samples :: ${artifactId} :: Samples WAR</name>
+    <packaging>war</packaging>
+
+    <description>Geronimo Samples. WEB Module</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>${pom.artifactId}-ejb</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+    </dependencies>
+    
+    <build>
+        <plugins>
+            <!--
+            FIXME: Need to reset the default values here since out parent sets up wars
+                   for use with jspc.  Remove once parent pom has been fixed.
+            -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <webXml>${pom.basedir}/src/main/webapp/WEB-INF/web.xml</webXml>
+                </configuration>
+            </plugin>
+
+            <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}-${pom.version}" failonerror="false" overwrite="true">
+                                    <fileset dir="${pom.basedir}/../target/site"/>
+                                </copy>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
+
+
+</project>
+

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/java/org/apache/geronimo/samples/servlets/SampleServlet.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/java/org/apache/geronimo/samples/servlets/SampleServlet.java?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/java/org/apache/geronimo/samples/servlets/SampleServlet.java (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/java/org/apache/geronimo/samples/servlets/SampleServlet.java Fri Jan 19 09:11:01 2007
@@ -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.
+ */
+
+package org.apache.geronimo.samples.servlets;
+
+import javax.ejb.*;
+import javax.servlet.*;
+import javax.servlet.http.*;
+
+import org.apache.geronimo.samples.ejb.*;
+
+/**
+ * ???
+ *
+ */
+public class SampleServlet implements HttpServlet {
+
+    @EJB
+    private SampleBeanLocal sb;
+
+}

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/java/org/apache/geronimo/samples/servlets/SampleServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/java/org/apache/geronimo/samples/servlets/SampleServlet.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/java/org/apache/geronimo/samples/servlets/SampleServlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/webapp/WEB-INF/web.xml?view=auto&rev=497879
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-war/src/main/webapp/WEB-INF/web.xml Fri Jan 19 09:11:01 2007
@@ -0,0 +1,39 @@
+<?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="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>${artifactId} Servlet Sample</description>
+    <servlet>
+        <servlet-name>Sample</servlet-name>
+        <servlet-class>org.apache.geronimo.samples.servlets.SampleServlet</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>Sample</servlet-name>
+        <url-pattern>/sample</url-pattern>
+    </servlet-mapping>
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+    </welcome-file-list>
+
+</web-app>

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

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

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



Mime
View raw message