Re: how to embed tomcat 7

2010-07-21 Thread David Calavera
I have a pet project using an embedded tomcat. It's written in ruby but the
code is pretty straightforward to follow:

http://github.com/calavera/trinidad

The class that configures the tomcat instance is this:

http://github.com/calavera/trinidad/blob/master/lib/trinidad/server.rb

Cheers

On Sat, Jul 17, 2010 at 12:51 PM, Mark Thomas ma...@apache.org wrote:

 On 16/07/2010 22:09, Caldarale, Charles R wrote:
  From: Ikonne, Ike [mailto:ike_iko...@stercomm.com]
  Subject: how to embed tomcat 7
 
  can someone point to me on how I could go about embedding
  Tomcat into my application.
 
  I don't think anyone has properly documented how to do this, but the
 first set of APIs you need are here:
 
 http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Tomcat.html

 And take a look at the unit tests in Tomcat 7 for numerous examples.

 Mark



 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: how to embed tomcat 7

2010-07-17 Thread Mark Thomas
On 16/07/2010 22:09, Caldarale, Charles R wrote:
 From: Ikonne, Ike [mailto:ike_iko...@stercomm.com]
 Subject: how to embed tomcat 7

 can someone point to me on how I could go about embedding 
 Tomcat into my application.
 
 I don't think anyone has properly documented how to do this, but the first 
 set of APIs you need are here:
 http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Tomcat.html

And take a look at the unit tests in Tomcat 7 for numerous examples.

Mark



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



how to embed tomcat 7

2010-07-16 Thread Ikonne, Ike
Hi all,

 

I am a newbie to Tomcat, currently I use Jetty Webserver in an embedded
mode; can

someone point to me on how I could go about embedding Tomcat into my
application.  

When I say embedding, I mean running Tomcat without any of the
configurations files that

comes with the standalone version.  I would like to configure all aspect
programmatically.

 

Thanks,

 

Ike

 



RE: how to embed tomcat 7

2010-07-16 Thread Caldarale, Charles R
 From: Ikonne, Ike [mailto:ike_iko...@stercomm.com]
 Subject: how to embed tomcat 7
 
 can someone point to me on how I could go about embedding 
 Tomcat into my application.

I don't think anyone has properly documented how to do this, but the first set 
of APIs you need are here:
http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Tomcat.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org