File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which IDE: netbeans or eclipse?

 
Tadas Subonis
Greenhorn
Posts: 8
Google App Engine Linux Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tadas Subonis wrote:Eclipse or Netbeans?


Eclipse. And welcome to JavaRanch!
 
Roel De Nijs
Sheriff
Posts: 9190
77
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • 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
Google App Engine Linux Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • 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: 9190
77
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you actually asking for the default settings of code formatter in Eclipse and/or NetBeans
 
Sean Keane
Ranch Hand
Posts: 582
Chrome Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've used both. Definitely prefer Eclipse.
 
Oladeji Oluwasayo
Ranch Hand
Posts: 101
Java Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • 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: 9190
77
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Ixus See
Ranch Hand
Posts: 160
  • 0
  • Mark post as helpful
  • send pies
  • 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: 9190
77
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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: 9190
77
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
Java Netbeans IDE Oracle
  • 1
  • Mark post as helpful
  • send pies
  • 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).
 
Joel Mata
Greenhorn
Posts: 25
Java Oracle Spring
  • 0
  • Mark post as helpful
  • send pies
  • 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!
 
K. Tsang
Bartender
Pie
Posts: 3226
12
Android Java
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Paweł Baczyński
Bartender
Pie
Posts: 1699
30
Firefox Browser IntelliJ IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NetBeans or Eclipse? I'd say none of them.
I use IntelliJ.
 
Himai Minh
Ranch Hand
Posts: 1142
4
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic