Permalink
Browse files

Slipping JDG from this release of JDF

  • Loading branch information...
1 parent b20a111 commit 67b46dd10662dfbcb6b7d5f0cf99b7ba4fa26716 @rafabene rafabene committed Oct 15, 2012
Showing with 0 additions and 7,880 deletions.
  1. +0 −66 carmart-tx/README-tomcat.md
  2. +0 −83 carmart-tx/README.md
  3. +0 −223 carmart-tx/pom.xml
  4. +0 −146 carmart-tx/src/jbossas/java/org/jboss/as/quickstarts/datagrid/carmart/jsf/PopulateCache.java
  5. +0 −216 carmart-tx/src/jbossas/java/org/jboss/as/quickstarts/datagrid/carmart/session/CarManager.java
  6. +0 −84 ...jbossas/java/org/jboss/as/quickstarts/datagrid/carmart/session/JBossASCacheContainerProvider.java
  7. +0 −110 carmart-tx/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/model/Car.java
  8. +0 −37 ...rt-tx/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CacheContainerProvider.java
  9. +0 −42 carmart-tx/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CarTypeManager.java
  10. +0 −42 carmart-tx/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CountryManager.java
  11. +0 −72 ...t-tx/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/LocalStatisticsProvider.java
  12. +0 −47 carmart-tx/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/StatisticsProvider.java
  13. +0 −8 carmart-tx/src/main/webapp-tomcat7/META-INF/context.xml
  14. +0 −41 carmart-tx/src/main/webapp-tomcat7/WEB-INF/web.xml
  15. +0 −7 carmart-tx/src/main/webapp/WEB-INF/beans.xml
  16. +0 −35 carmart-tx/src/main/webapp/WEB-INF/faces-config.xml
  17. +0 −7 carmart-tx/src/main/webapp/WEB-INF/jboss-web.xml
  18. +0 −17 carmart-tx/src/main/webapp/WEB-INF/web.xml
  19. +0 −42 carmart-tx/src/main/webapp/addcar.xhtml
  20. +0 −23 carmart-tx/src/main/webapp/details.xhtml
  21. +0 −26 carmart-tx/src/main/webapp/home.xhtml
  22. BIN carmart-tx/src/main/webapp/image/divider.png
  23. +0 −5 carmart-tx/src/main/webapp/index.html
  24. +0 −108 carmart-tx/src/main/webapp/style/style.css
  25. +0 −51 carmart-tx/src/main/webapp/template.xhtml
  26. +0 −136 carmart-tx/src/tomcat/java/org/jboss/as/quickstarts/datagrid/carmart/jsf/PopulateCache.java
  27. +0 −226 carmart-tx/src/tomcat/java/org/jboss/as/quickstarts/datagrid/carmart/session/CarManager.java
  28. +0 −84 ...c/tomcat/java/org/jboss/as/quickstarts/datagrid/carmart/session/TomcatCacheContainerProvider.java
  29. +0 −67 carmart/README-tomcat.md
  30. +0 −126 carmart/README.md
  31. +0 −248 carmart/pom.xml
  32. +0 −77 ...src/local/java/org/jboss/as/quickstarts/datagrid/carmart/session/LocalCacheContainerProvider.java
  33. +0 −72 ...art/src/local/java/org/jboss/as/quickstarts/datagrid/carmart/session/LocalStatisticsProvider.java
  34. +0 −127 carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/jsf/PopulateCache.java
  35. +0 −110 carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/model/Car.java
  36. +0 −55 carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CacheContainerProvider.java
  37. +0 −128 carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CarManager.java
  38. +0 −42 carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CarTypeManager.java
  39. +0 −42 carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CountryManager.java
  40. +0 −47 carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/StatisticsProvider.java
  41. +0 −2 carmart/src/main/resources/META-INF/datagrid.properties
  42. +0 −8 carmart/src/main/webapp-tomcat7/META-INF/context.xml
  43. +0 −41 carmart/src/main/webapp-tomcat7/WEB-INF/web.xml
  44. +0 −7 carmart/src/main/webapp/WEB-INF/beans.xml
  45. +0 −35 carmart/src/main/webapp/WEB-INF/faces-config.xml
  46. +0 −7 carmart/src/main/webapp/WEB-INF/jboss-web.xml
  47. +0 −17 carmart/src/main/webapp/WEB-INF/web.xml
  48. +0 −41 carmart/src/main/webapp/addcar.xhtml
  49. +0 −23 carmart/src/main/webapp/details.xhtml
  50. +0 −26 carmart/src/main/webapp/home.xhtml
  51. BIN carmart/src/main/webapp/image/divider.png
  52. +0 −5 carmart/src/main/webapp/index.html
  53. +0 −108 carmart/src/main/webapp/style/style.css
  54. +0 −51 carmart/src/main/webapp/template.xhtml
  55. +0 −61 ...c/remote/java/org/jboss/as/quickstarts/datagrid/carmart/session/RemoteCacheContainerProvider.java
  56. +0 −76 ...t/src/remote/java/org/jboss/as/quickstarts/datagrid/carmart/session/RemoteStatisticsProvider.java
  57. +0 −152 hotrod-endpoint/README.md
  58. +0 −98 hotrod-endpoint/pom.xml
  59. +0 −160 hotrod-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/hotrod/FootballManager.java
  60. +0 −65 hotrod-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/hotrod/Team.java
  61. +0 −2 hotrod-endpoint/src/main/resources/jdg.properties
  62. +0 −153 memcached-endpoint/README.md
  63. +0 −61 memcached-endpoint/pom.xml
  64. +0 −1,255 memcached-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/memcached/Base64.java
  65. +0 −171 memcached-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/memcached/FootballManager.java
  66. +0 −164 memcached-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/memcached/MemcachedCache.java
  67. +0 −65 memcached-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/memcached/Team.java
  68. +0 −2 memcached-endpoint/src/main/resources/jdg.properties
  69. +0 −157 rest-endpoint/README.md
  70. +0 −50 rest-endpoint/pom.xml
  71. +0 −1,255 rest-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/rest/Base64.java
  72. +0 −177 rest-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/rest/FootballManager.java
  73. +0 −192 rest-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/rest/RestCache.java
  74. +0 −65 rest-endpoint/src/main/java/org/jboss/as/quickstarts/datagrid/rest/Team.java
  75. +0 −3 rest-endpoint/src/main/resources/jdg.properties
