• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Which IDE: netbeans or eclipse?

 
Greenhorn
Posts: 8
Netbeans IDE Google App Engine Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tadas Subonis wrote:Eclipse or Netbeans?



Eclipse. And welcome to JavaRanch!
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Tadas Subonis
Greenhorn
Posts: 8
Netbeans IDE Google App Engine Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you actually asking for the default settings of code formatter in Eclipse and/or NetBeans
 
Ranch Hand
Posts: 590
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've used both. Definitely prefer Eclipse.
 
Ranch Hand
Posts: 101
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I like eclipse but applet designer from netbeans can save you a lot of trouble when developing the UI.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 101
Netbeans IDE Oracle Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Greenhorn
Posts: 25
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 2236
63
IntelliJ IDE Firefox Browser Spring Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
NetBeans or Eclipse? I'd say none of them.
I use IntelliJ.
 
Bartender
Posts: 2416
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use any IDE.
But you should not use IDE's tool to create GUI, generate getter/setter or javadoc for you.
 
reply
    Bookmark Topic Watch Topic
  • New Topic