wood burning stoves*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Which IDE: netbeans or eclipse? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Which IDE: netbeans or eclipse?" Watch "Which IDE: netbeans or eclipse?" New topic
Author

Which IDE: netbeans or eclipse?

Tadas Subonis
Greenhorn

Joined: Aug 05, 2011
Posts: 8

Hello,

I would like to get your opinion which IDE is better to use for OCMJD: Eclipse or Netbeans? Main thing that I am concerned is auto source-code formatting that would comply best with Sun Conventions... I used both IDEs for some time, but I would like to hear your opinions.
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2258
    
    3

Tadas Subonis wrote:Eclipse or Netbeans?


Eclipse. And welcome to JavaRanch!


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5154
    
  12

I use Eclipse all the time, so I can't compare. Regarding auto-formatting the code I guess both IDEs have similar functionalities (adjusting how the code should be formatted, auto-format on each save operation,...), just like any other IDE.


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Tadas Subonis
Greenhorn

Joined: Aug 05, 2011
Posts: 8

Roel De Nijs wrote:I use Eclipse all the time, so I can't compare. Regarding auto-formatting the code I guess both IDEs have similar functionalities (adjusting how the code should be formatted, auto-format on each save operation,...), just like any other IDE.

I mean I am interested in their default settings... Netbeans, in comparison, doesn't do "new line" functionality if line is longer than 80char by default :/
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5154
    
  12

Are you actually asking for the default settings of code formatter in Eclipse and/or NetBeans
Sean Keane
Ranch Hand

Joined: Nov 03, 2010
Posts: 581

I've used both. Definitely prefer Eclipse.


SCJP (1.4 | 5.0), OCJP (6.0), OCMJD
Oladeji Oluwasayo
Ranch Hand

Joined: Sep 10, 2010
Posts: 101

I used Netbeans 6.9.1 for my project and it was great. As for Eclipse, I got version 3.34 (galileo) on my Linux and it sucks. Not what I'll want to use for a project. To me, Eclipse cannot lace Netbeans' boot. As for the 80 characters/line feature, just set your Netbeans to display a vertical line at 80, that way, you won't exceed 80 characters on a line.


OCPJP 6, OCMJD 6
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5154
    
  12

I think which IDE you uses is just personal preference. I liked eclipse from the beginning and so that's the one I keep using when I have the choice.
Ixus See
Ranch Hand

Joined: Jul 17, 2011
Posts: 160
I like eclipse but applet designer from netbeans can save you a lot of trouble when developing the UI.
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5154
    
  12

Ixus See wrote:I like eclipse but applet designer from netbeans can save you a lot of trouble when developing the UI.

Don't forget if you use code in your assignment which is not yours (and is generated by a GUI designer) you could fail.
Ixus See
Ranch Hand

Joined: Jul 17, 2011
Posts: 160
Roel De Nijs wrote:
Ixus See wrote:I like eclipse but applet designer from netbeans can save you a lot of trouble when developing the UI.

Don't forget if you use code in your assignment which is not yours (and is generated by a GUI designer) you could fail.


well my friend went for the oracle course, and they teaches using netbeans for OCMJD. I doubt you will fail for using netbeans GUI designer because you can argue even their oracle university uses it to teach.
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5154
    
  12

I don't know what code NetBeans generates when using its GUI designer. If for example you have dependencies on some specific NetBeans classes (used by their GUI designer) you'll certainly fail. If it uses for example the NullLayout, you can almost be sure it was made using a GUI designer and you'll certainly lose points because that's hard to maintain if you want to add/remove extra components. And in worst case scenario you could fail.
Ixus See
Ranch Hand

Joined: Jul 17, 2011
Posts: 160
Roel De Nijs wrote:I don't know what code NetBeans generates when using its GUI designer. If for example you have dependencies on some specific NetBeans classes (used by their GUI designer) you'll certainly fail. If it uses for example the NullLayout, you can almost be sure it was made using a GUI designer and you'll certainly lose points because that's hard to maintain if you want to add/remove extra components. And in worst case scenario you could fail.


oh they don't use nulllayout, they use group layout which is available in 6.0. (actually java adopted it from netbeans) anyway that is history.

Oladeji Oluwasayo
Ranch Hand

Joined: Sep 10, 2010
Posts: 101

When you design GUIs with NetBeans, it generates codes that depend on the org.jdesktop.* which (I think) is not part of the standard API. So using code with such dependencies can easily cause you to fail. Moreover, it was clearly stated that you are free to use any IDE provided only that you use them as editors and not designers/code generators and any IDE generated code "must" be packaged in your final code and any dependency on any library other than the standard API/your code will cause you to fail. Also, your code must be able to run on a system with just a fresh JRE and nothing else (not 3rd party library, no IDE, no AppServer, no SDK, nothing).
Joel Mata
Greenhorn

Joined: Oct 31, 2009
Posts: 25

Hi All,

Does anyone want to add something to this discussion?

I'm off for the OCJMD and would like to have a 2013 opinion, thanks!


ITIL V3, SCJP, Spring Core v3 and Going for the OCJMD
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2247
    
    7

Just a word about code generation when using Netbeans. Don't use it period. Besides becoming a certified JD is to demonstrate you can code from scratch.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5
Paweł Baczyński
Bartender

Joined: Apr 18, 2013
Posts: 847
    
  14

NetBeans or Eclipse? I'd say none of them.
I use IntelliJ.


Formely Pawel Pawlowicz
Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 724
You can use any IDE.
But you should not use IDE's tool to create GUI, generate getter/setter or javadoc for you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which IDE: netbeans or eclipse?
 
Similar Threads
Eclipse Advantages?
better IDE for custom property editing?
JSF,Spring,EJB,Hibernate, Web Services
SCJP practice - Which Eclipse IDE to use?
better IDE for custom property editing?