Re: Building a uber/fat jar

2017-10-01 Thread Brian Toal
thanks John, I want to decouple my solution from web.xml completely, so the goal is to have the container to scan all jars on the classpath and look for Servlet 3.0 annotations and do the necessary (register servlet context listeners, filters, servlets, etc). The container starts, but none of th

Re: Building a uber/fat jar

2017-09-30 Thread John D. Ament
I use Maven for the actual build. I use these dependencies (with 9.0.0.M26): org.apache.tomcat.embed tomcat-embed-core org.apache.tomcat.embed tomcat-embed-el org.apache.tomcat tomc

Building a uber/fat jar

2017-09-30 Thread Brian Toal
Can someone point me to a example of how to run Tomcat as a embedded application, packaged in a uber jar? I'm not interested in running via a war. I've struggled to find a example.