Re: Reading Tomcat source code
OK, thanks all for the advice. It's a long work, indeed, but how fascinating. Cheers, Pierre On Thu, Sep 11, 2008 at 8:02 AM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > > - Original Message - From: "Gorav Chhabra" < > [EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Thursday, September 11, 2008 6:25 AM > Subject: Re: Reading Tomcat source code > > > Hello all, >> I am very new to this TOMCAT... >> Can anyone please guide from where i can download the Source code and in >> which IDE i can configure to see the code.. >> >> Thanks >> Gorav >> > > Google as well... this is the deep end of Tomcat, you'll see how others do > it... there is no one way. > eg: Look at this... > http://wiki.netbeans.org/NetbeansedTomcat > > And google for Eclipse and Tomcat as well... > > Chuck is right... first thing you want to do is read the TC build > instructions and build it from ANT... > That on its own its quite a thing to see > > > --- > HARBOR : http://www.kewlstuff.co.za/index.htm > The most powerful application server on earth. > The only real POJO Application Server. > See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm > --- > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Reading Tomcat source code
- Original Message - From: "Gorav Chhabra" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, September 11, 2008 6:25 AM Subject: Re: Reading Tomcat source code Hello all, I am very new to this TOMCAT... Can anyone please guide from where i can download the Source code and in which IDE i can configure to see the code.. Thanks Gorav Google as well... this is the deep end of Tomcat, you'll see how others do it... there is no one way. eg: Look at this... http://wiki.netbeans.org/NetbeansedTomcat And google for Eclipse and Tomcat as well... Chuck is right... first thing you want to do is read the TC build instructions and build it from ANT... That on its own its quite a thing to see --- HARBOR : http://www.kewlstuff.co.za/index.htm The most powerful application server on earth. The only real POJO Application Server. See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm --- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reading Tomcat source code
> From: Gorav Chhabra [mailto:[EMAIL PROTECTED] > Subject: Re: Reading Tomcat source code > > Can anyone please guide from where i can download the Source code The link to the downloads for each supported Tomcat version are on the left side of the Tomcat home page: http://tomcat.apache.org This will get you to both binary and source downloads. > and in which IDE i can configure to see the code.. Personally, I think IDEs can get in the way of understanding existing code. However, if you want to use one, both NetBeans and Eclipse do a good job of handling Java code. Just set up the project as one with an existing build script, rather than having the IDE create one for you (in NetBeans, that's a "Java Free-Form Project"; I don't remember what it is in Eclipse). - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reading Tomcat source code
Hi Gorav Tomcat's homepage you can find the source download link. for example:http://tomcat.apache.org/download-60.cgi you can read the source code on the any IDE, for example Eclipse, .. good luck. On Thu, Sep 11, 2008 at 1:25 PM, Gorav Chhabra <[EMAIL PROTECTED]> wrote: > Hello all, > I am very new to this TOMCAT... > Can anyone please guide from where i can download the Source code and in > which IDE i can configure to see the code.. > > Thanks > Gorav > > On Thu, Sep 11, 2008 at 9:37 AM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > >> >> - Original Message - From: "Pierre Goupil" <[EMAIL PROTECTED] >> > >> To: "Tomcat Users List" >> Sent: Wednesday, September 10, 2008 4:07 PM >> Subject: Reading Tomcat source code >> >> >> >> Hello all, >>> >>> As an exercise, I would like to start reading Tomcat 6 source code. Lots >>> of >>> things to learn there, I guess ! But I don't know where to start. An idea, >>> anyone ? >>> >>> Yours, >>> >>> Pierre >>> >> >> When you get it all figured out... I'll buy your book ;) >> Its near impossible just reading it... depending on the IDE you use try >> figure out how to setup a dev environment. >> Google like crazy... stepping thru code in a debugger is a lot easier than >> reading it ;) >> ... and even then its not easy ;) >> --- >> HARBOR : http://www.kewlstuff.co.za/index.htm >> The most powerful application server on earth. >> The only real POJO Application Server. >> See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm >> --- >> >> >> >> - >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reading Tomcat source code
Hello all, I am very new to this TOMCAT... Can anyone please guide from where i can download the Source code and in which IDE i can configure to see the code.. Thanks Gorav On Thu, Sep 11, 2008 at 9:37 AM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > > - Original Message - From: "Pierre Goupil" <[EMAIL PROTECTED] > > > To: "Tomcat Users List" > Sent: Wednesday, September 10, 2008 4:07 PM > Subject: Reading Tomcat source code > > > > Hello all, >> >> As an exercise, I would like to start reading Tomcat 6 source code. Lots >> of >> things to learn there, I guess ! But I don't know where to start. An idea, >> anyone ? >> >> Yours, >> >> Pierre >> > > When you get it all figured out... I'll buy your book ;) > Its near impossible just reading it... depending on the IDE you use try > figure out how to setup a dev environment. > Google like crazy... stepping thru code in a debugger is a lot easier than > reading it ;) > ... and even then its not easy ;) > --- > HARBOR : http://www.kewlstuff.co.za/index.htm > The most powerful application server on earth. > The only real POJO Application Server. > See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm > --- > > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Reading Tomcat source code
- Original Message - From: "Pierre Goupil" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, September 10, 2008 4:07 PM Subject: Reading Tomcat source code Hello all, As an exercise, I would like to start reading Tomcat 6 source code. Lots of things to learn there, I guess ! But I don't know where to start. An idea, anyone ? Yours, Pierre When you get it all figured out... I'll buy your book ;) Its near impossible just reading it... depending on the IDE you use try figure out how to setup a dev environment. Google like crazy... stepping thru code in a debugger is a lot easier than reading it ;) ... and even then its not easy ;) --- HARBOR : http://www.kewlstuff.co.za/index.htm The most powerful application server on earth. The only real POJO Application Server. See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm --- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reading Tomcat source code
"Pierre Goupil" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > > As an exercise, I would like to start reading Tomcat 6 source code. Lots > of > things to learn there, I guess ! But I don't know where to start. An idea, > anyone ? > Really depends on what interests you :). If you want to learn end-to-end processing, then you would start with Coyote (org.apache.coyote) and move on to the various Connectors, and then Catalina. If you want to learn JSP handling, then it would be Jasper (org.apache.jasper). If you want to know servlet handling, then the StandardContext and StandardContextValve classes. It took a long time for me to master Tomcat (and I'm still not very good with Jasper ;). > Yours, > > Pierre > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reading Tomcat source code
I would suggest to start from the Default servlet (that would be org.apache.catalina.servlets.DefaultSerlet) On Wed, Sep 10, 2008 at 5:07 PM, Pierre Goupil <[EMAIL PROTECTED]>wrote: > Hello all, > > As an exercise, I would like to start reading Tomcat 6 source code. Lots of > things to learn there, I guess ! But I don't know where to start. An idea, > anyone ? > > Yours, > > Pierre >