You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Sternbergh, Cornell" <rs...@state.pa.us> on 2004/07/07 18:49:30 UTC

OT? Netbeans v Eclipse v Visual Age for Java

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] 
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 
local comp by strong Xserver abilities. If you sadly use Windoze try VNC
Server-Client and do not call me :=)
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. 
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. 
I was using holly Homesite before i totally moved to Linux several days
ago :=)

Take care all,

Gokhan



Harry Mantheakis wrote:

>Hello
>
>
>  
>
>>Should I be able to set a breakpoint normally in a servlet?
>>    
>>
>
>
>Yes, as long as you have started Tomcat using the Sysdeo plugin (from
within
>Eclipse).
>
>
>  
>
>>How do I set a breakpoint in JSP?
>>    
>>
>
>
>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.
>
>
>  
>
>>Where is my source (and binaries) supposed to be?
>>    
>>
>
>
>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
>
>
>  
>
>>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
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>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


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: OT? Netbeans v Eclipse v Visual Age for Java

Posted by epyonne <ep...@hotmail.com>.
I have not used NetBean but my colleagues do. It is very different from
Eclipse. Personally, I prefer Eclipse over NetBean.



----- Original Message ----- 
From: "Sternbergh, Cornell" <rs...@state.pa.us>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, July 07, 2004 11:49 AM
Subject: OT? Netbeans v Eclipse v Visual Age for Java


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]
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
local comp by strong Xserver abilities. If you sadly use Windoze try VNC
Server-Client and do not call me :=)
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.
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.
I was using holly Homesite before i totally moved to Linux several days
ago :=)

Take care all,

Gokhan



Harry Mantheakis wrote:

>Hello
>
>
>
>
>>Should I be able to set a breakpoint normally in a servlet?
>>
>>
>
>
>Yes, as long as you have started Tomcat using the Sysdeo plugin (from
within
>Eclipse).
>
>
>
>
>>How do I set a breakpoint in JSP?
>>
>>
>
>
>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.
>
>
>
>
>>Where is my source (and binaries) supposed to be?
>>
>>
>
>
>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
>
>
>
>
>>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
>>
>>
>>
>
>
>---------------------------------------------------------------------
>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


---------------------------------------------------------------------
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