Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 28454 invoked from network); 7 Jul 2004 16:59:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Jul 2004 16:59:26 -0000 Received: (qmail 58981 invoked by uid 500); 7 Jul 2004 16:49:40 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 58853 invoked by uid 500); 7 Jul 2004 16:49:39 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 58757 invoked by uid 99); 7 Jul 2004 16:49:38 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [206.224.21.17] (HELO enhbgsmtp03.state.pa.us) (206.224.21.17) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 07 Jul 2004 09:49:37 -0700 Received: from [206.224.21.23] ([206.224.21.23]) by enhbgsmtp03.state.pa.us with Microsoft SMTPSVC(5.0.2195.6713); Wed, 7 Jul 2004 12:49:30 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6524.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: OT? Netbeans v Eclipse v Visual Age for Java Date: Wed, 7 Jul 2004 12:49:30 -0400 Message-ID: <28D5D5FCB6491D41AB89987700FBC3654B0FC9@ENHBGPRI01.PA.LCL> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OT? Netbeans v Eclipse v Visual Age for Java Thread-Index: AcRicmkgWOpvxhZ7Ss61YdMKO8fvMgBzwFVQ From: "Sternbergh, Cornell" To: "Tomcat Users List" X-OriginalArrivalTime: 07 Jul 2004 16:49:30.0507 (UTC) FILETIME=[5F70E5B0:01C46442] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Saw the references to Eclipes, and then Netbeans. I know that this may be a bit off topic, please forgive me... We use Visual Age for Java (VAJ) at work, with Websphere app server and Domino HTTP server (don't ask why;-). I'm planning on using Tomcat/Eclipse at home as an exercise for the student. I'd like the IDE to be similar to VAJ, so my experience is more useful at work. What about Netbeans, is it similar enough to VAJ or Eclipse that what I learn from it will be applicable? As far as programming in Java is concerned, any number of things could be used. I'd like to have project structure, HTML/JSP/Java file storage, packaging, deploying, etc. to be fairly similar. As well as basic debugging techniques. Thank you for your patience Cornell Sternbergh -----Original Message----- From: Kunthar [mailto:kunthar@gmx.net]=20 Sent: Monday, July 05, 2004 05:27 To: Tomcat Users List Subject: Re: Sysdeo, Eclipse, Tomcat A better way to test JSP's at runtime is using Netbeans. To do this, you should have total control over your server as root/admin. 1. Install Netbeans to server. www.netbeans.org 2. Installation of Tomcat + Ant (necessary jars + Apache httpd etc.) should be ready. 3. When you run Netbeans from your Linux client woila, you got Netbeans working on your=20 local comp by strong Xserver abilities. If you sadly use Windoze try VNC Server-Client and do not call me :=3D) 4. Since Netbeans has its own HTTP Monitor you can see all passing parameters to Tomcat. This is quite good. 5. You can add break points, evaluate values and see whats up really at runtime as you do in other IDEs.=20 6. Eclipse is good but as far as i compare Netbeans, Eclipse and IntelliJ, Netbeans hits. Final Note: 90% percent of the compilation errors are arising from the ignorance of programmer. Sometimes it is better to spend time for reading then spend time for trying to find a good debugger.=20 I was using holly Homesite before i totally moved to Linux several days ago :=3D) Take care all, Gokhan Harry Mantheakis wrote: >Hello > > > =20 > >>Should I be able to set a breakpoint normally in a servlet? >> =20 >> > > >Yes, as long as you have started Tomcat using the Sysdeo plugin (from within >Eclipse). > > > =20 > >>How do I set a breakpoint in JSP? >> =20 >> > > >AFAIK that is not possible, at least not with the Sysdeo plugin. Something >like the 'MyEclipse' plugin might be able to help you there, though that is >a commercial plugin which you can test for a month or so. > > > =20 > >>Where is my source (and binaries) supposed to be? >> =20 >> > > >Source can be anywhere you like - as long as Eclipse knows where it is, and >can compile your project, the (servlet and object) debugging will work. > >Binaries go in WEB-INF/classes. It is safer to *package* your classes, BTW. > >I cannot help with the other two miscellaneous questions, though I do not >think you need be concerned with the Tomcat 'base' attribute if you have a >simple setup, and again, to begin with at least, I do not think you need be >concerned with JVM settings. (There are several JVM settings that you have >to consider on a production server, but that is another story.) > >My solution to debugging JSPs is not to put any code in them at all (!) > >I do everything with custom tags, which of course, are just objects that can >debugged in the usual way. > >Good luck! > >Harry Mantheakis >London, UK > > > =20 > >>I am trying to figure out how to debug servlets and JSPs. I am running >>Windows ME, >>Tomcat 5.0, Eclipse 2.1.3, and Sysdeo Tomcat Plugin 3.0.0.alpha1. >> >>So, how should Sysdeo be set up? >> >>Should I be able to set a breakpoint normally in a servlet? >> >>How do I set a breakpoint in JSP? >> >>Where is my soruce (and binaries) supposed to be? >> >>Miscellaneous questions: >> >>1. What is Tomcat base? (Preferences/Tomcat) >>2. Any JVM settings needed? (Preferences/Tomcat/JVM settings) >> >>Thanks for your help. I have already tried to find a tutorial on the Web, >>but nothing has helped. >> >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> >> =20 >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > =20 > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org