@@ -1,66 +0,0 @@
-Transactional CarMart: Basic infinispan example with transactions
-=================================================================
-Author: Tristan Tarrent, Martin Gencur
-Level: Intermediate
-Technologies: Infinispan, CDI
-Summary: Show how to use Infinispan instead of a relational database with transactions enabled.
-
-What is it?
------------
-
-Transactional CarMart is a simple web application that uses Infinispan instead of a relational database.
-
-Users can list cars, add new cars or remove them from the CarMart. Information about each car is stored in a cache. The application also shows cache statistics like stores, hits, retrievals, etc.
-
-The Transactional CarMart quickstart works in a library mode. All libraries (jar files) are bundled with the application and deployed into the server. Caches are configured programatically and run in the same JVM as the web application.
-
-All operations are done in a transactional context. In order to run the application in Tomcat, a standalone transaction manager from JBoss Transactions is used.
-
-
-System requirements
--------------------
-
-All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
-
-The application this project produces is designed to be run on JBoss Enterprise Application Platform 6 or JBoss AS 7.
-
-
-Configure Maven
----------------
-
-If you have not yet done so, you must [Configure Maven](../README.md#configure-maven-) before testing the quickstarts.
-
-
-Build and Deploy to Tomcat 7
-----------------------------------
-
-1) This build assumes you will be running Tomcat 7 in its default configuration, with a hostname of localhost and port 8080. Before starting Tomcat, add the following lines to `conf/tomcat-users.xml` to allow the Maven Tomcat plugin to access the manager application:
-
- <role rolename="manager-script"/>
- <user username="admin" password="SOMEPASSWD" roles="manager-script"/>
-
-2) Start Tomcat 7
-
- $CATALINA_HOME/bin/catalina.sh run
-
-3) Build the application
-
- mvn clean package -Plibrary-tomcat
-
-4) Add a `<server>` element into your Maven settings.xml with `<id>` equal to tomcat and correct credentials:
-
- <server>
- <id>tomcat</id>
- <username>admin</username>
- <password>SOMEPASSWD</password>
- </server>
-
-5) Deploy the application via tomcat Maven plugin
-
- mvn tomcat:deploy -Plibrary-tomcat
-
-6) Go to <http://localhost:8080/jboss-as-carmart-tx>
-
-7) Undeploy the application
-
- mvn tomcat:undeploy -Plibrary-tomcat
View
@@ -1,83 +0,0 @@
-carmart-tx: Basic infinispan example with transactions
-=================================================================
-Author: Tristan Tarrent, Martin Gencur
-Level: Intermediate
-Technologies: Infinispan, CDI
-Summary: Show how to use Infinispan instead of a relational database with transactions enabled.
-
-What is it?
------------
-
-Transactional CarMart is a simple web application that uses Infinispan instead of a relational database.
-
-Users can list cars, add new cars or remove them from the CarMart. Information about each car is stored in a cache. The application also shows cache statistics like stores, hits, retrievals, etc.
-
-The Transactional CarMart quickstart works in a library mode. All libraries (jar files) are bundled with the application and deployed into the server. Caches are configured programatically and run in the same JVM as the web application.
-
-All operations are done in a transactional context. In order to run the application in Tomcat, a standalone transaction manager from JBoss Transactions is used.
-
-
-System requirements
--------------------
-
-All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
-
-The application this project produces is designed to be run on JBoss Enterprise Application Platform 6 or JBoss AS 7.
-
-
-Configure Maven
----------------
-
-If you have not yet done so, you must [Configure Maven](../README.md#configure-maven-) before testing the quickstarts.
-
-
-Start JBoss Enterprise Application Platform 6 or JBoss AS 7
--------------------------
-
-1. Open a command line and navigate to the root of the JBoss server directory.
-2. The following shows the command line to start the server with the web profile:
-
- For Linux: JBOSS_HOME/bin/standalone.sh
- For Windows: JBOSS_HOME\bin\standalone.bat
-
-
-Build and Deploy the Quickstart
--------------------------
-
-_NOTE: The following build command assumes you have configured your Maven user settings. If you have not, you must include Maven setting arguments on the command line. See [Build and Deploy the Quickstarts](../README.md#buildanddeploy) for complete instructions and additional options._
-
-1. Make sure you have started the JBoss Server as described above.
-2. Open a command line and navigate to the root directory of this quickstart.
-3. Type this command to build and deploy the archive:
-
- mvn clean package jboss-as:deploy
-
-4. This will deploy `target/carmart-quickstart-tx.war` to the running instance of the server.
-
-
-Access the application
----------------------
-
-Access the running application in a browser at the following URL: <http://localhost:8080/jboss-as-carmart-tx/>
-
-Users can list cars, add new cars or remove them from the CarMart. Information about each car is stored in a cache. The application also shows cache statistics like stores, hits, retrievals, etc.
-
-
-Undeploy the Archive
---------------------
-
-1. Make sure you have started the JBoss Server as described above.
-2. Open a command line and navigate to the root directory of this quickstart.
-3. When you are finished testing, type this command to undeploy the archive:
-
- mvn jboss-as:undeploy
-
-
-Debug the Application
-------------------------------------
-
-If you want to debug the source code or look at the Javadocs of any library in the project, run either of the following commands to pull them into your local repository. The IDE should then detect them.
-
- mvn dependency:sources
- mvn dependency:resolve -Dclassifier=javadoc
-
View
@@ -1,223 +0,0 @@
-<?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>
-
- <groupId>com.jboss.datagrid.quickstart</groupId>
- <artifactId>jboss-as-carmart-tx</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>war</packaging>
- <name>Transactional CarMart</name>
-
- <properties>
- <jboss-as-management-port>9999</jboss-as-management-port>
- <jboss-as-management-host>localhost</jboss-as-management-host>
- <tomcat.management.url>http://localhost:8080/manager/text</tomcat.management.url>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.jboss.bom</groupId>
- <artifactId>jboss-javaee-6.0-with-infinispan</artifactId>
- <version>1.0.1.CR4</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.bom</groupId>
- <artifactId>jboss-javaee-6.0-with-transactions</artifactId>
- <version>1.0.1.CR4</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <dependencies>
- <dependency>
- <groupId>org.jboss.spec.javax.faces</groupId>
- <artifactId>jboss-jsf-api_2.1_spec</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-core</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ocpsoft</groupId>
- <artifactId>prettyfaces-jsf2</artifactId>
- <version>3.3.2</version>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.1</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- <compilerArgument>-proc:none</compilerArgument>
- </configuration>
- <executions>
- <execution>
- <id>compile</id>
- <configuration>
- <compilerArgument>-proc:none</compilerArgument>
- </configuration>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.12</version>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>library-jbossas</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.7</version>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src/jbossas/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jboss.as.plugins</groupId>
- <artifactId>jboss-as-maven-plugin</artifactId>
- <version>7.1.1.Final</version>
- <executions>
- <execution>
- <phase>install</phase>
- <goals>
- <goal>deploy</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <port>${jboss-as-management-port}</port>
- <hostname>${jboss-as-management-host}</hostname>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>library-tomcat</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.spec.javax.transaction</groupId>
- <artifactId>jboss-transaction-api_1.1_spec</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec.javax.faces</groupId>
- <artifactId>jboss-jsf-api_2.1_spec</artifactId>
- </dependency>
- <dependency>
- <groupId>com.sun.faces</groupId>
- <artifactId>jsf-impl</artifactId>
- <version>2.0.2</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld.servlet</groupId>
- <artifactId>weld-servlet</artifactId>
- <version>1.1.8.Final</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.6.6</version>
- <scope>runtime</scope>
- </dependency>
- <!-- JBoss Transactions dependencies -->
- <dependency>
- <groupId>org.jboss.jbossts</groupId>
- <artifactId>jbossjta</artifactId>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.7</version>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src/tomcat/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <webResources>
- <resource>
- <directory>src/main/webapp-tomcat7</directory>
- <filtering>false</filtering>
- </resource>
- </webResources>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>tomcat-maven-plugin</artifactId>
- <version>1.1</version>
- <configuration>
- <server>tomcat</server>
- <path>/${project.artifactId}</path>
- <url>${tomcat.management.url}</url>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
-
Oops, something went wrong.

0 comments on commit 67b46dd

Please sign in to comment.