alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (README.txt)

This example Jetty source code file (README.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

after, after, atomikos, building, demo, different, edit, edit, manager, support, support, transaction, you, you

The Jetty README.txt source code

After Building
--------------
After you have built the example, you will need to 
edit contexts/annotations-context.xml and uncomment 
one of the transaction manager setups.


Running the Demo
----------------
You will need to copy a derby.jar to the jetty lib/ directory, as well
as copy all the necessary jars for the flavour of transaction manager
you are using. There are instructions for some of the popular 
transaction managers on the wiki at:

http://docs.codehaus.org/display/JETTY/Jetty+User+Guides

You run the demo like so:
   
   java -jar start.jar 


Adding Support for a Different Transaction Manager
--------------------------------------------------

1. Edit the src/etc/templates/filter.properties file and add
   a new set of token and replacement strings following the
   pattern established for ATOMIKOS and JOTM.

2. Edit the src/etc/templates/jetty-env.xml file and add
   configuration for new transaction manager following the
   pattern established for the other transaction managers.

3. Edit the src/etc/templates/annotations-context.xml file and
   add configuration for the new transaction manager following
   the pattern established for the other transaction managers.

Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty README.txt source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.