Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 1048 invoked from network); 3 Aug 2000 11:48:31 -0000 Received: from lukla.sun.com (192.18.98.31) by locus.apache.org with SMTP; 3 Aug 2000 11:48:31 -0000 Received: from gw.netbeans.com ([129.156.76.1]) by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id FAA19087; Thu, 3 Aug 2000 05:48:29 -0600 (MDT) Received: from nbmailsrv.netbeans.com (mail.netbeans.com [212.24.138.130]) by gw.netbeans.com (8.9.3/8.9.3) with ESMTP id NAA06215; Thu, 3 Aug 2000 13:48:28 +0200 Received: by mail.netbeans.com with Internet Mail Service (5.5.2448.0) id ; Thu, 3 Aug 2000 13:58:54 +0200 Message-ID: <10F82FC788E0D311AB820060083EAE1E08172C@mail.netbeans.com> From: Petr Jiricka To: "'tomcat-user@jakarta.apache.org'" Cc: "'Tomcat-Dev'" Subject: RE: Stripping Tomcat. Date: Thu, 3 Aug 2000 13:58:53 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BFFD42.323B6B90" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01BFFD42.323B6B90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable We are doing exactly this. What you can do is build tomcat using the = default Ant-based build script and then use servlet.jar, webserver.jar and jasper.jar. Then you only need to write a server.xml, specify a Tomcat = home directory (this is where Tomcat will create its temp directories by = default, I think) and run org.apache.tomcat.startup.Tomcat or org.apache.tomcat.startup.EmbededTomcat with appropriate parameters. =20 Petr =20 -----Original Message----- From: Stef=E1n Freyr Stef=E1nsson [mailto:stebbi@decode.is] Sent: Thursday, August 03, 2000 11:32 AM To: 'Tomcat-User' Cc: 'Tomcat-Dev' Subject: Stripping Tomcat. Hello. =20 I'm wondering if there is anybody out there who can possibly help me. = The thing is that I have a project that requires a small web server be integrated into a server type of application. We would like to use = Tomcat because that way we would have all the things we need in a web server = plus the ability to use JSP and servlets. What we need to do then is strip Tomcat down to it's core. We only want the Java code but not the = native connectors and stuff like that. =20 I would like to ask if there is anybody who could help me get started = with that. Anything special I should know? Any pointers? I'm not used to = doing things like this so any help would be greatly appreciated. = Documentation, class diagrams, anything that may help me in stripping Tomcat down to = the HTTP server and JSP/Servlet engine. Also a description of the = directory structure of the source code of Tomcat would be great... I've found = many folders within the "src" folder which contain the same packages but different classes and such... so I'm a little bit lost in what is = what... for example: the folder "j2ee" contains the package org.apache.tomcat.* (within that there are many packages like "core", "shell" and so on). = But the folder "share" also contains this package... and more. What is = what and which is where??? =20 We use JBuilder3 as our development tool here and what I would like to = do above all is to have Tomcat in a specific project so I could just = compile it from within JBuilder (the stripped version of it I mean). I know this = may be something pretty hard to achive but so be it, maybe we can, maybe we can't. =20 Again... Can anyone help me out here? =20 Thanks, Stefan Freyr ----------------------------------------------- - Did you know that in the new IP protocol (IPv6) there are enough IP addresses to give each protone on earth an IP address! That's just = about 3.7 million billion IP addresses per each square meter on the face of = the earth. Now that's a lot of IP! =20 ------_=_NextPart_001_01BFFD42.323B6B90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
We are=20 doing exactly this. What you can do is build tomcat using the default = Ant-based=20 build script and then use servlet.jar, webserver.jar and jasper.jar. = Then you=20 only need to write a server.xml, specify a Tomcat home directory (this = is where=20 Tomcat will create its temp directories by default, I think) and run=20 org.apache.tomcat.startup.Tomcat or = org.apache.tomcat.startup.EmbededTomcat with=20 appropriate parameters.
 
Petr
 
-----Original Message-----
From: Stef=E1n Freyr = Stef=E1nsson=20 [mailto:stebbi@decode.is]
Sent: Thursday, August 03, 2000 = 11:32=20 AM
To: 'Tomcat-User'
Cc: = 'Tomcat-Dev'
Subject:=20 Stripping Tomcat.

Hello.
 
I'm = wondering if=20 there is anybody out there who can possibly help me.  The thing = is that I=20 have a project that requires a small web server be integrated into a = server=20 type of application.  We would like to use Tomcat because that = way we=20 would have all the things we need in a web server plus the ability to = use JSP=20 and servlets.  What we need to do then is strip Tomcat down to = it's=20 core.  We only want the Java code but not the native connectors = and stuff=20 like that.
 
I = would like to=20 ask if there is anybody who could help me get started with = that. =20 Anything special I should know?  Any pointers?  I'm not = used to=20 doing things like this so any help would be greatly = appreciated. =20 Documentation, class diagrams, anything that may help me in stripping = Tomcat=20 down to the HTTP server and JSP/Servlet engine.  Also a = description of=20 the directory structure of the source code of Tomcat would be = great... I've=20 found many folders within the "src" folder which contain the same = packages but=20 different classes and such... so I'm a little bit lost in what is = what... for=20 example: the folder "j2ee" contains the package = org.apache.tomcat.*=20 (within that there are many packages like "core", "shell" and so = on). =20 But the folder "share" also contains this package... and more.  = What is=20 what and which is where???
 
We = use JBuilder3=20 as our development tool here and what I would like to do above all is = to have=20 Tomcat in a specific project so I could just compile it from within = JBuilder=20 (the stripped version of it I mean).  I know this may be = something pretty=20 hard to achive but so be it, maybe we can, maybe we can't.
 
Again... Can=20 anyone help me out here?
 
Thanks, Stefan=20 Freyr
---------------------------------------------= --
- Did you know that in the new IP = protocol (IPv6)=20 there are enough IP addresses to give each protone on earth an IP=20 address!  That's just about 3.7 million billion IP addresses per = each=20 square meter on the face of the earth.  Now that's a lot of=20 IP!
 
------_=_NextPart_001_01BFFD42.323B6B90--