[jboss-svn-commits] JBL Code SVN: r37230 - in labs/jbosstm/trunk/rest-tx/quickstarts: recovery/src/main/java/quickstart and 4 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Jul 4 19:53:04 EDT 2011
Author: mmusgrov
Date: 2011-07-04 19:53:04 -0400 (Mon, 04 Jul 2011)
New Revision: 37230
Modified:
labs/jbosstm/trunk/rest-tx/quickstarts/recovery/readme.txt
labs/jbosstm/trunk/rest-tx/quickstarts/recovery/run.bat
labs/jbosstm/trunk/rest-tx/quickstarts/recovery/run.sh
labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/JaxrsServer.java
labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/ParticipantRecovery.java
labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/TransactionAwareResource.java
labs/jbosstm/trunk/rest-tx/quickstarts/service/readme.txt
labs/jbosstm/trunk/rest-tx/quickstarts/service/run.bat
labs/jbosstm/trunk/rest-tx/quickstarts/service/run.sh
labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/JaxrsServer.java
labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/MultipleParticipants.java
labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/TransactionAwareResource.java
labs/jbosstm/trunk/rest-tx/quickstarts/simple/readme.txt
labs/jbosstm/trunk/rest-tx/quickstarts/simple/src/main/java/MultipleTransactions.java
labs/jbosstm/trunk/rest-tx/quickstarts/simple/src/main/java/RestTransactionExample.java
Log:
[JBTM-856] Clean up examples
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/recovery/readme.txt
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/recovery/readme.txt 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/recovery/readme.txt 2011-07-04 23:53:04 UTC (rev 37230)
@@ -11,7 +11,7 @@
To test recovery you will need to run the example twice, once to generate a failure condition:
- mvn compile exec:java -Dexec.mainClass=quickstart.ParticipantRecovery -Dexec.args="-f"
+ mvn clean compile exec:java -Dexec.mainClass=quickstart.ParticipantRecovery -Dexec.args="-f"
and a second time in order to test that the web service is asked to replay the commit phase:
@@ -22,12 +22,14 @@
If you just want the same behaviour as the service example - ie without failures then run the example without
any arguments:
- mvn exec:java -Dexec.mainClass=quickstart.ParticipantRecovery
+ mvn clean compile exec:java -Dexec.mainClass=quickstart.ParticipantRecovery
EXPECTED OUTPUT
---------------
+[The examples run under the control of maven so you will need to filter maven output from example output.]
+
On the first run when generating a failure you should see two messages from the webservice enlisting
two sets of urls into the transaction:
@@ -52,12 +54,15 @@
On the second run when recovering after generating the failure you should see the following messages:
- Client: waiting for recovery in 2 second intervals (for a max of 130 secs)
+ =============================================================================
+ Client: WAITING FOR RECOVERY IN 2 SECOND INTERVALS (FOR A MAX OF 130 SECONDS)
+ =============================================================================
Service: PUT request to terminate url: wId=2, status:=txStatus=TransactionCommitted
SUCCESS participant was recovered after 22 seconds. Number of commits: 1
The first message states that the example is waiting for the recovery system (running in the AS
-you deployed the war to) to perform a recovery scan. The default interval between recovery scans is 120 seconds.
+you deployed the war to) to perform a recovery scan. It is highlighted so you know that the test
+isn't hanging. The default interval between recovery scans is 120 seconds.
The second output line shows that the web service received a prepare request and hence recovery ran
successfully. And the final output line indicates a successful run.
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/recovery/run.bat
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/recovery/run.bat 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/recovery/run.bat 2011-07-04 23:53:04 UTC (rev 37230)
@@ -2,7 +2,7 @@
echo "Running recovery quickstart"
-mvn compile exec:java -Dexec.mainClass=quickstart.ParticipantRecovery -Dexec.args="-f"
+mvn clean compile exec:java -Dexec.mainClass=quickstart.ParticipantRecovery -Dexec.args="-f"
IF %ERRORLEVEL% NEQ 0 exit -1
echo "Recovering failed service - this could take up to 2 minutes"
mvn compile exec:java -Dexec.mainClass=quickstart.ParticipantRecovery -Dexec.args="-r"
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/recovery/run.sh
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/recovery/run.sh 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/recovery/run.sh 2011-07-04 23:53:04 UTC (rev 37230)
@@ -3,7 +3,7 @@
echo "Running recovery quickstart"
-mvn compile exec:java -Dexec.mainClass=quickstart.ParticipantRecovery -Dexec.args="-f"
+mvn clean compile exec:java -Dexec.mainClass=quickstart.ParticipantRecovery -Dexec.args="-f"
# We expect this to fail
#if [ "$?" != "0" ]; then
# exit -1
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/JaxrsServer.java
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/JaxrsServer.java 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/JaxrsServer.java 2011-07-04 23:53:04 UTC (rev 37230)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package quickstart;
import com.sun.grizzly.http.SelectorThread;
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/ParticipantRecovery.java
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/ParticipantRecovery.java 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/ParticipantRecovery.java 2011-07-04 23:53:04 UTC (rev 37230)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package quickstart;
import org.jboss.jbossts.star.util.TxSupport;
@@ -21,7 +41,9 @@
TxSupport txn = new TxSupport(TXN_MGR_URL);
if ("-r".equals(opt)) {
- System.out.println("Client: waiting for recovery in 2 second intervals (for a max of 130 secs)");
+ System.out.println("=============================================================================");
+ System.out.println("Client: WAITING FOR RECOVERY IN 2 SECOND INTERVALS (FOR A MAX OF 130 SECONDS)");
+ System.out.println("=============================================================================");
for (long i = 0l; i < 130l; i += 2) {
try {
@@ -30,7 +52,7 @@
String cnt = txn.httpRequest(new int[] {HttpURLConnection.HTTP_OK}, SERVICE_URL + "/query", "GET", TxSupport.PLAIN_MEDIA_TYPE, null, null);
if (cnt != null && !"0".equals(cnt)) {
- System.out.println("SUCCESS participant was recovered after " + i + " seconds. Number of commits: " + cnt);
+ System.out.println("SUCCESS participant was recovered after " + (i * 2) + " seconds. Number of commits: " + cnt);
System.exit(0);
}
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/TransactionAwareResource.java
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/TransactionAwareResource.java 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/recovery/src/main/java/quickstart/TransactionAwareResource.java 2011-07-04 23:53:04 UTC (rev 37230)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package quickstart;
import org.jboss.jbossts.star.util.TxSupport;
@@ -33,7 +53,7 @@
return Response.ok("non transactional request").build();
String serviceURL = info.getBaseUri() + info.getPath();
- String workURL = serviceURL + "/1/" + workId;
+ String workURL = serviceURL + '/' + workId;
String terminator = workURL + "/terminate";
String participant = workURL + "/terminator";
@@ -59,8 +79,8 @@
* participants to prepare/commit/rollback their transactional work.
*/
@PUT
- @Path("{pId}/{wId}/terminate")
- public Response terminate(@PathParam("pId") @DefaultValue("")String pId, @PathParam("wId") @DefaultValue("")String wId, String content) {
+ @Path("{wId}/terminate")
+ public Response terminate(@PathParam("wId") @DefaultValue("")String wId, String content) {
System.out.println("Service: PUT request to terminate url: wId=" + wId + ", status:=" + content);
String status = TxSupport.getStatus(content);
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/service/readme.txt
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/service/readme.txt 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/service/readme.txt 2011-07-04 23:53:04 UTC (rev 37230)
@@ -10,20 +10,16 @@
that is listening for http requests on localhost (if you use a different host/port change the url in
MultipleParticipants.TXN_MGR_URL).
-mvn compile exec:exec
+mvn clean compile exec:exec
or use the run.sh or run.bat script.
EXPECTED OUTPUT
---------------
-4. And finally the build will report success or failure:
- [INFO] BUILD SUCCESS
+[The examples run under the control of maven so you will need to filter maven output from example output.]
-indicates a successful outcome.
-
-
1. You will see 2 lines of output showing the service enlisting into the transaction:
Service: Enlisting terminator=http://localhost:58082/service/1/1/terminate;durableparticipant=http://localhost:58082/service/1/1/terminator
Service: Enlisting terminator=http://localhost:58082/service/1/2/terminate;durableparticipant=http://localhost:58082/service/1/2/terminator
@@ -32,8 +28,8 @@
Client: Committing transaction
-3. Two resources will output two messages during the transaction commitment protocol. One
-saying that it has prepared and the other reporting that it has committed.
+3. A prepare and commit message is generated by each service work unit. This is repeated for both
+work units:
Service: PUT request to terminate url: wId=2, status:=txStatus=TransactionPrepared
Service: PUT request to terminate url: wId=1, status:=txStatus=TransactionPrepared
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/service/run.bat
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/service/run.bat 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/service/run.bat 2011-07-04 23:53:04 UTC (rev 37230)
@@ -2,5 +2,5 @@
echo "Running service quickstart"
-mvn compile exec:exec
+mvn clean compile exec:exec
IF %ERRORLEVEL% NEQ 0 exit -1
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/service/run.sh
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/service/run.sh 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/service/run.sh 2011-07-04 23:53:04 UTC (rev 37230)
@@ -3,7 +3,7 @@
echo "Running service quickstart"
-mvn compile exec:exec
+mvn clean compile exec:exec
if [ "$?" != "0" ]; then
exit -1
fi
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/JaxrsServer.java
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/JaxrsServer.java 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/JaxrsServer.java 2011-07-04 23:53:04 UTC (rev 37230)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package quickstart;
import com.sun.grizzly.http.SelectorThread;
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/MultipleParticipants.java
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/MultipleParticipants.java 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/MultipleParticipants.java 2011-07-04 23:53:04 UTC (rev 37230)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package quickstart;
import org.jboss.jbossts.star.util.TxSupport;
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/TransactionAwareResource.java
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/TransactionAwareResource.java 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/service/src/main/java/quickstart/TransactionAwareResource.java 2011-07-04 23:53:04 UTC (rev 37230)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package quickstart;
import org.jboss.jbossts.star.util.TxSupport;
@@ -33,7 +53,7 @@
return Response.ok("non transactional request").build();
String serviceURL = info.getBaseUri() + info.getPath();
- String workURL = serviceURL + "/1/" + workId;
+ String workURL = serviceURL + '/' + workId;
String terminator = workURL + "/terminate";
String participant = workURL + "/terminator";
@@ -59,8 +79,8 @@
* participants to prepare/commit/rollback their transactional work.
*/
@PUT
- @Path("{pId}/{wId}/terminate")
- public Response terminate(@PathParam("pId") @DefaultValue("")String pId, @PathParam("wId") @DefaultValue("")String wId, String content) {
+ @Path("{wId}/terminate")
+ public Response terminate(@PathParam("wId") @DefaultValue("")String wId, String content) {
System.out.println("Service: PUT request to terminate url: wId=" + wId + ", status:=" + content);
String status = TxSupport.getStatus(content);
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/simple/readme.txt
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/simple/readme.txt 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/simple/readme.txt 2011-07-04 23:53:04 UTC (rev 37230)
@@ -10,13 +10,16 @@
mvn compile exec:exec
+or use the run script
EXPECTED OUTPUT
---------------
-transaction running: txStatus=TransactionActive
-Success
+[The examples run under the control of maven so you will need to filter maven output from example output.]
+ transaction running: txStatus=TransactionActive
+ Success
+
WHAT JUST HAPPENED?
-------------------
We deployed a JAX-RS servlet that implements a RESTful interface to the Narayana transaction manager (TM).
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/simple/src/main/java/MultipleTransactions.java
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/simple/src/main/java/MultipleTransactions.java 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/simple/src/main/java/MultipleTransactions.java 2011-07-04 23:53:04 UTC (rev 37230)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
import org.jboss.jbossts.star.util.TxSupport;
public class MultipleTransactions {
Modified: labs/jbosstm/trunk/rest-tx/quickstarts/simple/src/main/java/RestTransactionExample.java
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/simple/src/main/java/RestTransactionExample.java 2011-07-04 23:21:10 UTC (rev 37229)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/simple/src/main/java/RestTransactionExample.java 2011-07-04 23:53:04 UTC (rev 37230)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
import org.jboss.jbossts.star.util.TxSupport;
public class RestTransactionExample {
More information about the jboss-svn-commits
mailing list