[jboss-svn-commits] JBL Code SVN: r13996 - in labs/jbosstm/workspace/baframework/trunk: demo and 17 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Aug 3 10:06:09 EDT 2007


Author: maciej.machulak
Date: 2007-08-03 10:06:09 -0400 (Fri, 03 Aug 2007)
New Revision: 13996

Modified:
   labs/jbosstm/workspace/baframework/trunk/README.txt
   labs/jbosstm/workspace/baframework/trunk/build.xml
   labs/jbosstm/workspace/baframework/trunk/changelog.txt
   labs/jbosstm/workspace/baframework/trunk/demo/build.xml
   labs/jbosstm/workspace/baframework/trunk/demo/resources/persistence.xml
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/about.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/author.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookcasino.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookfitness.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookroom.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelcasino.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelfitness.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelmeal.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelpackage.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelroom.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/data.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/decreaserating.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/getpackage.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/hotelinfo.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/increaserating.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/index.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/initialise.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/orderbar.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/resources/web/ordermeal.jsp
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/client/HotelService.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/CustomerEntityImpl.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/Hotel.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/HotelCustomException.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/HotelImpl.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/MealOrder.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/OrderEntityImpl.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/RoomAlreadyOccupiedException.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/RoomEntityImpl.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/helper/CompensationView.java
   labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/helper/HotelView.java
   labs/jbosstm/workspace/baframework/trunk/docs/BAFrameworkAPI.docx
   labs/jbosstm/workspace/baframework/trunk/docs/BAFrameworkMG.docx
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/BATransactionManager.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/SingleTransactionManager.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAAgreementType.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensatedBy.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensation.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationMode.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationOrder.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationType.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAParam.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAResult.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAService.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAServiceType.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/aspect/JaxWSBAProcessingAspect.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationDataProvider.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationDataProviderImpl.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManager.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManagerImpl.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManagerProvider.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/DummyCompensationManager.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationData.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataCustom.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataParam.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataReturn.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/DummyCompensationData.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/IdentificationType.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/TaskDescription.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/CompensationActionUnsuccessfulException.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/CompensationMethodNotAccessible.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/MethodIncorrectlyAnnotatedException.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/TaskAssociationFailedException.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/TransactionProcessingException.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ArgumentsProvider.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/CorbaExecution.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/DataProvider.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/EJBExecution.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ExecutionInterface.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/LocalExecution.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/LocalServiceExecutor.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/RMIExecution.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/RemoteServiceExecutor.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceExecutor.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceLocator.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceLocatorException.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/WSConfiguredDII.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/WSUnconfiguredDII.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/helper/BAServiceVisitor.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/helper/CompensationManagement.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/IdentifierFactory.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/RandomGetter.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/RandomIdentifierFactory.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UidGetter.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UidIdentifierFactory.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UniqueValueGetter.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CloseNotifier.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataCustomFactory.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataFactory.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataParamFactory.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataReturnFactory.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationNotifier.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CoordinatorCompletionParticipant.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/DummyCompensationDataFactory.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/Participant.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/ParticipantCompletionParticipant.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/MethodDescription.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/MethodDescriptionImpl.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceDescription.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceDescriptionImpl.java
   labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceInformationManager.java
Log:
FRAMEWORK:

DEMO APPLICATION:
RoomEntity has been changed - it has an added room number so that reinitialising data and using default values as service arguments work better.

ALL:
Changes have been made to comments so that clean Javadoc can be generated.

Modified: labs/jbosstm/workspace/baframework/trunk/README.txt
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/README.txt	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/README.txt	2007-08-03 14:06:09 UTC (rev 13996)
@@ -32,16 +32,15 @@
 
 ### 1. Introduction
 
-The Business Activity Framework significantly facilitates development of transaction
-aware Web Services and releases programmers from mixing transaction related code with 
-business logic of their applications. Developers do not need to write custom participants 
-and managers and do not have to concern themselves with any of the low level details. 
-They may use simple annotations to enrich Web Services with support for participating in 
-Business Activities. No additional code needs to be written. Most annotations have 
-intuitive and reasonable default values to release the developer from the necessity of 
-specifying all required annotation member values explicitly. To address the problem of 
-management of intermediary data that can be potentially used during compensation additional 
-operations have been designed as well.
+The Business Activity Framework is a fully novel comprehensive solution for building
+transactional Web Services with accordance to the model defined in the WS-BusinessActivity
+specification. It provides a lightweight API that consists of a set of easy to learn and 
+intuitive annotations and operations. It significantly facilitates development of transaction 
+aware Web Services and releases programmers from mixing transaction related code with business 
+logic of their applications. 
+Web Services must be simply annotated with a set of defined annotations and the framework
+transparently applies all necessary transactional mechanisms to enable participation in
+long-running Business Activities.
 
 IMPORTANT NOTICE:
 This is the first release of the framework and is aimed mainly for testing. 
