Yes, we can! Here is the example with embedded jetty:
https://github.com/caelum/vraptor-test/blob/master/src/main/java/br/com/caelum/vraptor/test/RealVRaptor.java#L30
Server server = new Server(port);
WebAppContext context = new WebAppContext();
context.setDescriptor(base.getAbsolutePath() + "/WEB-INF/web.xml");
context.setResourceBase(base.getAbsolutePath());
context.setContextPath("/");
context.setParentLoaderPriority(true);
server.setHandler(context);
server.start();
If you use a war file, you do not need the setDescriptor call. Is that all?
Regards
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/