but as far as i can tell, the quality of those are quite limited.
Are you really looking for servlet examples? For me it looks like you
maybe want to do some embedded jetty or embedded grizzly or something
like that...
Do you want to spawn a servlet container from your app?