@@ -72,9 +71,9 @@
   (available at http://java.sun.com/javase/downloads/index_jdk5.jsp)
 - Ant build tool (version 1.7.0)
   (available at http://ant.apache.org/)
-- JBoss Application Server
+- JBoss Application Server (version 4.2.0 GA)
   (available at http://labs.jboss.com/jbossas/)
-- JBoss Transaction Service
+- JBoss Transaction Service (version 4.2.3 SP5)
   (available at http://labs.jboss.com/jbosstm/)
 
 1) Edit 'build.xml' file and set following properties:
@@ -111,9 +110,9 @@
   (available at http://java.sun.com/javase/downloads/index_jdk5.jsp)
 - Ant build tool (version 1.7.0)
   (available at http://ant.apache.org/)
-- JBoss Application Server
+- JBoss Application Server (version 4.2.0 GA)
   (available at http://labs.jboss.com/jbossas/)
-- JBoss Transaction Service
+- JBoss Transaction Service (version 4.2.3 SP5)
   (available at http://labs.jboss.com/jbosstm/)
 
 1) Go to the demo/ directory (i.e. 'cd demo/')

Modified: labs/jbosstm/workspace/baframework/trunk/build.xml
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/build.xml	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/build.xml	2007-08-03 14:06:09 UTC (rev 13996)
@@ -25,7 +25,7 @@
 
     <!-- You should modify the next two lines -->
     <property name="jboss.home" location="C:/RedHat/JBossAS/build/output/jboss-4.2.0.GA"/>
-    <property name="xts.home" location="C:/RedHat/JBossTS/XTS/xts-install"/>
+    <property name="xts.home" location="C:/RedHat/JBossTSSP5/XTS/xts-install"/>
 	
 	<!-- You should not need to modify anything below this point -->
 	<property name="jboss.profile" value="all"/>
@@ -80,18 +80,18 @@
         </javac>
     </target>
     
-    <target name="docs" depends="compile" description="create documentation">
-        <javadoc destdir="${doc}/api" packagenames="*" private="true">
-            <sourcepath>
-                <pathelement location="${src}"/>
-            </sourcepath>
-            <classpath>
-                <path refid="classpath"/>
-            </classpath>
-        </javadoc>
+    <target name="docs" depends="compile" description="create documentation">
+        <javadoc destdir="${doc}/api" packagenames="*" private="true">
+            <sourcepath>
+                <pathelement location="${src}"/>
+            </sourcepath>
+            <classpath>
+                <path refid="classpath"/>
+            </classpath>
+        </javadoc>
     </target>    
 
-    <target name="dist" depends="compile" description="generate the distribution">
+    <target name="dist" depends="docs" description="generate the distribution">
         <jar jarfile="${build}/baframework.aop">
             <metainf dir="${resources}">
                 <include name="jboss-aop.xml"/>

Modified: labs/jbosstm/workspace/baframework/trunk/changelog.txt
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/changelog.txt	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/changelog.txt	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,4 +1,4 @@
-Thu Aug 02 11:00:00 GMT 2007
+Thu Aug 03 11:00:00 GMT 2007
 
 Release of the Business Activity Framework version 0.1
 +---+

Modified: labs/jbosstm/workspace/baframework/trunk/demo/build.xml
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/build.xml	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/build.xml	2007-08-03 14:06:09 UTC (rev 13996)
@@ -25,7 +25,7 @@
 
     <!-- You should modify the next two lines -->
     <property name="jboss.home" value="C:\RedHat\JBossAS\build\output\jboss-4.2.0.GA"/>    
-    <property name="xts.home" location="C:\RedHat\JBossTS\XTS\xts-install"/>
+    <property name="xts.home" location="C:\RedHat\JBossTSSP5\XTS\xts-install"/>
 
 	<!-- You should not need to modify anything below this point -->
     <property name="jboss.profile" value="all"/>

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/persistence.xml
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/persistence.xml	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/persistence.xml	2007-08-03 14:06:09 UTC (rev 13996)
@@ -22,10 +22,10 @@
 -->
 
 <persistence>
-  <persistence-unit name="hotelPC">
-    <jta-data-source>java:/DefaultDS</jta-data-source>
-    <properties>
-      <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
-    </properties>
-  </persistence-unit>
+    <persistence-unit name="hotelPC">
+        <jta-data-source>java:/DefaultDS</jta-data-source>
+        <properties>
+            <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
+        </properties>
+    </persistence-unit>
 </persistence>
\ No newline at end of file

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/about.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/about.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/about.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -108,41 +108,41 @@
 
 <div id="body" align=center>
 
-    <p align="center">
-        <h1>Business Activity Framework Demo Application</h1>
-		<h2>Help page</h2>
-    <p align="left">
-	<b>Concept</b><br>
-	This is a simple Web-based demo application for the novel Business Activity framework. It helps with
-	understanding the basic concepts of using framework's API - metadata and additional operations which
-	increase the frameworks flexibility. For more information about the design of the framework and a more
-	detailed description of its API please consider documents located on the framework's website at:
-	<br><a href="http://labs.jboss.com/jbosstm/baframework/index.html">http://labs.jboss.com/jbosstm/baframework/index.html</a>
-	.<br>This website also includes a forum where all questions regarding framework's design or usage are welcome.
-	<br>
-	<br>
-	If no previous experience with extended transactions or Transactional Web Services is possesed, it is
-	strongly adviced to familiarise with materials presented in the <b>References</b> section on this page.
-	Mostly [1], [2] and [3] are recommended.
-	</p>
-	<p align="left">
-	<b>Usage</b><br>
-	To start using the demo application it is necessary to perform following steps:
-	<ul>
-	<li>Initialise data on the server -> <a href="initialise.html">click here</a>
-	<li>Start the Business Activity -> <a href="HotelService?method=startBA&baRequest=true">click here</a>
-	<li>Use any of provided BA Services
-	<li>End the Business Activity - by either <a href="HotelService?method=closeBA&baRequest=true">completing</a> or <a href="HotelService?method=cancelBA&baRequest=true">cancelling</a> the work.
-	</ul>
-	</p>
-	    <p align="left">
-        <b>BA-related code</b>
-        <br>
-All services are implemented as methods of a stateless session bean (HotelImpl class) accessible through a remote interface (Hotel class)
-and exposed as Web Services using the JSR-181 annotations. The HotelImpl class is annotated with the BACompensation annotation to provide
-common information related to compensation actions.
-            </p>
-        <p>
+<p align="center">
+<h1>Business Activity Framework Demo Application</h1>
+<h2>Help page</h2>
+<p align="left">
+    <b>Concept</b><br>
+    This is a simple Web-based demo application for the novel Business Activity framework. It helps with
+    understanding the basic concepts of using framework's API - metadata and additional operations which
+    increase the frameworks flexibility. For more information about the design of the framework and a more
+    detailed description of its API please consider documents located on the framework's website at:
+    <br><a href="http://labs.jboss.com/jbosstm/baframework/index.html">http://labs.jboss.com/jbosstm/baframework/index.html</a>
+    .<br>This website also includes a forum where all questions regarding framework's design or usage are welcome.
+    <br>
+    <br>
+    If no previous experience with extended transactions or Transactional Web Services is possesed, it is
+    strongly adviced to familiarise with materials presented in the <b>References</b> section on this page.
+    Mostly [1] and [2] are recommended.
+</p>
+<p align="left">
+    <b>Usage</b><br>
+    To start using the demo application it is necessary to perform following steps:
+    <ul>
+        <li>Initialise data on the server -> <a href="HotelService?page=initialise.jsp">click here</a>
+        <li>Start the Business Activity -> <a href="HotelService?method=startBA&baRequest=true">click here</a>
+        <li>Use any of provided BA Services
+        <li>End the Business Activity - by either <a href="HotelService?method=closeBA&baRequest=true">completing</a> or <a href="HotelService?method=cancelBA&baRequest=true">cancelling</a> the work.
+    </ul>
+</p>
+<p align="left">
+    <b>BA-related code</b>
+    <br>
+    All services are implemented as methods of a stateless session bean (HotelImpl class) accessible through a remote interface (Hotel class)
+    and exposed as Web Services using the JSR-181 annotations. The HotelImpl class is annotated with the BACompensation annotation to provide
+    common information related to compensation actions.
+</p>
+<p>
     <div id="code">
 <pre>
 //...<br>
@@ -154,13 +154,13 @@
 &#09;//...<br>
 }
 </pre>
-        </div>
-            </p>
-        <p align="left">
-Some methods that are exposed as Web Services make use of the Compensation Manager component provided by the Business Activity framework as shown in the code below.
-          </p> 
-            <p>
-            <div id="code">
+    </div>
+</p>
+<p align="left">
+    Some methods that are exposed as Web Services make use of the Compensation Manager component provided by the Business Activity framework as shown in the code below.
+</p>
+<p>
+    <div id="code">
 
 <pre>
 //...<br>
@@ -172,47 +172,47 @@
 &#09;//...<br>
 }
 </pre>
-        </div>
+    </div>
 
-    </p>
-	<p align="left">
-	Some services may be used only within a scope of a Business Activity (BA services). Others may be use outside the Business Activity (Normal services) - they are however defined as compensation actions of the BA services.. These
-	services may be used to test behaviour of compensation mechanisms in case Isolation of service execution is not preserved - i.e.
-	a order has been cancelled outside the scope of a transaction).
-	</p>
-	
-	<p align="left">
-	Although description of each single method has been provided it is strongly adviced that users examine the source
-	code of Web Services when performing tests. Moreover, annotations on method descriptions have most of their member values
+</p>
+<p align="left">
+    Some services may be used only within a scope of a Business Activity (BA services). Others may be use outside the Business Activity (Normal services) - they are however defined as compensation actions of the BA services.. These
+    services may be used to test behaviour of compensation mechanisms in case Isolation of service execution is not preserved - i.e.
+    a order has been cancelled outside the scope of a transaction).
+</p>
+
+<p align="left">
+    Although description of each single method has been provided it is strongly adviced that users examine the source
+    code of Web Services when performing tests. Moreover, annotations on method descriptions have most of their member values
     explicitly specified for learning purposes only. Because designed annotations have intuitive and reasonable default values already specified,
     the actual code is less complex.
-    </p>
+</p>
 
-	<p align="left">
-	<b>Web Services</b><br>
-	Business Activity Framework Demo Application consists of a set of Web Services that represents common
-	usage of the framework's API so that it is possible to gain knowledge about all designed annotations
-	and operations.<br>
-	
-	</p>
-	<p align="left">
-	<b>References</b><br>
-	Following is the list of references which is worth considering when learning about Transactional Web Services (to be updated shortly):
-	<ul>
-	<li>[1] Little, M., J. Maron, and G. Pavlik, Java Transaction Processing: Design and Implementation, Prentice Hall PTR, New Jersey, USA, 2004.
-	<li>[2] WS-BusinessActivity Specification, version 1.0. August 2005.  http://www.arjuna.com/library/specs/ws-tx/WS-BusinessActivity.pdf.
+<p align="left">
+    <b>Web Services</b><br>
+    Business Activity Framework Demo Application consists of a set of Web Services that represents common
+    usage of the framework's API so that it is possible to gain knowledge about all designed annotations
+    and operations.<br>
 
-	</ul>
-	</p>
-	<p align="left">
-	<b>Questions</b><br>
-	Any questions related to the test application or the framework can be directed to the author at
-<a href="mailto:mmachulak-at-redhat.com">mmachulak-at-redhat.com</a>. All constructive remarks are highly appreciated.
-    </p>
+</p>
+<p align="left">
+    <b>References</b><br>
+    Following is the list of references which is worth considering when learning about Transactional Web Services (to be updated shortly):
+    <ul>
+        <li>[1] Little, M., J. Maron, and G. Pavlik, Java Transaction Processing: Design and Implementation, Prentice Hall PTR, New Jersey, USA, 2004.
+        <li>[2] WS-BusinessActivity Specification, version 1.0. August 2005.  http://www.arjuna.com/library/specs/ws-tx/WS-BusinessActivity.pdf.
 
-    </p>
+    </ul>
+</p>
+<p align="left">
+    <b>Questions</b><br>
+    Any questions related to the test application or the framework can be directed to the author at
+    <a href="mailto:mmachulak-at-redhat.com">mmachulak-at-redhat.com</a>. All constructive remarks are highly appreciated.
+</p>
 
+</p>
 
+
 </div>
 
 <div id="footer">

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/author.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/author.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/author.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -33,68 +33,68 @@
 
 <div id="main">
 
-<div id="headerLeft">
-    <h1>Business Activity Framework Demo Application</h1>
-</div>
+    <div id="headerLeft">
+        <h1>Business Activity Framework Demo Application</h1>
+    </div>
 
-<div id="headerRight">
-    <img src="jboss.jpg">
-</div>
+    <div id="headerRight">
+        <img src="jboss.jpg">
+    </div>
 
-<div id="headerBottom">
-    Debug window (service return value):
-</div>
+    <div id="headerBottom">
+        Debug window (service return value):
+    </div>
 
-<div id="headerDebug">
-    ${requestScope.DEBUG}
-</div>
+    <div id="headerDebug">
+        ${requestScope.DEBUG}
+    </div>
 
-${requestScope.ACTIVE}
+    ${requestScope.ACTIVE}
 
-<div id="menu">
-    <p>
-        <a href="HotelService?page=index.jsp">Home</a><br>
-        <a href="HotelService?page=about.jsp">About Demo Application</a><br>
-        <a href="HotelService?page=author.jsp">About Author</a><br>
-    </p>
-    <hr>
-    <p>
-        <a href="HotelService?page=initialise.jsp" ${requestScope.INITIALISE}>Initialise data</a><br>
-        <a href="HotelService?method=dropHotelData&baRequest=false" ${requestScope.DROP}>Delete data</a><br>
-        <a href="HotelService?method=getHotelData&baRequest=false" ${requestScope.SHOW}>Show data</a><br>
-    </p>
-    <hr>
-    <p>
-        <a href="HotelService?method=startBA&baRequest=true" ${requestScope.BEGIN}>Begin Business Activity</a><br>
-    </p>
-    <hr>
-    <p>
-        <b>BA services:</b><br>
-        <a href="HotelService?page=hotelinfo.jsp" ${requestScope.BASERVICE}>Hotel Info</a><br>
-        <a href="HotelService?page=bookroom.jsp" ${requestScope.BASERVICE}>Book Room</a><br>
-        <a href="HotelService?page=getpackage.jsp" ${requestScope.BASERVICE}>Get Package</a><br>
-        <a href="HotelService?page=bookfitness.jsp" ${requestScope.BASERVICE}>Book Fitness</a><br>
-        <a href="HotelService?page=bookcasino.jsp" ${requestScope.BASERVICE}>Book Casino</a><br>
-        <a href="HotelService?page=ordermeal.jsp" ${requestScope.BASERVICE}>Order Meal</a><br>
-        <a href="HotelService?page=increaserating.jsp" ${requestScope.BASERVICE}>Increase Rating</a><br>
-        <a href="HotelService?page=decreaserating.jsp" ${requestScope.BASERVICE}>Decrease Rating</a><br>
-    </p>
-    <hr>
-    <p>
-        <a href="HotelService?method=closeBA&baRequest=true" ${requestScope.CLOSE}>Close Business Activity</a><br>
-        <a href="HotelService?method=cancelBA&baRequest=true" ${requestScope.CANCEL}>Cancel Business Activity</a><br>
-    </p>
-    <hr>
-    <p>
-        <b>Normal services:</b><br>
-        <a href="HotelService?page=cancelroom.jsp" ${requestScope.SERVICE}>Cancel Room</a><br>
-        <a href="HotelService?page=cancelpackage.jsp" ${requestScope.SERVICE}>Cancel Package</a><br>
-        <a href="HotelService?page=cancelfitness.jsp" ${requestScope.SERVICE}>Cancel Fitness</a><br>
-        <a href="HotelService?page=cancelcasino.jsp" ${requestScope.SERVICE}>Cancel Casino</a><br>
-        <a href="HotelService?page=cancelmeal.jsp" ${requestScope.SERVICE}>Cancel Meal</a><br>
-    </p>
-    <hr>
-</div>
+    <div id="menu">
+        <p>
+            <a href="HotelService?page=index.jsp">Home</a><br>
+            <a href="HotelService?page=about.jsp">About Demo Application</a><br>
+            <a href="HotelService?page=author.jsp">About Author</a><br>
+        </p>
+        <hr>
+        <p>
+            <a href="HotelService?page=initialise.jsp" ${requestScope.INITIALISE}>Initialise data</a><br>
+            <a href="HotelService?method=dropHotelData&baRequest=false" ${requestScope.DROP}>Delete data</a><br>
+            <a href="HotelService?method=getHotelData&baRequest=false" ${requestScope.SHOW}>Show data</a><br>
+        </p>
+        <hr>
+        <p>
+            <a href="HotelService?method=startBA&baRequest=true" ${requestScope.BEGIN}>Begin Business Activity</a><br>
+        </p>
+        <hr>
+        <p>
+            <b>BA services:</b><br>
+            <a href="HotelService?page=hotelinfo.jsp" ${requestScope.BASERVICE}>Hotel Info</a><br>
+            <a href="HotelService?page=bookroom.jsp" ${requestScope.BASERVICE}>Book Room</a><br>
+            <a href="HotelService?page=getpackage.jsp" ${requestScope.BASERVICE}>Get Package</a><br>
+            <a href="HotelService?page=bookfitness.jsp" ${requestScope.BASERVICE}>Book Fitness</a><br>
+            <a href="HotelService?page=bookcasino.jsp" ${requestScope.BASERVICE}>Book Casino</a><br>
+            <a href="HotelService?page=ordermeal.jsp" ${requestScope.BASERVICE}>Order Meal</a><br>
+            <a href="HotelService?page=increaserating.jsp" ${requestScope.BASERVICE}>Increase Rating</a><br>
+            <a href="HotelService?page=decreaserating.jsp" ${requestScope.BASERVICE}>Decrease Rating</a><br>
+        </p>
+        <hr>
+        <p>
+            <a href="HotelService?method=closeBA&baRequest=true" ${requestScope.CLOSE}>Close Business Activity</a><br>
+            <a href="HotelService?method=cancelBA&baRequest=true" ${requestScope.CANCEL}>Cancel Business Activity</a><br>
+        </p>
+        <hr>
+        <p>
+            <b>Normal services:</b><br>
+            <a href="HotelService?page=cancelroom.jsp" ${requestScope.SERVICE}>Cancel Room</a><br>
+            <a href="HotelService?page=cancelpackage.jsp" ${requestScope.SERVICE}>Cancel Package</a><br>
+            <a href="HotelService?page=cancelfitness.jsp" ${requestScope.SERVICE}>Cancel Fitness</a><br>
+            <a href="HotelService?page=cancelcasino.jsp" ${requestScope.SERVICE}>Cancel Casino</a><br>
+            <a href="HotelService?page=cancelmeal.jsp" ${requestScope.SERVICE}>Cancel Meal</a><br>
+        </p>
+        <hr>
+    </div>
 
 
 
@@ -105,26 +105,26 @@
 
 
 
-<div id="body" align=center>
+    <div id="body" align=center>
 
-    <p align="left">
-	<b>Author</b><br>
-	<br>
-		Maciej Machulak<br>
-		<a href="mailto:mmachulak-at-redhat.com">mmachulak-at-redhat.com</a><br>
-		JBoss, a division of Red Hat, UK (Intern)<br>
-		University of Newcastle upon Tyne, UK (MSc student)<br>
-		Politechnika Wroclawska, Poland (MSc graduate)<br>
-    </p>
+        <p align="left">
+            <b>Author</b><br>
+            <br>
+            Maciej Machulak<br>
+            <a href="mailto:mmachulak-at-redhat.com">mmachulak-at-redhat.com</a><br>
+            JBoss, a division of Red Hat, UK (Intern)<br>
+            University of Newcastle upon Tyne, UK (MSc student)<br>
+            Politechnika Wroclawska, Poland (MSc graduate)<br>
+        </p>
 
 
-</div>
+    </div>
 
-<div id="footer">
-    <p align=right>
-        &copy; JBoss, a division of Red Hat
-    </p>
-</div>
+    <div id="footer">
+        <p align=right>
+            &copy; JBoss, a division of Red Hat
+        </p>
+    </div>
 
 </div>
 

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookcasino.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookcasino.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookcasino.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookfitness.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookfitness.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookfitness.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -126,13 +126,13 @@
 
     </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
         <div id="code">
 

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookroom.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookroom.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/bookroom.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -99,39 +99,39 @@
 
 <div id="body" align=center>
 
-<p align="center">
+    <p align="center">
 
-    <form action="HotelService?method=bookRoom&baRequest=true&continue=bookroom.jsp" method="post">
-        <fieldset class="medium">
-            <legend>bookRoom()</legend>
+        <form action="HotelService?method=bookRoom&baRequest=true&continue=bookroom.jsp" method="post">
+            <fieldset class="medium">
+                <legend>bookRoom()</legend>
 
-            <p>
-                <label for="username">Username</label>
-                <input type="text" name="parameters" value="user1"/>
-                <br>
-                <label for="password">Password</label>
-                <input type="text" name="parameters" value="pass1"/>
-                <br>
-                <label for="room">Room number</label>
-                <input type="text" name="parameters" value="1"/>
-            </p>
+                <p>
+                    <label for="username">Username</label>
+                    <input type="text" name="parameters" value="user1"/>
+                    <br>
+                    <label for="password">Password</label>
+                    <input type="text" name="parameters" value="pass1"/>
+                    <br>
+                    <label for="room">Room number</label>
+                    <input type="text" name="parameters" value="1"/>
+                </p>
 
-            <input type="submit" value="Invoke Web Service"/>
+                <input type="submit" value="Invoke Web Service"/>
 
-        </fieldset>
-    </form>
+            </fieldset>
+        </form>
 
-</p>
+    </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
-    <div id="code">
+        <div id="code">
 
 <pre>
 @WebMethod<br>
@@ -149,50 +149,50 @@
 throws HotelCustomException, RoomAlreadyOccupiedException
 </pre>
 
-    </div>
+        </div>
 
-</p>
+    </p>
 
-<p>
-</p>
+    <p>
+    </p>
 
-<p align="left">
-    <b>Service description</b>
-    <br>
-    This service books a single hotel room. It must be executed within a Business Activity. It also remembers a
-    refundValue so that if the booking is cancelled within a scope of a Business Activity then the customer does not
-    loose all the money.<br>
-    This service takes following parameters:
-    <ul align="left">
-        <li>Username
-        <li>Password
-        <li>Room Number
-    </ul>
-</p>
-<p align="left">
-    This service returns:
-    <ul align="left">
-        <li>Reservation number
-    </ul>
-</p>
-<p align="left">
-    It throws following exceptions:
-    <ul align="left">
-        <li>HotelCustomException
-        <li>RoomAlreadyOccupiedException
-    </ul>
-</p>
-<p align="left">
-    HotelCustomException is thrown if either the user cannot log in (username, password or both are incorrect)
-    or the room number is incorrect (room does not exist). If the user wants to book a room that is already
-    occupied then RoomAlreadyOccupiedException is thrown.
-</p>
+    <p align="left">
+        <b>Service description</b>
+        <br>
+        This service books a single hotel room. It must be executed within a Business Activity. It also remembers a
+        refundValue so that if the booking is cancelled within a scope of a Business Activity then the customer does not
+        loose all the money.<br>
+        This service takes following parameters:
+        <ul align="left">
+            <li>Username
+            <li>Password
+            <li>Room Number
+        </ul>
+    </p>
+    <p align="left">
+        This service returns:
+        <ul align="left">
+            <li>Reservation number
+        </ul>
+    </p>
+    <p align="left">
+        It throws following exceptions:
+        <ul align="left">
+            <li>HotelCustomException
+            <li>RoomAlreadyOccupiedException
+        </ul>
+    </p>
+    <p align="left">
+        HotelCustomException is thrown if either the user cannot log in (username, password or both are incorrect)
+        or the room number is incorrect (room does not exist). If the user wants to book a room that is already
+        occupied then RoomAlreadyOccupiedException is thrown.
+    </p>
 
-<p align="left">
-    <b>Compensation action</b>
-    <br>
-    <a href="HotelService?page=cancelroom.jsp">cancelRoom()</a>
-</p>
+    <p align="left">
+        <b>Compensation action</b>
+        <br>
+        <a href="HotelService?page=cancelroom.jsp">cancelRoom()</a>
+    </p>
 
 
 </div>

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelcasino.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelcasino.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelcasino.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -118,13 +118,13 @@
 
     </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
         <div id="code">
 
@@ -138,11 +138,11 @@
         </div>
 
     </p>
-<p align="left">
-    <b>BA-related code</b>
-    <br>
+    <p align="left">
+        <b>BA-related code</b>
+        <br>
 
-    <div id="code">
+        <div id="code">
 
 <pre>
 {
@@ -155,22 +155,22 @@
 &#09;//...<br>
 }
 </pre>
-    </div>
+        </div>
 
-</p>
+    </p>
     <p>
     </p>
 
     <p align="left">
         <b>Service description</b>
         <br>
-        This service cancels a given casino token so that it becomes invalid. It does not support execution within a Business Activity.<br> 
-		This service takes following parameters:
+        This service cancels a given casino token so that it becomes invalid. It does not support execution within a Business Activity.<br>
+        This service takes following parameters:
         <ul align="left">
-			<li>Casino token to be cancelled
+            <li>Casino token to be cancelled
         </ul>
     </p>
-		    <p align="left">
+    <p align="left">
         This service returns:
         <ul align="left">
             <li>Boolean value that specifies whether cancelling was successful or not

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelfitness.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelfitness.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelfitness.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -114,10 +114,10 @@
                     <br>
                     <label for="reservation">Reservation</label>
                     <input type="text" name="parameters"/>
-					<br>
+                    <br>
                     <label for="amount">Amount of Fitness Passes</label>
                     <input type="text" name="parameters" value="3"/>
-				</p>
+                </p>
 
                 <input type="submit" value="Invoke Web Service"/>
 
@@ -126,13 +126,13 @@
 
     </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
         <div id="code">
 
@@ -154,16 +154,16 @@
     <p align="left">
         <b>Service description</b>
         <br>
-        This service cancels a given number of fitness passes for the given reservation. It does not support execution within a Business Activity.<br> 
-		This service takes following parameters:
+        This service cancels a given number of fitness passes for the given reservation. It does not support execution within a Business Activity.<br>
+        This service takes following parameters:
         <ul align="left">
             <li>Username
             <li>Password
             <li>Reservation Number
-			<li>Amount of Fitness Passes to be cancelled
+            <li>Amount of Fitness Passes to be cancelled
         </ul>
     </p>
-		    <p align="left">
+    <p align="left">
         This service returns:
         <ul align="left">
             <li>Boolean value that specifies whether cancelling was successful or not.
@@ -177,7 +177,7 @@
     </p>
     <p align="left">
         HotelCustomException is thrown if either the user cannot log in (username, password or both are incorrect)
-        or the reservation number is incorrect (reservation does not exist). 
+        or the reservation number is incorrect (reservation does not exist).
     </p>
 
 </div>

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelmeal.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelmeal.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelmeal.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -126,13 +126,13 @@
 
     </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
         <div id="code">
 
@@ -153,15 +153,15 @@
     <p align="left">
         <b>Service description</b>
         <br>
-        This service books a given number of fitness passes for the given reservation. It does not support execution within a Business Activity.<br> 
-		This service takes following parameters:
+        This service books a given number of fitness passes for the given reservation. It does not support execution within a Business Activity.<br>
+        This service takes following parameters:
         <ul align="left">
             <li>Username
             <li>Password
             <li>Reservation Number
         </ul>
     </p>
-		    <p align="left">
+    <p align="left">
         This service returns:
         <ul align="left">
             <li>Boolean value that specifies whether cancelling was successful or not

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelpackage.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelpackage.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelpackage.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -122,13 +122,13 @@
 
     </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
         <div id="code">
 
@@ -151,14 +151,14 @@
         <b>Service description</b>
         <br>
         This service cancels a unique number of a complimentary package (which might be a bonus for booking a hotel room within a BA). It does not support execution within a Business Activity.<br>
-		This service takes following parameters:
-		<ul>
+        This service takes following parameters:
+        <ul>
             <li>Username
             <li>Password
             <li>Reservation Number
         </ul>
     </p>
-		    <p align="left">
+    <p align="left">
         This service returns:
         <ul align="left">
             <li>Boolean value that specifies whether cancelling was successful or not

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelroom.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelroom.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/cancelroom.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -123,13 +123,13 @@
         </form>
 
     </p>
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
         <div id="code">
 
 <pre>
@@ -151,14 +151,14 @@
         <b>Service description</b>
         <br>
         This service cancels a hotel room. It does not support execution within a Business Activity. This method checks if it is being executed as a compensation action by trying to get the refundValue from the compensation manager. If this value is accessible than it may give a refund to the customer.<br>
-		This service takes following parameters:
+        This service takes following parameters:
         <ul align="left">
             <li>Username
             <li>Password
             <li>Reservation Number
         </ul>
     </p>
-		    <p align="left">
+    <p align="left">
         This service returns:
         <ul align="left">
             <li>Boolean value that specifies whether cancelling was successful or not

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/data.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/data.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/data.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -33,84 +33,84 @@
 
 <div id="main">
 
-<div id="headerLeft">
-    <h1>Business Activity Framework Demo Application</h1>
-</div>
+    <div id="headerLeft">
+        <h1>Business Activity Framework Demo Application</h1>
+    </div>
 
-<div id="headerRight">
-    <img src="jboss.jpg">
-</div>
+    <div id="headerRight">
+        <img src="jboss.jpg">
+    </div>
 
-<div id="headerBottom">
-    Debug window (service return value):
-</div>
+    <div id="headerBottom">
+        Debug window (service return value):
+    </div>
 
-<div id="headerDebug">
-    ${requestScope.DEBUG}
-</div>
+    <div id="headerDebug">
+        ${requestScope.DEBUG}
+    </div>
 
-${requestScope.ACTIVE}
+    ${requestScope.ACTIVE}
 
-<div id="menu">
-    <p>
-        <a href="HotelService?page=index.jsp">Home</a><br>
-        <a href="HotelService?page=about.jsp">About Demo Application</a><br>
-        <a href="HotelService?page=author.jsp">About Author</a><br>
-    </p>
-    <hr>
-    <p>
-        <a href="HotelService?page=initialise.jsp" ${requestScope.INITIALISE}>Initialise data</a><br>
-        <a href="HotelService?method=dropHotelData&baRequest=false" ${requestScope.DROP}>Delete data</a><br>
-        <a href="HotelService?method=getHotelData&baRequest=false" ${requestScope.SHOW}>Show data</a><br>
-    </p>
-    <hr>
-    <p>
-        <a href="HotelService?method=startBA&baRequest=true" ${requestScope.BEGIN}>Begin Business Activity</a><br>
-    </p>
-    <hr>
-    <p>
-        <b>BA services:</b><br>
-        <a href="HotelService?page=hotelinfo.jsp" ${requestScope.BASERVICE}>Hotel Info</a><br>
-        <a href="HotelService?page=bookroom.jsp" ${requestScope.BASERVICE}>Book Room</a><br>
-        <a href="HotelService?page=getpackage.jsp" ${requestScope.BASERVICE}>Get Package</a><br>
-        <a href="HotelService?page=bookfitness.jsp" ${requestScope.BASERVICE}>Book Fitness</a><br>
-        <a href="HotelService?page=bookcasino.jsp" ${requestScope.BASERVICE}>Book Casino</a><br>
-        <a href="HotelService?page=ordermeal.jsp" ${requestScope.BASERVICE}>Order Meal</a><br>
-        <a href="HotelService?page=increaserating.jsp" ${requestScope.BASERVICE}>Increase Rating</a><br>
-        <a href="HotelService?page=decreaserating.jsp" ${requestScope.BASERVICE}>Decrease Rating</a><br>
-    </p>
-    <hr>
-    <p>
-        <a href="HotelService?method=closeBA&baRequest=true" ${requestScope.CLOSE}>Close Business Activity</a><br>
-        <a href="HotelService?method=cancelBA&baRequest=true" ${requestScope.CANCEL}>Cancel Business Activity</a><br>
-    </p>
-    <hr>
-    <p>
-        <b>Normal services:</b><br>
-        <a href="HotelService?page=cancelroom.jsp" ${requestScope.SERVICE}>Cancel Room</a><br>
-        <a href="HotelService?page=cancelpackage.jsp" ${requestScope.SERVICE}>Cancel Package</a><br>
-        <a href="HotelService?page=cancelfitness.jsp" ${requestScope.SERVICE}>Cancel Fitness</a><br>
-        <a href="HotelService?page=cancelcasino.jsp" ${requestScope.SERVICE}>Cancel Casino</a><br>
-        <a href="HotelService?page=cancelmeal.jsp" ${requestScope.SERVICE}>Cancel Meal</a><br>
-    </p>
-    <hr>
-</div>
+    <div id="menu">
+        <p>
+            <a href="HotelService?page=index.jsp">Home</a><br>
+            <a href="HotelService?page=about.jsp">About Demo Application</a><br>
+            <a href="HotelService?page=author.jsp">About Author</a><br>
+        </p>
+        <hr>
+        <p>
+            <a href="HotelService?page=initialise.jsp" ${requestScope.INITIALISE}>Initialise data</a><br>
+            <a href="HotelService?method=dropHotelData&baRequest=false" ${requestScope.DROP}>Delete data</a><br>
+            <a href="HotelService?method=getHotelData&baRequest=false" ${requestScope.SHOW}>Show data</a><br>
+        </p>
+        <hr>
+        <p>
+            <a href="HotelService?method=startBA&baRequest=true" ${requestScope.BEGIN}>Begin Business Activity</a><br>
+        </p>
+        <hr>
+        <p>
+            <b>BA services:</b><br>
+            <a href="HotelService?page=hotelinfo.jsp" ${requestScope.BASERVICE}>Hotel Info</a><br>
+            <a href="HotelService?page=bookroom.jsp" ${requestScope.BASERVICE}>Book Room</a><br>
+            <a href="HotelService?page=getpackage.jsp" ${requestScope.BASERVICE}>Get Package</a><br>
+            <a href="HotelService?page=bookfitness.jsp" ${requestScope.BASERVICE}>Book Fitness</a><br>
+            <a href="HotelService?page=bookcasino.jsp" ${requestScope.BASERVICE}>Book Casino</a><br>
+            <a href="HotelService?page=ordermeal.jsp" ${requestScope.BASERVICE}>Order Meal</a><br>
+            <a href="HotelService?page=increaserating.jsp" ${requestScope.BASERVICE}>Increase Rating</a><br>
+            <a href="HotelService?page=decreaserating.jsp" ${requestScope.BASERVICE}>Decrease Rating</a><br>
+        </p>
+        <hr>
+        <p>
+            <a href="HotelService?method=closeBA&baRequest=true" ${requestScope.CLOSE}>Close Business Activity</a><br>
+            <a href="HotelService?method=cancelBA&baRequest=true" ${requestScope.CANCEL}>Cancel Business Activity</a><br>
+        </p>
+        <hr>
+        <p>
+            <b>Normal services:</b><br>
+            <a href="HotelService?page=cancelroom.jsp" ${requestScope.SERVICE}>Cancel Room</a><br>
+            <a href="HotelService?page=cancelpackage.jsp" ${requestScope.SERVICE}>Cancel Package</a><br>
+            <a href="HotelService?page=cancelfitness.jsp" ${requestScope.SERVICE}>Cancel Fitness</a><br>
+            <a href="HotelService?page=cancelcasino.jsp" ${requestScope.SERVICE}>Cancel Casino</a><br>
+            <a href="HotelService?page=cancelmeal.jsp" ${requestScope.SERVICE}>Cancel Meal</a><br>
+        </p>
+        <hr>
+    </div>
 
 
-<div id="body" align=center>
+    <div id="body" align=center>
 
-<p align="center">
-${requestScope.DEBUG}
-</p>
+        <p align="center">
+            ${requestScope.DEBUG}
+        </p>
 
 
-</div>
+    </div>
 
-<div id="footer">
-    <p align=right>
-        &copy; JBoss, a division of Red Hat
-    </p>
-</div>
+    <div id="footer">
+        <p align=right>
+            &copy; JBoss, a division of Red Hat
+        </p>
+    </div>
 
 </div>
 

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/decreaserating.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/decreaserating.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/decreaserating.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -99,39 +99,39 @@
 
 <div id="body" align=center>
 
-<p align="center">
+    <p align="center">
 
-    <form action="HotelService?method=decreaseHotelRating&baRequest=true&continue=decreaserating.jsp" method="post">
-        <fieldset class="medium">
-            <legend>decreaseHotelRating()</legend>
+        <form action="HotelService?method=decreaseHotelRating&baRequest=true&continue=decreaserating.jsp" method="post">
+            <fieldset class="medium">
+                <legend>decreaseHotelRating()</legend>
 
-            <p>
-                <label for="username">Username</label>
-                <input type="text" name="parameters" value="user1"/>
-                <br>
-                <label for="password">Password</label>
-                <input type="text" name="parameters" value="pass1"/>
-                <br>
-                <label for="points">Points</label>
-                <input type="text" name="parameters" value="4"/>
-            </p>
+                <p>
+                    <label for="username">Username</label>
+                    <input type="text" name="parameters" value="user1"/>
+                    <br>
+                    <label for="password">Password</label>
+                    <input type="text" name="parameters" value="pass1"/>
+                    <br>
+                    <label for="points">Points</label>
+                    <input type="text" name="parameters" value="4"/>
+                </p>
 
-            <input type="submit" value="Invoke Web Service"/>
+                <input type="submit" value="Invoke Web Service"/>
 
-        </fieldset>
-    </form>
+            </fieldset>
+        </form>
 
-</p>
+    </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
-    <div id="code">
+        <div id="code">
 
 <pre>
 @WebMethod<br>
@@ -144,43 +144,43 @@
 throws HotelCustomException
 </pre>
 
-    </div>
+        </div>
 
-</p>
+    </p>
 
-<p>
-</p>
+    <p>
+    </p>
 
-<p align="left">
-    <b>Service description</b>
-    <br>
-    This service decreases the hotel's rating with the number of given points. The user may use this service only within a transaction (however, this
-    service may be also used as a compensation action).<br>
-    This service takes following parameters:
-    <ul align="left">
-        <li>Username
-        <li>Password
-        <li>Number of points
-    </ul>
-</p>
-<p align="left">
-    This service does not return anything.
-</p>
-<p align="left">
-    It throws following exceptions:
-    <ul align="left">
-        <li>HotelCustomException
-    </ul>
-</p>
-<p align="left">
-    HotelCustomException is thrown if the user cannot log in (username, password or both are incorrect).
-</p>
+    <p align="left">
+        <b>Service description</b>
+        <br>
+        This service decreases the hotel's rating with the number of given points. The user may use this service only within a transaction (however, this
+        service may be also used as a compensation action).<br>
+        This service takes following parameters:
+        <ul align="left">
+            <li>Username
+            <li>Password
+            <li>Number of points
+        </ul>
+    </p>
+    <p align="left">
+        This service does not return anything.
+    </p>
+    <p align="left">
+        It throws following exceptions:
+        <ul align="left">
+            <li>HotelCustomException
+        </ul>
+    </p>
+    <p align="left">
+        HotelCustomException is thrown if the user cannot log in (username, password or both are incorrect).
+    </p>
 
