Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions narayana/ArjunaJTA/jta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
<version.org.jboss.spec.javax.transaction>1.0.0.Final</version.org.jboss.spec.javax.transaction>

<!-- geronimo -->
<version.org.apache.geronimo.components.geronimo-transaction>3.1.5</version.org.apache.geronimo.components.geronimo-transaction>
<version.org.apache.geronimo.specs.geronimo-jta_1.1_spec>1.1.1</version.org.apache.geronimo.specs.geronimo-jta_1.1_spec>
<version.org.apache.geronimo.components.geronimo-transaction>4.0.0</version.org.apache.geronimo.components.geronimo-transaction>
<org.objectweb.howl-howl>1.0.1-1</org.objectweb.howl-howl>
<version.org.slf4j.slf4j-simple>1.6.4</version.org.slf4j.slf4j-simple>
<version.org.slf4j.slf4j-api>1.7.5</version.org.slf4j.slf4j-api>
Expand Down Expand Up @@ -247,11 +246,6 @@
<artifactId>geronimo-transaction</artifactId>
<version>${version.org.apache.geronimo.components.geronimo-transaction}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<version>${version.org.apache.geronimo.specs.geronimo-jta_1.1_spec}</version>
</dependency>
<dependency>
<groupId>org.objectweb.howl</groupId>
<artifactId>howl</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.CommandLineOptionException;

import javax.transaction.SystemException;
import javax.transaction.TransactionManager;
import javax.transaction.UserTransaction;
import jakarta.transaction.SystemException;
import jakarta.transaction.TransactionManager;
import jakarta.transaction.UserTransaction;
import javax.transaction.xa.XAResource;
import java.io.File;

@State(Scope.Benchmark)
public class GeronimoComparison extends ProductComparison {
public class GeronimoComparison extends ProductComparisonJakarta {
public static void main(String[] args) throws RunnerException, CommandLineOptionException, CoreEnvironmentBeanException {
JMHConfigJTA.runJTABenchmark(GeronimoComparison.class.getSimpleName(), args);
}

protected ProductInterface getProductInterface() {
protected ProductInterfaceJakarta getProductInterface() {
return geronimo;
}

private ProductInterface geronimo = new ProductInterface() {
private ProductInterfaceJakarta geronimo = new ProductInterfaceJakarta() {
private final String LOG_FILE_NAME = "geronimo_howl_test_";
private HOWLLog howlLog;
private UserTransaction ut;
Expand Down Expand Up @@ -117,4 +117,4 @@ protected TransactionManagerImpl createTransactionManager() throws Exception {
return new TransactionManagerImpl(TX_TIMEOUT, xidFactory, howlLog);
}
};
}
}
Loading