Re: Embedding Tomcat in a standalone JAR

2007-01-03 Thread Vacuum Joe
I ended up going with Jetty. It was not too difficult to write my own handlers for content within Jetty. It didn't have any built-in handlers where I could give it a URL as a base, but I was able to write a primitive static content handler and a very primitive Servlet handler which are enough

Re: Embedding Tomcat in a standalone JAR

2007-01-03 Thread Martin Gainty
: Vacuum Joe [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, January 02, 2007 8:43 PM Subject: Re: Embedding Tomcat in a standalone JAR what/which tasks do you want this embedded tomcat to accomplish? Very simple tasks! I have a few Servlets and a few simple JSPs

Embedding Tomcat in a standalone JAR

2007-01-02 Thread Vacuum Joe
Hello Tomcat users, Here's what I'm trying to do: I have a simple web application. I need to ship it as a JAR file that runs anywhere, without needing to be unpacked or installed. I need it so that you run this JAR file, and it pops up a Swing dialog that asks which port to bind to, and

RE: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Caldarale, Charles R
From: Vacuum Joe [mailto:[EMAIL PROTECTED] Subject: Embedding Tomcat in a standalone JAR I found a couple of guides to embedding Tomcat There's a bit of real documentation here: http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/cat alina/startup/Embedded.html

Re: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Vacuum Joe
There's a bit of real documentation here: http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/cat alina/startup/Embedded.html Unfortunately, the promising See also: link doesn't lead to much, but looking at the source code for org/apache/catalina/startup/Catalina.java should be

RE: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Caldarale, Charles R
From: Vacuum Joe [mailto:[EMAIL PROTECTED] Subject: Re: Embedding Tomcat in a standalone JAR Right, those are two of the places I looked at, including the source for Catalina.java, and they weren't helpful. They are all about specifying files on the filesystem. There has to be some

Re: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Martin Gainty
strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, January 02, 2007 8:04 PM Subject: RE: Embedding Tomcat in a standalone JAR From: Vacuum

Re: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Vacuum Joe
what/which tasks do you want this embedded tomcat to accomplish? Very simple tasks! I have a few Servlets and a few simple JSPs and a little bit of static content (html files and images) that I need it to run. No other external things, like no DB or anything else. No need for any other fancy