-<p align="left">
-    <b>Compensation action</b>
-    <br>
-    <a href="HotelService?page=increaserating.jsp">increaseHotelRating()</a>
-</p>
+    <p align="left">
+        <b>Compensation action</b>
+        <br>
+        <a href="HotelService?page=increaserating.jsp">increaseHotelRating()</a>
+    </p>
 
 
 </div>

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/getpackage.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/getpackage.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/getpackage.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -124,13 +124,13 @@
 
     </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
         <div id="code">
 

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/hotelinfo.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/hotelinfo.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/hotelinfo.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -110,13 +110,13 @@
 
     </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
         <div id="code">
 
@@ -137,17 +137,17 @@
         <b>Service description</b>
         <br>
         This method simply returns a String object that contains information about the hotel. It may be executed within
-		or outside a Business Activity. This method is read-only and does not require any compensation to be specified.<br>
-		This service does not require any parameters.<br>
-		This service does not throw any exceptions.
+        or outside a Business Activity. This method is read-only and does not require any compensation to be specified.<br>
+        This service does not require any parameters.<br>
+        This service does not throw any exceptions.
     </p>
-	    <p align="left">
+    <p align="left">
         This service returns:
         <ul align="left">
             <li>Service description
         </ul>
     </p>
-	<p align="left">
+    <p align="left">
         <b>Compensation action</b>
         <br>
         None

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/increaserating.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/increaserating.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/increaserating.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -99,39 +99,39 @@
 
 <div id="body" align=center>
 
-<p align="center">
+    <p align="center">
 
-    <form action="HotelService?method=increaseHotelRating&baRequest=true&continue=increaserating.jsp" method="post">
-        <fieldset class="medium">
-            <legend>increaseHotelRating()</legend>
+        <form action="HotelService?method=increaseHotelRating&baRequest=true&continue=increaserating.jsp" method="post">
+            <fieldset class="medium">
+                <legend>increaseHotelRating()</legend>
 
-            <p>
-                <label for="username">Username</label>
-                <input type="text" name="parameters" value="user1"/>
-                <br>
-                <label for="password">Password</label>
-                <input type="text" name="parameters" value="pass1"/>
-                <br>
-                <label for="points">Points</label>
-                <input type="text" name="parameters" value="4"/>
-            </p>
+                <p>
+                    <label for="username">Username</label>
+                    <input type="text" name="parameters" value="user1"/>
+                    <br>
+                    <label for="password">Password</label>
+                    <input type="text" name="parameters" value="pass1"/>
+                    <br>
+                    <label for="points">Points</label>
+                    <input type="text" name="parameters" value="4"/>
+                </p>
 
-            <input type="submit" value="Invoke Web Service"/>
+                <input type="submit" value="Invoke Web Service"/>
 
-        </fieldset>
-    </form>
+            </fieldset>
+        </form>
 
