Thanks for the replies guys, very helpful.
I guess one of the more specific questions I have is whether the ProcessEngine is its own servlet, or do I need to set up a servlet context behind it? I was trying to work out form the Activiti samples, what was providing the application context, so I can set the same thing up in Jetty.
Actually, what would be better is if Jetty is just another dependency in my pom, and I build the container around Activiti and deploy the whole thing server, container and all.
Does that make sense?