commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ozeigerm...@apache.org
Subject cvs commit: jakarta-commons-sandbox/transaction/xdocs index.xml
Date Wed, 02 Jun 2004 11:24:58 GMT
ozeigermann    2004/06/02 04:24:58

  Modified:    transaction project.xml build.properties.sample build.xml
               transaction/src/java/org/apache/commons/transaction/memory/jca
                        MapXAResource.java
               transaction/xdocs index.xml
  Added:       transaction/lib junit-3.8.jar geronimo-spec-j2ee-1.0-M1.jar
  Removed:     transaction/lib geronimo-jta.jar
  Log:
  - Updated docs
  - Cleaned build process a bit
  
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/transaction/lib/junit-3.8.jar
  
  	<<Binary file>>
  
  
  1.1                  jakarta-commons-sandbox/transaction/lib/geronimo-spec-j2ee-1.0-M1.jar
  
  	<<Binary file>>
  
  
  1.4       +5 -5      jakarta-commons-sandbox/transaction/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/transaction/project.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.xml	27 May 2004 08:10:30 -0000	1.3
  +++ project.xml	2 Jun 2004 11:24:57 -0000	1.4
  @@ -19,8 +19,12 @@
       <developer>
         <name>Oliver Zeigermann</name>
         <id>ozeigermann</id>
  -      <email></email>
  +      <email>ozeigermann@apache.org</email>
         <organization></organization>
  +      <timezone>+2</timezone>
  +      <roles>
  +         <role>Java Developer</role>
  +      </roles>
       </developer>
     </developers>
     
  @@ -33,10 +37,6 @@
       <dependency>
         <id>commons-codec</id>
         <version>1.2</version>
  -    </dependency>
  -    <dependency>
  -      <id>commons-collections</id>
  -      <version>3.0</version>
       </dependency>
       <dependency>
         <id>log4j</id>
  
  
  
  1.2       +3 -3      jakarta-commons-sandbox/transaction/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/transaction/build.properties.sample,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.properties.sample	25 May 2004 15:46:15 -0000	1.1
  +++ build.properties.sample	2 Jun 2004 11:24:57 -0000	1.2
  @@ -8,9 +8,9 @@
   compile.deprecation=on
   compile.optimize=on
   
  -# jars
  -j2ee.jar=E:/lib/jboss-j2ee.jar
  -servlet.jar=E:/lib/servlet.jar
  +# jars (set to have the spec from somewhere else)
  +#j2ee.jar=E:/lib/jboss-j2ee.jar
  +#servlet.jar=E:/lib/servlet.jar
   
   # deploy dirs
   
  
  
  
  1.2       +18 -15    jakarta-commons-sandbox/transaction/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/transaction/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	25 May 2004 15:46:15 -0000	1.1
  +++ build.xml	2 Jun 2004 11:24:57 -0000	1.2
  @@ -15,9 +15,9 @@
   
     <property file="${basedir}/build.properties"/>
   
  -  <property name="debug" value="true" />
  -  <property name="deprecation" value="true" />
  -  <property name="optimize" value="true" />
  +  <property name="compile.debug" value="true" />
  +  <property name="compile.deprecation" value="true" />
  +  <property name="compile.optimize" value="true" />
   
     <property name="version" value="0.1pre"/>
     <property name="name" value="commons-transaction" />
  @@ -52,6 +52,9 @@
     <property name="dist.lib" value="${dist.dir}/lib"/>
     <property name="dist.deploy" value="${dist.dir}/deploy"/>
   
  +  <property name="j2ee.jar" value="${lib.dir}/geronimo-spec-j2ee-1.0-M1.jar"/>
  +  <property name="servlet.jar" value="${lib.dir}/geronimo-spec-j2ee-1.0-M1.jar"/>
  +
     <path id="classpath">
       <pathelement location="${build.classes}" />
       <fileset dir="${lib.dir}"/>
  @@ -147,9 +150,9 @@
   
     <target name="build" depends="prepare">
       <javac destdir="${build.classes}"
  -      debug="${debug}"
  -      deprecation="${deprecation}"
  -      optimize="${optimize}" >
  +      debug="${compile.debug}"
  +      deprecation="${compile.deprecation}"
  +      optimize="${compile.optimize}" >
         <exclude name="**/jca/**"/>
         <src path="${java.dir}"/>
         <classpath refid="classpath" />
  @@ -158,9 +161,9 @@
     
     <target name="build-test" depends="build">
       <javac destdir="${build.classes}"
  -      debug="${debug}"
  -      deprecation="${deprecation}"
  -      optimize="${optimize}" >
  +      debug="${compile.debug}"
  +      deprecation="${compile.deprecation}"
  +      optimize="${compile.optimize}" >
         <src path="${test.dir}"/>
         <classpath refid="classpath" />
       </javac>
  @@ -168,9 +171,9 @@
     
     <target name="build-jca" depends="build" if="j2ee.present">
       <javac destdir="${build.classes}"
  -      debug="${debug}"
  -      deprecation="${deprecation}"
  -      optimize="${optimize}" >
  +      debug="${compile.debug}"
  +      deprecation="${compile.deprecation}"
  +      optimize="${compile.optimize}" >
         <include name="**/jca/**"/>
         <src path="${java.dir}"/>
         <classpath refid="classpath" />
  @@ -179,9 +182,9 @@
     
     <target name="build-map-example" depends="build-jca" if="servlet.present">
       <javac destdir="${build.classes}"
  -      debug="${debug}"
  -      deprecation="${deprecation}"
  -      optimize="${optimize}" >
  +      debug="${compile.debug}"
  +      deprecation="${compile.deprecation}"
  +      optimize="${compile.optimize}" >
         <src path="${example.dir}/mapConnector/src/java"/>
         <classpath refid="classpath" />
       </javac>
  
  
  
  1.2       +2 -4      jakarta-commons-sandbox/transaction/src/java/org/apache/commons/transaction/memory/jca/MapXAResource.java
  
  Index: MapXAResource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/transaction/src/java/org/apache/commons/transaction/memory/jca/MapXAResource.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MapXAResource.java	25 May 2004 14:28:49 -0000	1.1
  +++ MapXAResource.java	2 Jun 2004 11:24:57 -0000	1.2
  @@ -32,8 +32,6 @@
   import org.apache.commons.transaction.memory.TransactionalMapWrapper;
   
   /**
  - * Wraps an <code>Xid</code> to guarantee methods for equality and hashcode
are
  - * implemented correctly. This is escpecially necessary when the <code>Xid</code>
is used as a key in a <code>HashMap</code>.
    *   
    * @author <a href="mailto:ozeigermann@apache.org">Oliver Zeigermann</a>
    * 
  
  
  
  1.3       +24 -24    jakarta-commons-sandbox/transaction/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/transaction/xdocs/index.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.xml	24 May 2004 22:36:54 -0000	1.2
  +++ index.xml	2 Jun 2004 11:24:58 -0000	1.3
  @@ -11,42 +11,42 @@
   
   <section name="The Transaction Component">
   <p>
  -An effort to create a package for transactional utility
  -classes in the commons sandbox area. The aim is to separate common
  -transaction utilities used in Jakarta Slide into a project of its own.
  +Provides a set of utility classes for transactional data structures,
  +locks, and a transactional file system.
   </p>
   
   <p>
  -<b>XAMap:</b>
  -All retrieval / insertion of data is done using the well known Map
  -methods. Tx control will also be done using a standard interface from
  -the JTA. This also allows to link this cache / map into a distributed
  -transaction in a J2EE container, even though this required the
  -implementation of a connector.
  +<b><em>memory</em> package:</b>
  +Contains a wrapper to make Maps implementing interface
  +<code>java.util.Map</code> transactional. 
  +
  +There also is a JCA compliant 
  +connector implementation that allows to plug this sort of a Map into
  +a J2EE container and transparently link it into a distributed JTA
  +transaction.  
  +
  +Depending on the type of the map that is wrapped this can either work as a
  +transactional cache or some sort of volatile memory store.
   </p>
   
   <p>
  -<b>XAHashMap:</b>
  -Transactional HashMap based on HashMap from java.util. Uses PriorityLock
  -  from org.apache.commons.transaction to allow for several isolation levels that
  -are configured in the constructor.
  +<b><em>locking</em> package:</b>
  +Interfaces and implementations for locks that can have more than one
  +owner at different compatible levels.
   </p>
   
   <p>
  -<b>XALRUCache:</b>
  -Transactional Cache based on LRUMap from org.apache.commons.collections.
  -Uses PriorityLock from org.apache.commons.transaction to allow for several
  -isolation levels that are configured in the constructor.
  +<b><em>file</em> package:</b>
  +Implementation of a transaction file system. Using a pessimistic
  +locking schema this implementation features
  +<em>serializable</em> transactions. 
   </p>
   
   <p>
  -<b>MultiLevelLock, GenericLock and PriorityLock:</b>
  -Interfaces and implementations for locks that can have more than one
  -owner at different compatible levels. PriorityLock allows to specify
  -preferences of lock levels. E.g. this would allow to prefer write locks
  -over read locks. Preferences can be specified either by direction
  -(higher level over lower or vice versa) or by an array explicitly
  -describing the sequence of preferred levels.
  +<b><em>util</em> package:</b> 
  +Contains a collection of utility classes used by the transaction
  +package itself. Of more general interest could be a rendezvous barrier
  +and a file utility class.
   </p>
   
   </section>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message