-</p>
+    </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
-    <div id="code">
+        <div id="code">
 
 <pre>
 @WebMethod<br>
@@ -144,43 +144,43 @@
 throws HotelCustomException
 </pre>
 
-    </div>
+        </div>
 
-</p>
+    </p>
 
-<p>
-</p>
+    <p>
+    </p>
 
-<p align="left">
-    <b>Service description</b>
-    <br>
-    This service increases the hotel's rating with the number of given points. The user may use this service only within a transaction (however, this
-    service may be also used as a compensation action).<br>
-    This service takes following parameters:
-    <ul align="left">
-        <li>Username
-        <li>Password
-        <li>Number of points
-    </ul>
-</p>
-<p align="left">
-    This service does not return anything.
-</p>
-<p align="left">
-    It throws following exceptions:
-    <ul align="left">
-        <li>HotelCustomException
-    </ul>
-</p>
-<p align="left">
-    HotelCustomException is thrown if the user cannot log in (username, password or both are incorrect).
-</p>
+    <p align="left">
+        <b>Service description</b>
+        <br>
+        This service increases the hotel's rating with the number of given points. The user may use this service only within a transaction (however, this
+        service may be also used as a compensation action).<br>
+        This service takes following parameters:
+        <ul align="left">
+            <li>Username
+            <li>Password
+            <li>Number of points
+        </ul>
+    </p>
+    <p align="left">
+        This service does not return anything.
+    </p>
+    <p align="left">
+        It throws following exceptions:
+        <ul align="left">
+            <li>HotelCustomException
+        </ul>
+    </p>
+    <p align="left">
+        HotelCustomException is thrown if the user cannot log in (username, password or both are incorrect).
+    </p>
 
-<p align="left">
-    <b>Compensation action</b>
-    <br>
-    <a href="HotelService?page=decreaserating.jsp">decreaseHotelRating()</a>
-</p>
+    <p align="left">
+        <b>Compensation action</b>
+        <br>
+        <a href="HotelService?page=decreaserating.jsp">decreaseHotelRating()</a>
+    </p>
 
 
 </div>

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/index.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/index.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/index.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <%
@@ -141,31 +141,49 @@
     <hr>
 </div>
 
-
-
-
-
-
-
-
-
 <div id="body" align=center>
 
+    <h1>Business Activity Framework Demo Application</h1>
+    <p align="left">
+        <b>Overview</b><br>
+        The Business Activity Framework is a fully novel comprehensive solution for building
+        transactional Web Services with accordance to the model defined in the WS-BusinessActivity
+        specification. It provides a lightweight API that consists of a set of easy to learn and
+        intuitive annotations and operations. It significantly facilitates development of transaction
+        aware Web Services and releases programmers from mixing transaction related code with business
+        logic of their applications.
+        Web Services must be simply annotated with a set of defined annotations and the framework
+        transparently applies all necessary transactional mechanisms to enable participation in
+        long-running Business Activities.
+    </p>
+    <p align="left">
+        <b>Quick start</b><br>
+        This is a simple Web-based demo application for the novel Business Activity Framework. It helps with
+        understanding the basic concepts of using framework's API. To quickly start using this application
+        simply:
+        <ul>
+            <li>Initialise data on the server -> <a href="HotelService?page=initialise.jsp">click here</a>
+            <li>Start the Business Activity -> <a href="HotelService?method=startBA&baRequest=true">click here</a>
+            <li>Use any of provided BA Services
+            <li>End the Business Activity - by either <a href="HotelService?method=closeBA&baRequest=true">completing</a> or <a href="HotelService?method=cancelBA&baRequest=true">cancelling</a> the work.
+        </ul>
+    </p>
+    <p align="left">
+        Please follow this <a href="about.jsp">link</a> to learn more about the application.
 
-
-        <h1>Business Activity Framework Demo Application</h1>
+    </p>
+    <p align="left">
+        BA Framework version: 0.1.0<br>
+        BA Demo Application version: 0.1.0<br>
+    </p>
     <p align="center">
-		This is a demo application for the novel Business Activity Framework.<br> 
-		Please follow this <a href="about.html">link</a> to learn more about the application.<br>
-		<br>
-		<br>
         <a href="http://labs.jboss.com/jbosstm/baframework">http://labs.jboss.com/jbosstm/baframework</a><br>
-		<br>
-		<br>
-		Maciej Machulak<br>
-		<a href="mailto:mmachulak-at-redhat.com">mmachulak-at-redhat.com</a><br>
-		July 27, 2007<br>
-		JBoss, a division of Red Hat.
+        <br>
+        <br>
+        Maciej Machulak<br>
+        <a href="mailto:mmachulak-at-redhat.com">mmachulak-at-redhat.com</a><br>
+        August 03, 2007<br>
+        JBoss, a division of Red Hat.
     </p>
 
 

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/initialise.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/initialise.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/initialise.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -98,57 +98,57 @@
 
 <div id="body" align=center>
 
-<p align="center">
+    <p align="center">
 
-<form action="HotelService?method=initialiseData&baRequest=false&continue=initialise.jsp" method="post">
-<fieldset class="medium">
-<legend>Initialise beans</legend>
+        <form action="HotelService?method=initialiseData&baRequest=false&continue=initialise.jsp" method="post">
+            <fieldset class="medium">
+                <legend>Initialise beans</legend>
 
-<p>
- <label for="username1">Username #1</label>
- <input type="text" name="username1" value="user1"/>
- <br>
- <label for="password1">Password #1</label>
- <input type="text" name="password1" value="pass1"/>
-</p>
+                <p>
+                    <label for="username1">Username #1</label>
+                    <input type="text" name="username1" value="user1"/>
+                    <br>
+                    <label for="password1">Password #1</label>
+                    <input type="text" name="password1" value="pass1"/>
+                </p>
 
-<p>
- <label for="username2">Username #2</label>
- <input type="text" name="username2" value="user2"/>
- <br>
- <label for="password2">Password #2</label>
- <input type="text" name="password2" value="pass2"/>
-</p>
+                <p>
+                    <label for="username2">Username #2</label>
+                    <input type="text" name="username2" value="user2"/>
+                    <br>
+                    <label for="password2">Password #2</label>
+                    <input type="text" name="password2" value="pass2"/>
+                </p>
 
-<p>
- <label for="username3">Username #3</label>
- <input type="text" name="username3" value="user3"/>
- <br>
- <label for="password3">Password #3</label>
- <input type="text" name="password3" value="pass3"/>
-</p>
+                <p>
+                    <label for="username3">Username #3</label>
+                    <input type="text" name="username3" value="user3"/>
+                    <br>
+                    <label for="password3">Password #3</label>
+                    <input type="text" name="password3" value="pass3"/>
+                </p>
 
-<p>
-</p>
-<p>
- <label for="numberOfRooms"># of Rooms</label>
- <input type="text" name="numberOfRooms" value="5"/>
-</p>
+                <p>
+                </p>
+                <p>
+                    <label for="numberOfRooms"># of Rooms</label>
+                    <input type="text" name="numberOfRooms" value="8"/>
+                </p>
 
-<input type="submit" value="Initialise"/>
+                <input type="submit" value="Initialise"/>
 
-</fieldset>
-</form>
+            </fieldset>
+        </form>
 
-</p>
+    </p>
 
 
 </div>
 
 <div id="footer">
-<p align=right>
-&copy; JBoss, a division of Red Hat
-</p>
+    <p align=right>
+        &copy; JBoss, a division of Red Hat
+    </p>
 </div>
 
 </div>

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/orderbar.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/orderbar.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/orderbar.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -123,13 +123,13 @@
 
     </p>
 
-<p align="left">
-    <b>Method's class</b><br>
-	com.jboss.ba.demo.service.HotelImpl
-</p>
+    <p align="left">
+        <b>Method's class</b><br>
+        com.jboss.ba.demo.service.HotelImpl
+    </p>
 
-<p align="left">
-    <b>Method's signature</b><br>
+    <p align="left">
+        <b>Method's signature</b><br>
 
         <div id="code">
 

Modified: labs/jbosstm/workspace/baframework/trunk/demo/resources/web/ordermeal.jsp
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/resources/web/ordermeal.jsp	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/resources/web/ordermeal.jsp	2007-08-03 14:06:09 UTC (rev 13996)
@@ -1,24 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <!--
-  JBoss, Home of Professional Open Source
-  Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 along with this distribution; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-  MA  02110-1301, USA.
-  
-  (C) 2007,
-  @author JBoss Inc.
+JBoss, Home of Professional Open Source
+Copyright 2007, Red Hat Middleware LLC, 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 General Public License, v. 2.0.
+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 General Public License for more details.
+You should have received a copy of the GNU General Public License,
+v. 2.0 along with this distribution; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA  02110-1301, USA.
+
+(C) 2007,
+ at author JBoss Inc.
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/client/HotelService.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/client/HotelService.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/client/HotelService.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -50,10 +50,10 @@
 import java.util.List;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
+ * This is client of the Hotel Web Service.
  *
