Author: shane.bryzak(a)jboss.com
Date: 2009-12-06 18:05:29 -0500 (Sun, 06 Dec 2009)
New Revision: 11764
Added:
modules/remoting/trunk/examples/model/
modules/remoting/trunk/examples/model/pom.xml
modules/remoting/trunk/examples/model/src/
modules/remoting/trunk/examples/model/src/main/
modules/remoting/trunk/examples/model/src/main/java/
modules/remoting/trunk/examples/model/src/main/java/org/
modules/remoting/trunk/examples/model/src/main/java/org/jboss/
modules/remoting/trunk/examples/model/src/main/java/org/jboss/seam/
modules/remoting/trunk/examples/model/src/main/java/org/jboss/seam/remoting/
modules/remoting/trunk/examples/model/src/main/java/org/jboss/seam/remoting/examples/
modules/remoting/trunk/examples/model/src/main/java/org/jboss/seam/remoting/examples/model/
modules/remoting/trunk/examples/model/src/main/webapp/
modules/remoting/trunk/examples/model/src/main/webapp/WEB-INF/
modules/remoting/trunk/examples/model/src/main/webapp/WEB-INF/beans.xml
modules/remoting/trunk/examples/model/src/main/webapp/WEB-INF/web.xml
modules/remoting/trunk/examples/model/src/main/webapp/index.html
modules/remoting/trunk/examples/model/src/main/webapp/model.html
Log:
add skeleton for model example
Added: modules/remoting/trunk/examples/model/pom.xml
===================================================================
--- modules/remoting/trunk/examples/model/pom.xml (rev 0)
+++ modules/remoting/trunk/examples/model/pom.xml 2009-12-06 23:05:29 UTC (rev 11764)
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<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.jboss.seam.examples</groupId>
+ <artifactId>seam-examples-parent</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.jboss.seam.remoting.examples</groupId>
+ <artifactId>remoting-model</artifactId>
+ <packaging>war</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+ <name>Seam Remoting Examples: Model</name>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>codehaus snapshot repository</id>
+ <
url>http://snapshots.repository.codehaus.org/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <dependencies>
+ <!--dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <scope>test</scope>
+ <classifier>jdk15</classifier>
+ </dependency-->
+
+ <dependency>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ <scope>provided</scope>
+ <version>1.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>seam-remoting</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ </dependency>
+
+ </dependencies>
+
+</project>
+
Added: modules/remoting/trunk/examples/model/src/main/webapp/WEB-INF/beans.xml
===================================================================
Added: modules/remoting/trunk/examples/model/src/main/webapp/WEB-INF/web.xml
===================================================================
--- modules/remoting/trunk/examples/model/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++ modules/remoting/trunk/examples/model/src/main/webapp/WEB-INF/web.xml 2009-12-06
23:05:29 UTC (rev 11764)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<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">
+
+ <display-name>Seam Remoting Model example</display-name>
+
+ <servlet>
+ <servlet-name>Remoting Servlet</servlet-name>
+ <servlet-class>org.jboss.seam.remoting.Remoting</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Remoting Servlet</servlet-name>
+ <url-pattern>/seam/resource/remoting/*</url-pattern>
+ </servlet-mapping>
+
+ <session-config>
+ <session-timeout>10</session-timeout>
+ </session-config>
+
+</web-app>
+
Added: modules/remoting/trunk/examples/model/src/main/webapp/index.html
===================================================================
--- modules/remoting/trunk/examples/model/src/main/webapp/index.html
(rev 0)
+++ modules/remoting/trunk/examples/model/src/main/webapp/index.html 2009-12-06 23:05:29
UTC (rev 11764)
@@ -0,0 +1,6 @@
+<html>
+ <head>
+ <meta http-equiv="Refresh" content="0; URL=model.html"/>
+ </head>
+</html>
+
Added: modules/remoting/trunk/examples/model/src/main/webapp/model.html
===================================================================
--- modules/remoting/trunk/examples/model/src/main/webapp/model.html
(rev 0)
+++ modules/remoting/trunk/examples/model/src/main/webapp/model.html 2009-12-06 23:05:29
UTC (rev 11764)
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:s="http://jboss.com/products/seam/taglib">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
+ <title>Seam Remoting - Model Example</title>
+</head>
+
+<body>
+
+ <h1>Seam Remoting - Model Example</h1>
+
+ <script type="text/javascript"
src="seam/resource/remoting/resource/remote.js"></script>
+
+ <script type="text/javascript">
+ //<![CDATA[
+
+
+ // ]]>
+ }
+ </script>
+
+
+</body>
+</html>
+