Fetching latest commit…
Cannot retrieve the latest commit at this time
|Failed to load latest commit information.|
# JBoss, Home of Professional Open Source. # Copyright (c) 2011, Red Hat, Inc., and individual contributors # as indicated by the @author tags. See the copyright.txt file in the # distribution for a full listing of individual contributors. # # This is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # This software is distributed in the hope that it will be useful, # but WITHOUT ANY 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 along with this software; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA # 02110-1301 USA, or see the FSF site: http://www.fsf.org. This demo has been written for, and tested on, JBoss 7.2.0.Alpha1-SNAPSHOT It may work with other versions of JBoss 7. Please download and install this app server from the JBoss website. Note: The java.awt.headless property is needed for the demo as it starts a Java Swing user interface for each or the participant services. This is done for demonstration purposes; it is unlikely that a typical JEE application will ever do this. Follow these steps to build the demo for JBoss - add java and Maven to your path - ensure JBoss AS is started with XTS enabled. This can be done by specifying the standalone-xts configuration when starting JBoss AS: cd $JBOSS_HOME cp docs/examples/configs/standalone-xts.xml standalone/configuration/ ./bin/standalone.sh -c standalone-xts.xml -Djava.awt.headless=false - execute 'mvn clean install' (runs tests) - mvn -f ear/pom.xml jboss-as:deploy (deploys the demo) - Open a browser and enter the xts-demo url (e.g. http://localhost:8080/xts-demo) --------- Basic test coverage for JBossTS XTS Demo App Author: Ivo Studensky <email@example.com> This is some basic test coverage for the XTS Demo App. It is powered by Arquillian and its Drone extension. By default it calls a local Firefox browser to execute the tests. The test starts up the AS, deploys the XTS Demo App into it and runs a reservation of some restaurant/theatre/taxi seats using both AtomicTransaction and BusinessActivity tx type. Read the programmers guide (XTS/xts-install/docs/ProgrammersGuide.pdf) for an explanation of how the demo works and guidelines on how to use the XTS package to implement your own transactional web services.