Home

Jetty and Annotations

This example shows how to use annotations.

Preparation

This demo uses Atomikos as a transaction manager by default, however it also supports JOTM. You can activate JOTM by editing the contexts/test-annotations.xml file and uncommenting the JOTM section, and by placing the JOTM jars in lib/.

The Tests

Test Servlet 2.5/3.0 Annotations

Test Servlet 3.0 Multipart Mime

File to upload: