This example shows how to use annotations.
+ cd $JETTY_HOME/modules/examples/jetty-annotation-example-webapp + mvn clean install + cp -R $JETTY_HOME/contexts-available/test-annotations.d $JETTY_HOME/contexts + cp $JETTY_HOME/contexts-available/test-annotations.xml $JETTY_HOME/contexts
+ cd $JETTY_HOME/contexts + edit annotations-context.xml and uncomment one of the transaction manager setups
Now you can start the demo:
java -DOPTIONS=plus,annotations,default -jar start.jar