Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can just download the zipped Eclipse project, add the required dependencies to the lib folder under the /WebContent/WEB-INF/lib folder (relative to project's root folder) and import it into Eclipse.

Show me the code, the almost painless way

To run the project this way you will need maven installed.

  1. Download the zipped project
  2. Download jta jar from here, and rename it to jta-1.0.1B.jar
  3. Install the jta jar file running:
    Code Block
    
    $ mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=c:\path\to\jar\jta-1.0.1B.jar
    
  4. Bear with me, we are almost there
  5. cd into quickstart and run:
    Code Block
    
    $ mvn jetty:run
    
  6. point your browser to http://localhost:8080/quickstart

Prerequisites

...