- * This is the client of the Hotel Web Service.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class HotelService extends HttpServlet
 {
@@ -164,6 +164,8 @@
                             if (methodName.equals("startBA"))
                             {
                                 log.info("Starting Business Activity");
+                                resetView();
+
                                 UserBusinessActivity businessActivity = UserBusinessActivityFactory.userBusinessActivity();
                                 startBusinessActivity(businessActivity);
                                 theSession.setAttribute("uba",businessActivity);
@@ -253,7 +255,6 @@
                                 activeResponse = "";
                                 methodResponse = "Transaction closed successfully.";
                                 state = 1;
-                                resetCompensationList();
                             }
                             else if (methodName.equals("cancelBA"))
                             {
@@ -262,7 +263,6 @@
                                 activeResponse = "";
                                 methodResponse = "Transaction cancelled successfully.";
                                 state = 1;
-                                resetCompensationList();
                             }
                             else
                             {
@@ -491,14 +491,17 @@
         hotel.dropHotelData();
     }
 
-    private void resetCompensationList()
+    private void resetView()
     {
-        hotel.resetCompensationList();
+        hotel.resetView();
     }
 
     private UserBusinessActivity startBusinessActivity(UserBusinessActivity uba)
             throws SystemException, WrongStateException
     {
+        // Notifying the Web Services to switch Compensation View on
+        hotel.compensationView(true);
+
         // Starting the transaction
         uba.begin();
         return uba;
@@ -514,6 +517,11 @@
     private void cancelBusinessActivity(UserBusinessActivity uba)
             throws SystemException, WrongStateException, UnknownTransactionException
     {
+        // Notifying the Web Services to switch Compensation View off
+        hotel.compensationView(false);
+        hotel.showCompensation();
+
+        // Cancelling the transaction
         uba.cancel();
     }
 

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/CustomerEntityImpl.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/CustomerEntityImpl.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/CustomerEntityImpl.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -26,8 +26,10 @@
 import java.util.ArrayList;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 8, 2007
+ * Entity bean that represents a customer object.
+ * 
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 @Entity
 @Table(name = "customer")

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/Hotel.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/Hotel.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/Hotel.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,19 +23,13 @@
 import javax.jws.WebService;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
- * Interface of the stateless session bean.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 @WebService
 public interface Hotel
 {
-    // Control methods
-    public void initialiseHotel(String[][] users,Integer rooms);
-    public void dropHotelData();
-    public void resetCompensationList();
-    public String getHotelData();
+    // Services:
 
     // - READ_ONLY
     public String getHotelInfo();
@@ -62,4 +56,13 @@
     public boolean orderExtraMiniBar(String username, String password, Integer reservationNumber)  throws HotelCustomException;
     public boolean cancelExtraMiniBar(String username, String password, Integer reservationNumber) throws HotelCustomException;
 
+
+    // Control methods
+    public void initialiseHotel(String[][] users,Integer rooms);
+    public void dropHotelData();
+    public void showCompensation();
+    public void compensationView(boolean value);
+    public void resetView();
+    public String getHotelData();
+
 }

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/HotelCustomException.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/HotelCustomException.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/HotelCustomException.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,8 +21,11 @@
 package com.jboss.ba.demo.service;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 9, 2007
+ * HotelCustomException is thrown in case any errors during execution of the
+ * business logic of any of exposed methods.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class HotelCustomException extends Exception
 {

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/HotelImpl.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/HotelImpl.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/HotelImpl.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -41,17 +41,17 @@
 import com.jboss.ba.demo.service.helper.CompensationView;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This is the implementation of a stateless session bean with all the business logic used
  * by the demo application. Some methods have not been fully implemented but they provide
  * information (through logging or simple output) about the sequence of events that occur
  * within a single Business Activity.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 @Stateless
 @Remote(Hotel.class)
- at WebService(name="Hotel") // (name = "Bistro2", targetNamespace = "http://www.jboss.org/txbridgedemoejb", serviceName = "BistroService")
+ at WebService(name="Hotel")
 @SOAPBinding(style = SOAPBinding.Style.RPC)
 @HandlerChain(file = "jaxws-handlers-server.xml")
 @BACompensation(serviceClass=HotelImpl.class,ejbInterface=Hotel.class,jndiName="bademo/HotelImpl/remote")
@@ -103,6 +103,7 @@
         {
             log.info(i);
             RoomEntityImpl room = new RoomEntityImpl();
+			room.setRoomNumber(i+1);
             room.setRoomName("Room " + (i+1));
             em.persist(room);
         }
@@ -147,9 +148,23 @@
     }
 
     @WebMethod
-    public void resetCompensationList()
+    public void showCompensation()
     {
-        log.info("resetCompensationList()");        
+        hotelView.showCompensation();
+    }
+
+    @WebMethod
+    public void compensationView(boolean value)
+    {
+        compensationView.turn(value);
+    }
+
+    @WebMethod
+    public void resetView()
+    {
+        log.info("resetView()");
+        hotelView.resetHotelView();
+        compensationView.resetCompensationView();
         compensationView.resetCompensationList();
     }
 
@@ -260,7 +275,7 @@
         if (oe != null)
         {
             hotelView.addMessage("Room occupied - throwing exception");
-            throw new HotelCustomException("Room occupied");
+            throw new RoomAlreadyOccupiedException("Room occupied");
         }
         hotelView.addMessage("Creating order");
         OrderEntityImpl order = new OrderEntityImpl(customer,room);
@@ -662,8 +677,8 @@
     {
         try
         {
-            return (RoomEntityImpl) em.createQuery("select C from RoomEntityImpl C where C.id like :id")
-                    .setParameter("id",roomNumber)
+            return (RoomEntityImpl) em.createQuery("select C from RoomEntityImpl C where C.roomNumber like :roomNumber")
+                    .setParameter("roomNumber",roomNumber)
                     .getSingleResult();
         }
         catch ( NoResultException ne )

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/MealOrder.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/MealOrder.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/MealOrder.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,8 +21,8 @@
 package com.jboss.ba.demo.service;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 9, 2007
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class MealOrder
 {

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/OrderEntityImpl.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/OrderEntityImpl.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/OrderEntityImpl.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -25,8 +25,10 @@
 import java.util.*;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 9, 2007
+ * Entity bean that represents the order object.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 @Entity
 @Table(name="orders")

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/RoomAlreadyOccupiedException.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/RoomAlreadyOccupiedException.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/RoomAlreadyOccupiedException.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,8 +21,11 @@
 package com.jboss.ba.demo.service;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
+ * This exception is thrown if the room that wants to be booked is already occupied
+ * (has an order associated with it)
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class RoomAlreadyOccupiedException extends Exception
 {

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/RoomEntityImpl.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/RoomEntityImpl.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/RoomEntityImpl.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -24,14 +24,17 @@
 import java.io.Serializable;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 8, 2007
+ * Entity bean that represents the room object.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 @Entity
 @Table(name = "room")
 public class RoomEntityImpl implements Serializable
 {
     private int id;
+	private int roomNumber;
     private String roomName;
     private OrderEntityImpl order;
 
@@ -46,12 +49,21 @@
         return id;
     }
 
+    public void setRoomNumber(int roomNumber)
+    {
+        this.roomNumber = roomNumber;
+    }
+
+    public int getRoomNumber()
+    {
+        return roomNumber;
+    }
+
     public void setId(int id)
     {
         this.id = id;
     }
 
-
     public String getRoomName()
     {
         return roomName;
@@ -78,7 +90,7 @@
     public String toString()
     {
         StringBuffer sb = new StringBuffer();
-        sb.append("ID: ").append(id);
+        sb.append("Room no: ").append(roomNumber);
         sb.append(" Name: ").append(roomName);
         return sb.toString();
     }

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/helper/CompensationView.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/helper/CompensationView.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/helper/CompensationView.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -20,6 +20,8 @@
  */
 package com.jboss.ba.demo.service.helper;
 
+import org.apache.log4j.Logger;
+
 import javax.swing.*;
 import java.util.ArrayList;
 import java.util.List;
@@ -31,10 +33,13 @@
  */
 public class CompensationView extends JFrame
 {
+    private static Logger log = Logger.getLogger(CompensationView.class);
+
     private volatile static CompensationView compensationView;
 
     private JTextArea textArea;
     private JScrollPane scrollPane;
+    private boolean compensationOn;
 
     private List<String> compensationList;
 
@@ -59,6 +64,8 @@
         repaint();
 
         compensationList = new ArrayList<String>();
+
+        compensationOn = true;
     }
 
     public static CompensationView getSingletonInstance()
@@ -76,19 +83,34 @@
         return compensationView;
     }
 
+    public void turn(boolean value)
+    {
+        compensationOn = value;
+    }
+
     public void resetCompensationList()
     {
         compensationList.clear();
     }
 
+    public void resetCompensationView()
+    {
+        textArea.setText("");
+    }
+
     public void compensationMethod(String compensationMethod)
     {
-        compensationList.add(compensationMethod);
-        showCompensation(compensationList);
+        if (compensationOn)
+        {
+            log.info("compensationMethod()");
+            compensationList.add(compensationMethod);
+            showCompensation(compensationList);
+        }
     }
 
     private void showCompensation(List<String> compensationList)
     {
+        log.info("showCompensation()");
         textArea.setText("");
         textArea.append("Compensation order:\n");
         int counter = 0;

Modified: labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/helper/HotelView.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/helper/HotelView.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/demo/src/com/jboss/ba/demo/service/helper/HotelView.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -71,6 +71,11 @@
         return hotelView;
     }
 
+    public void resetHotelView()
+    {
+        textArea.setText("");
+    }
+
     public void newMethod(String methodName)
     {
         textArea.append("######## " + methodName + " ########\n");
@@ -86,4 +91,11 @@
         textArea.append("--- end ---\n");
     }
 
+    public void showCompensation()
+    {
+        textArea.append("\n");
+        textArea.append("#-#-#-#-#-#-#-# COMPENSATION #-#-#-#-#-#-#-#\n");
+        textArea.append("\n");
+    }
+
 }

Modified: labs/jbosstm/workspace/baframework/trunk/docs/BAFrameworkAPI.docx
===================================================================
(Binary files differ)

Modified: labs/jbosstm/workspace/baframework/trunk/docs/BAFrameworkMG.docx
===================================================================
(Binary files differ)

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/BATransactionManager.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/BATransactionManager.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/BATransactionManager.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -37,12 +37,12 @@
 import java.util.concurrent.ConcurrentMap;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This is the main component - the Business Activity Transaction Manager. It is responsible
  * for associating fully unique task identifiers to different invocations. It also knows about
  * all existing components responsible for single transactions.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class BATransactionManager
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/SingleTransactionManager.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/SingleTransactionManager.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/SingleTransactionManager.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -44,13 +44,13 @@
 import org.apache.log4j.Logger;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * The Single Transaction Manager component is responsible for maintaining information about
  * a single Business Activity. It knows about the exact order of tasks that have been executed
  * within the Business Activity, the participants that have been instantiated for this specific
  * Business Activity and about participant managers responsible for those participants.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class SingleTransactionManager implements Serializable
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAAgreementType.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAAgreementType.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAAgreementType.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,7 +21,10 @@
 package org.jboss.txbridge.ba.annotation;
 
 /**
- * Agreement protocols the BA Service may enlist for.
+ * List of supported agreement protocols the BA Service may enlist for. Those are
+ * the protocols defined in the WS-BusinessActivity specification:
+ * PARTICIPANT_COMPLETION - Business Agreement With Participant Completion
+ * COORDINATOR_COMPLETION - Business Agreement With Coordinator Completion
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensatedBy.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensatedBy.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensatedBy.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,7 +23,17 @@
 import java.lang.annotation.*;
 
 /**
- * Specifies the compensation action and a type of compensation for a single service (method).
+ * Specifies all information related to the compensation action for a single service (method).
+ * Following information is required:
+ * - name of the compensation action
+ * - location of the compensation action
+ * - should the compensation action be executed only once in a BA
+ * - what data should be remembered so that compensation can be executed
+ * - what is the mode of compensation (is compensation action present as a method of an EJB,
+ *   POJO or a Web Service)
+ * 
+ * All set member values of this annotation override those which were set using the @BACompensation
+ * annotation.
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1
@@ -42,8 +52,6 @@
     public String address() default "";
     public String namespace() default "";
     public String serviceName() default "";
-    public String specifier() default "";
-    public Class[] executionClass() default {};
     public boolean single() default false;
     public BAParameterMatch match() default BAParameterMatch.STRICT;
     public BACompensationOrder order() default BACompensationOrder.NORMAL;

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensation.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensation.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensation.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -24,6 +24,8 @@
 
 /**
  * Specifies the compensation action and a type of compensation for a group of services (class).
+ * This annotation can be used to provide common values so that it is not necessary to explicitly
+ * define all required member values of the @CompensatedBy annotation.
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1
@@ -41,5 +43,4 @@
     public String address() default "";
     public String namespace() default "";
     public String serviceName() default "";
-    public Class[] executionInterface() default {};
 }

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationMode.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationMode.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationMode.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,7 +21,9 @@
 package org.jboss.txbridge.ba.annotation;
 
 /**
- * List of supported compensation modes.
+ * List of supported compensation modes. The compensation mode defines how a compensation
+ * action should be accessed (if it is located in POJO class, if it should be looked up
+ * as it is exposed as a method of an EJB, etc).
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationOrder.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationOrder.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationOrder.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,7 +21,9 @@
 package org.jboss.txbridge.ba.annotation;
 
 /**
- * List of supported compensation order types. 
+ * List of supported compensation order types. Compensation order defines if the
+ * compensation action should be executed as the first, the last one or normally
+ * among other compensation actions of a Business Activity.
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationType.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationType.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BACompensationType.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,7 +21,8 @@
 package org.jboss.txbridge.ba.annotation;
 
 /**
- * List of supported compensation types.
+ * List of supported compensation types. Compensation type defines what data needs
+ * to be remembered so that compensation action can be executed.
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAParam.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAParam.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAParam.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,7 +23,8 @@
 import java.lang.annotation.*;
 
 /**
- * Annotates the service's parameter so that it can be processed by the compensation mechanism.
+ * Annotates the service's parameter so that it can be processed by the compensation mechanism
+ * and used as an argument or within a compensation action.
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAResult.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAResult.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAResult.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,7 +23,8 @@
 import java.lang.annotation.*;
 
 /**
- * Annotates the service's return value to be processed by the compensation mechanism;
+ * Annotates the service's return value to be processed by the compensation mechanism
+ * so that it can be used as an argument or within a compensation action.
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAService.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAService.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAService.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -24,6 +24,7 @@
 
 /**
  * Specifies the service in terms of its state management and the agreement protocol the
+ * service wants to enlist for.
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAServiceType.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAServiceType.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/annotation/BAServiceType.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,7 +21,9 @@
 package org.jboss.txbridge.ba.annotation;
 
 /**
- * Supported Business Activity service types.
+ * Supported Business Activity service types. This type defines if a service modifies
+ * any data (MODIFY) and should provide compensation action or if it is READONLY and
+ * can exit the Business Activity after finishing its work.
  *
  * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1 

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/aspect/JaxWSBAProcessingAspect.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/aspect/JaxWSBAProcessingAspect.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/aspect/JaxWSBAProcessingAspect.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -33,10 +33,14 @@
 import java.lang.reflect.Method;
 
 /**
- * This aspect intercepts a call to a Business Activity service and applies necessary transaction-related
- * mechanisms.
+ * This aspect provides three advices:
+ * - process() - intercepts a call to a Business Activity service and applies necessary 
+ * transaction-related mechanisms (handling a single invocation). 
+ * - access() - used for transparently injecting the compensation manager associated
+ * with the current thread of execution.
+ * - access() - used to prevent from setting the compensation manager object.
  *
- * @author Maciej P. Machulak
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
  * @version 0.1
  */
 public class JaxWSBAProcessingAspect
@@ -55,7 +59,7 @@
      *
      * @param invocation is the method's invocation.
      * @return the object returned by the method.
-     * @throws Throwable ...
+     * @throws Throwable is any exception that should be propagated.
      */
     public Object process(MethodInvocation invocation) throws Throwable
     {
@@ -134,18 +138,42 @@
         }
     }
 
+    /**
+     * Advice that processes methods execution without applying any transactional
+	 * mechanisms.
+     *
+     * @param invocation is the method's invocation.
+     * @return the object returned by the method.
+     * @throws Throwable is any exception that should be propagated.
+     */
     private Object internalProcess(MethodInvocation invocation) throws Throwable
     {
         log.info("internalProcess()");
         return invocation.invokeNext();
     }
 
+    /**
+     * Advice that returns the required CompensationManager object for every read
+     * access to the CompensationManager object annotated by the @BACompensationManagement
+	 * annotation.
+     *
+     * @param invocation is the read access of the CompensationManager field.
+     * @return the object returned by the method.
+     * @throws Throwable is any exception that should be propagated.
+     */
     public Object access(FieldReadInvocation invocation) throws Throwable
     {
         log.info("Returning compensation manager for thread: " + Thread.currentThread().getId());
         return cmp.getCompensationManager(Thread.currentThread().getId());
     }
 
+    /**
+     * Advice that prevents from setting the annotated CompensationManager object. 
+     *
+     * @param invocation is the write access of the CompensationManager field.
+     * @return the object returned by the method.
+     * @throws Throwable is any exception that should be propagated.
+     */
     public Object access(FieldWriteInvocation invocation) throws Throwable
     {
         throw new RuntimeException("Setting a @BACompensationManagement variable is illegal.");

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationDataProvider.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationDataProvider.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationDataProvider.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,8 +21,8 @@
 package org.jboss.txbridge.ba.compensation;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 17, 2007
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public interface CompensationDataProvider extends CompensationManager
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationDataProviderImpl.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationDataProviderImpl.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationDataProviderImpl.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -24,8 +24,8 @@
 import org.apache.log4j.Logger;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 17, 2007
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationDataProviderImpl extends CompensationManagerImpl implements CompensationDataProvider
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManager.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManager.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManager.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,10 +21,10 @@
 package org.jboss.txbridge.ba.compensation;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * Interface of the compensation manager.
  *
- * Interface of the compensation manager.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public interface CompensationManager
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManagerImpl.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManagerImpl.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManagerImpl.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -24,13 +24,14 @@
 import org.jboss.txbridge.ba.participant.Participant;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * Compensation Manager provides a lightweight API for the Business Programmer so that
+ * it can store any additional data which may be required by the compensation action.
+ * In low-level details it wraps a participant associated with the current service
+ * invocation.
+ * Compensation Manager is automatically injected by the underlying middleware mechanisms.
  *
- * This class wraps the participant and provides a lightweight API for the business programmer
- * to store and retrieve objects. It automatically associates the required task id so that correct
- * data is stored and retrieved. An object of this class is injected into the business logic so
- * that the programmer does not have to worry about anything.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationManagerImpl implements CompensationManager
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManagerProvider.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManagerProvider.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/CompensationManagerProvider.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -26,11 +26,12 @@
 import java.util.concurrent.ConcurrentHashMap;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 24, 2007
+ * This component is responsible for ensuring that a proper Compensation Manager is provided
+ * during execution of a service or a compensation action. It associates compensation managers
+ * with proper threads of execution.
  *
- * This component is responsible for ensuring that a proper Compensation Manager is provided
- * during execution of a service or a compensation action.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationManagerProvider
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/DummyCompensationManager.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/DummyCompensationManager.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/compensation/DummyCompensationManager.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,11 +21,12 @@
 package org.jboss.txbridge.ba.compensation;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 5, 2007
+ * This class represents a dummy compensation manager. Such dummy compensation manager is used
+ * if a Web Service is invoked outside the scope of the Business Activity. It provides same
+ * methods as a normal compensation manager but does not store any values and always returns null.
  *
- * This class represents a dummy compensation manager. Such dummy compensation manager is used
- * if a Web Service is invoked outside the scope of the Business Activity.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class DummyCompensationManager implements CompensationManager
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationData.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationData.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationData.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -25,11 +25,11 @@
 import java.io.Serializable;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
+ * This class represents the basic compensation data that is used for compensation. 
+ * It provides implementation of methods to store and retrieve data with given identifiers.
  *
- * This class represents the basic compensation data that is used for custom
- * compensation. It simply contains a map that links objects to their identifiers.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public abstract class CompensationData implements Serializable
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataCustom.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataCustom.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataCustom.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,11 +21,11 @@
 package org.jboss.txbridge.ba.data;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 8, 2007
- *
  * This class represents the compensation data used for compensation with custom compensation
  * type. Objects are stored within a map - each object is identified by a unique identifier.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationDataCustom extends CompensationData 
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataParam.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataParam.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataParam.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,12 +23,12 @@
 import org.apache.log4j.Logger;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This class represents the compensation data used for compensation where parameters
  * simply match. We can just store all the parameters and then use them in exactly the
  * same order to invoke the compensation service.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationDataParam extends CompensationData
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataReturn.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataReturn.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/CompensationDataReturn.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,11 +23,11 @@
 import org.apache.log4j.Logger;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This class represents compensation data that stores information about the return object
  * which is used as the only parameter of the compensation action. 
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationDataReturn extends CompensationData 
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/DummyCompensationData.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/DummyCompensationData.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/DummyCompensationData.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,11 +21,11 @@
 package org.jboss.txbridge.ba.data;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 9, 2007
- *
  * This class represents a dummy compensation object which is used when services are
  * executed outside the scope of a Business Activity and no data should be remembered.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class DummyCompensationData extends CompensationData
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/IdentificationType.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/IdentificationType.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/IdentificationType.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,8 +21,16 @@
 package org.jboss.txbridge.ba.data;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 5, 2007
+ * List of supported identification types. Identification type defines how compensation
+ * data should be processed when executing the compensation action. If data has been 
+ * remembered with textual identifiers (names) then the signature of the compensation
+ * action must provide information how this data can be matched with parameters of that
+ * compensation action. If identifiers are represented by numbers then the execution
+ * mechanism simply use compensation data in the required order (this can be used for
+ * remote compensation where third-party services are used).
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public enum IdentificationType
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/TaskDescription.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/TaskDescription.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/data/TaskDescription.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,14 +23,14 @@
 import org.jboss.txbridge.ba.participant.Participant;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 4, 2007
- *
  * Task Description contains all information related to a single service invocation (task).
  * - the transaction identifier
  * - the unique task identifier
  * - the service which the task relates to
  * - participant responsible for this task
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class TaskDescription
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/CompensationActionUnsuccessfulException.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/CompensationActionUnsuccessfulException.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/CompensationActionUnsuccessfulException.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,11 +21,11 @@
 package org.jboss.txbridge.ba.exception;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This exception is thrown if there was an error with executing a single compensation action.
  * It is an internal exception and is not passed back to the client of the Business Activity.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationActionUnsuccessfulException extends Exception
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/CompensationMethodNotAccessible.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/CompensationMethodNotAccessible.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/CompensationMethodNotAccessible.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,12 +21,12 @@
 package org.jboss.txbridge.ba.exception;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This exception is thrown when the compensation method during a static analysis is
  * not accessible (i.e. the name is incorrect, parameter types do not match, the specified
  * class does not exist, etc).
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationMethodNotAccessible extends Exception
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/MethodIncorrectlyAnnotatedException.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/MethodIncorrectlyAnnotatedException.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/MethodIncorrectlyAnnotatedException.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,11 +21,11 @@
 package org.jboss.txbridge.ba.exception;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This exception is thrown when we want to process a method which does not contain
  * all necessary annotations related to Business Activity.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class MethodIncorrectlyAnnotatedException extends Exception
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/TaskAssociationFailedException.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/TaskAssociationFailedException.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/TaskAssociationFailedException.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,11 +21,11 @@
 package org.jboss.txbridge.ba.exception;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
- *
  * This is an internal exception which is thrown if it was not possible to associate a new task
  * with a participant.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class TaskAssociationFailedException extends Exception
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/TransactionProcessingException.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/TransactionProcessingException.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/exception/TransactionProcessingException.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,12 +21,12 @@
 package org.jboss.txbridge.ba.exception;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 7, 2007
- *
  * This exception is thrown if there was an error with processing a single invocation within
  * a Business Activity. If this exception is thrown then the invocation is not remembered
  * as one that participates in a transaction.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class TransactionProcessingException extends Exception
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ArgumentsProvider.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ArgumentsProvider.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ArgumentsProvider.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -27,12 +27,12 @@
 import org.jboss.txbridge.ba.service.ServiceDescription;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 17, 2007
- *
  * Arguments Provider component provides methods to obtain necessary data, which has been
  * remembered during execution of the original method. This data will be used when invoking
  * the compensation action.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class ArgumentsProvider implements DataProvider
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/CorbaExecution.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/CorbaExecution.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/CorbaExecution.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -26,10 +26,10 @@
 import org.jboss.txbridge.ba.service.ServiceDescription;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * This class provides implementation of the CORBA execution.
  *
- * This class provides implementation of the CORBA execution.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CorbaExecution implements ExecutionInterface
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/DataProvider.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/DataProvider.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/DataProvider.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -25,10 +25,8 @@
 import org.jboss.txbridge.ba.exception.CompensationActionUnsuccessfulException;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 5, 2007
- *
- * 
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public interface DataProvider
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/EJBExecution.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/EJBExecution.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/EJBExecution.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -28,11 +28,11 @@
 import java.lang.reflect.Method;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 19, 2007
- *
  * This class provides implementation of the EJB execution. It uses the Service Locator component
  * to get reference to the required EJB.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class EJBExecution implements ExecutionInterface
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ExecutionInterface.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ExecutionInterface.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ExecutionInterface.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -25,11 +25,11 @@
 import org.jboss.txbridge.ba.service.ServiceDescription;
 
 /**
- * @author: Maciej Machulak
- * @date: Jul 1, 2007
- *
  * The interface for any class that provides execution mechanism, which can be used during
  * compensation.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public interface ExecutionInterface 
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/LocalExecution.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/LocalExecution.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/LocalExecution.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -28,10 +28,11 @@
 import java.lang.reflect.Method;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
+ * This class provides implementation of the local execution. Local execution is used 
+ * on POJOs.
  *
- * This class provides implementation of the local execution. Local execution is used on POJOs.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class LocalExecution implements ExecutionInterface
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/LocalServiceExecutor.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/LocalServiceExecutor.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/LocalServiceExecutor.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,11 +23,11 @@
 import org.jboss.txbridge.ba.data.TaskDescription;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- * 
  * This class represents a local service executor. This executor uses the LocalExecution class
  * as the execution mechanism by default.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class LocalServiceExecutor extends ServiceExecutor
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/RMIExecution.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/RMIExecution.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/RMIExecution.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -26,10 +26,10 @@
 import org.jboss.txbridge.ba.service.ServiceDescription;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * This class provides implementation of the RMI execution.
  *
- * This class provides implementation of the RMI execution.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class RMIExecution implements ExecutionInterface
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/RemoteServiceExecutor.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/RemoteServiceExecutor.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/RemoteServiceExecutor.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,11 +23,11 @@
 import org.jboss.txbridge.ba.data.TaskDescription;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This class represents a remote service executor. This executor uses the WSConfiguredDII
  * as the execution mechanism by default.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class RemoteServiceExecutor extends ServiceExecutor
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceExecutor.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceExecutor.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceExecutor.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -29,12 +29,11 @@
 import org.jboss.txbridge.ba.service.ServiceDescription;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This is an abstract class that describes a basic ServiceExecutor. Service Executors are used for
  * executing compensation actions.
  *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public abstract class ServiceExecutor
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceLocator.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceLocator.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceLocator.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -31,13 +31,13 @@
 import java.util.Properties;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 19, 2007
- *
  * The Service Locator component is responsible for locating EJBs. It uses a caching mechanism
  * so that if an EJB has been previously searched for a cached reference can be returned.
  *
  * Based on: http://java.sun.com/blueprints/patterns/ServiceLocator.html
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class ServiceLocator
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceLocatorException.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceLocatorException.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/ServiceLocatorException.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,10 +21,10 @@
 package org.jboss.txbridge.ba.execute;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 19, 2007
+ * This exception is thrown if there was an error with getting reference to an EJB.
  *
- * This exception is thrown if there was an error with getting reference to an EJB.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class ServiceLocatorException extends Exception
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/WSConfiguredDII.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/WSConfiguredDII.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/WSConfiguredDII.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -26,10 +26,10 @@
 import org.jboss.txbridge.ba.service.ServiceDescription;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
+ * This class provides implementation of the Web Services Configured DII execution.
  *
- * This class provides implementation of the Web Services Configured DII execution.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class WSConfiguredDII implements ExecutionInterface
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/WSUnconfiguredDII.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/WSUnconfiguredDII.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/execute/WSUnconfiguredDII.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -26,10 +26,10 @@
 import org.jboss.txbridge.ba.service.ServiceDescription;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * This class provides implementation of the Web Services Unconfigured DII execution.
  *
- * This class provides implementation of the Web Services Unconfigured DII execution.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class WSUnconfiguredDII implements ExecutionInterface
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/helper/BAServiceVisitor.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/helper/BAServiceVisitor.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/helper/BAServiceVisitor.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -32,13 +32,14 @@
 import java.lang.annotation.Annotation;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- * 
  * This component visits the service and describes it in terms of its requirements related to
  * participating in Business Activities.
  *
- * TODO: Redesign this class - it would be better to have multiple small and exchangeable classes than a big one.
+ * TODO: Redesign this class - it would be better to have multiple small and exchangeable classes 
+ * than a big one.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class BAServiceVisitor
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/helper/CompensationManagement.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/helper/CompensationManagement.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/helper/CompensationManagement.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -29,12 +29,12 @@
 import java.lang.reflect.Field;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 4, 2007
- *
  * This component provides a method that can be used to inject a compensation manager to an object on
  * which a compensation action is to be executed. Such compensation manager can be used to retrieve
  * and additional data, which may be required by the compensation action.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationManagement
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/IdentifierFactory.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/IdentifierFactory.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/IdentifierFactory.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,11 +21,11 @@
 package org.jboss.txbridge.ba.id;
 
 /**
- * @author: Maciej Machulak
- * @date: Jul 1, 2007
+ * This is an abstract class for the identifier factory. It is used in different places 
+ * throughout the code where unique identifiers are needed (i.e. task identifiers).
  *
- * This is an abstract class for the identifier factory. It is used in different places throughout
- * the code where unique identifiers are needed (i.e. task identifiers).
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public abstract class IdentifierFactory
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/RandomGetter.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/RandomGetter.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/RandomGetter.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,10 +23,10 @@
 import java.util.Random;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * Returns a unique String object of a given precision.
  *
- * Returns a unique String object of a given precision.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class RandomGetter implements UniqueValueGetter
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/RandomIdentifierFactory.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/RandomIdentifierFactory.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/RandomIdentifierFactory.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,10 +21,10 @@
 package org.jboss.txbridge.ba.id;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * Factory for unique identifiers based on the Random Getter class.
  *
- * Factory for unique identifiers based on the Random Getter class.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 class RandomIdentifierFactory extends IdentifierFactory
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UidGetter.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UidGetter.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UidGetter.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,10 +23,10 @@
 import com.arjuna.ats.arjuna.common.Uid;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * Returns a unique String object using the Uid() method.
  *
- * Returns a unique String object using the Uid() method.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class UidGetter implements UniqueValueGetter
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UidIdentifierFactory.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UidIdentifierFactory.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UidIdentifierFactory.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,10 +21,10 @@
 package org.jboss.txbridge.ba.id;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * Factory for Uid-based unique identifiers.
  *
- * Factory for Uid-based unique identifiers.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class UidIdentifierFactory extends IdentifierFactory
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UniqueValueGetter.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UniqueValueGetter.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/id/UniqueValueGetter.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,10 +21,10 @@
 package org.jboss.txbridge.ba.id;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 2, 2007
+ * Interface for the unique value getter.
  *
- * Interface for the unique value getter.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public interface UniqueValueGetter 
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CloseNotifier.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CloseNotifier.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CloseNotifier.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,11 +23,11 @@
 import org.jboss.txbridge.ba.BATransactionManager;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 25, 2007
- *
  * CloseNotifier is started by the participant. Its purpose is to inform the
  * BA Transaction Manager that a given transaction can be closed.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CloseNotifier implements Runnable
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataCustomFactory.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataCustomFactory.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataCustomFactory.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -24,10 +24,10 @@
 import org.jboss.txbridge.ba.data.CompensationDataCustom;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 8, 2007
+ * Responsible for instantiating compensation data object required for custom compensation.
  *
- * Responsible for instantiating compensation data object required for custom compensation.
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationDataCustomFactory implements CompensationDataFactory
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataFactory.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataFactory.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataFactory.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,8 +23,8 @@
 import org.jboss.txbridge.ba.data.CompensationData;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 8, 2007
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public interface CompensationDataFactory
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataParamFactory.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataParamFactory.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataParamFactory.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -24,11 +24,11 @@
 import org.jboss.txbridge.ba.data.CompensationDataParam;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 8, 2007
- *
  * Responsible for instantiating compensation data object required for compensation
  * where parameters of the original service and the compensation service match.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationDataParamFactory implements CompensationDataFactory
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataReturnFactory.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataReturnFactory.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationDataReturnFactory.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -24,11 +24,11 @@
 import org.jboss.txbridge.ba.data.CompensationDataReturn;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 8, 2007
- *
  * Responsible for instantiating compensation data object required for compensation where the
  * return value is used as an argument for the compensation action.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationDataReturnFactory implements CompensationDataFactory
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationNotifier.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationNotifier.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CompensationNotifier.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,11 +23,11 @@
 import org.jboss.txbridge.ba.BATransactionManager;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 26, 2007
- *
  * CompensationNotifier is started by the participant. Its purpose is to inform the
  * BA Transaction Manager that a given transaction needs to be compensated.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CompensationNotifier implements Runnable
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CoordinatorCompletionParticipant.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CoordinatorCompletionParticipant.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/CoordinatorCompletionParticipant.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -26,11 +26,11 @@
 import org.jboss.txbridge.ba.service.ServiceDescription;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 8, 2007
- *
  * Implementation of the Participant that is enlisted for the Business Agreement with Coordinator
  * Completion protocol.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class CoordinatorCompletionParticipant extends org.jboss.txbridge.ba.participant.Participant implements BusinessAgreementWithCoordinatorCompletionParticipant
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/DummyCompensationDataFactory.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/DummyCompensationDataFactory.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/DummyCompensationDataFactory.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -24,11 +24,11 @@
 import org.jboss.txbridge.ba.data.DummyCompensationData;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 9, 2007
- *
  * Responsible for instantiating dummy compensation object. This factory is used if a certain
  * service is executed outside the scope of a Business Activity.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class DummyCompensationDataFactory implements CompensationDataFactory
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/Participant.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/Participant.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/Participant.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -45,13 +45,13 @@
 import java.util.ArrayList;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This is an abstract class for Participant. It provides the implemention of methods that
  * are related to compensation and completing the work and are common for following participants:
  * - Coordinator Completion Participant
  * - Participant Completion Participant
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public abstract class Participant
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/ParticipantCompletionParticipant.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/ParticipantCompletionParticipant.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/participant/ParticipantCompletionParticipant.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -25,11 +25,11 @@
 import org.jboss.txbridge.ba.SingleTransactionManager;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 8, 2007
- *
  * Implementation of the Participant that is enlisted for the Business Agreement with Participant
  * Completion protocol.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class ParticipantCompletionParticipant extends org.jboss.txbridge.ba.participant.Participant implements BusinessAgreementWithParticipantCompletionParticipant
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/MethodDescription.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/MethodDescription.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/MethodDescription.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,8 +21,8 @@
 package org.jboss.txbridge.ba.service;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  *
  * // TODO: Redesign that!
  */

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/MethodDescriptionImpl.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/MethodDescriptionImpl.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/MethodDescriptionImpl.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -21,13 +21,13 @@
 package org.jboss.txbridge.ba.service;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 17, 2007
- *
  * This class describes a single method with all information related to participation
  * in Business Activities.
  *
  * TODO: Redesign this - it should be a simple map to hold all those values.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class MethodDescriptionImpl implements MethodDescription
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceDescription.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceDescription.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceDescription.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -25,8 +25,8 @@
 import java.io.Serializable;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public interface ServiceDescription extends Serializable
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceDescriptionImpl.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceDescriptionImpl.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceDescriptionImpl.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -23,13 +23,13 @@
 import org.jboss.txbridge.ba.annotation.*;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 17, 2007
- *
  * This class describes the service in terms of all its requirements related to participation
  * in Business Activities.
  *
  * TODO: Redesign this - this should use a simple map
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class ServiceDescriptionImpl implements ServiceDescription
 {

Modified: labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceInformationManager.java
===================================================================
--- labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceInformationManager.java	2007-08-03 12:53:42 UTC (rev 13995)
+++ labs/jbosstm/workspace/baframework/trunk/src/org/jboss/txbridge/ba/service/ServiceInformationManager.java	2007-08-03 14:06:09 UTC (rev 13996)
@@ -28,11 +28,11 @@
 import java.util.concurrent.ConcurrentHashMap;
 
 /**
- * @author: Maciej P. Machulak
- * @date: Jul 1, 2007
- *
  * This class is responsible for caching information about service descriptions. It associates
  * its description with a unique identifier of a service.
+ *
+ * @author Maciej P. Machulak (mmachulak at redhat.com)
+ * @version 0.1
  */
 public class ServiceInformationManager
 {




More information about the jboss-svn-commits mailing list