Geertjan's Blog

  • April 7, 2008

Great Spring Support in IDE

Geertjan Wielenga
Product Manager
I'm pretty impressed by the Spring support in the NetBeans IDE 6.1 development builds. Among other things, you can jump from references to classes and methods to their definitions in Java classes:

But the best thing is... that all the properties in a referenced class are available in the code completion box, within the context of the bean that references the class:

That's definitely my favorite Spring feature in the IDE. So, if you go to the "com.sun.swingset3.SwingSet3" class, which is the referenced class in the screenshot above, you will find methods named "setCurrentDemo", etc. Even better, you can jump via a hyperlink from the above reference to the definition of the setter in the Java class. Very cool and extremely handy. Basically, everything that can be referenced from the Java side is available via code completion and hyperlinks in the Spring configuration file.

Another cool thing is that, since you're dealing with an XML file, you have the Navigator to show you the complete breakdown of your Spring configuration file:

The best enhancement I can imagine would be... a visual view. Some kind of designer that gives you a graphic view on top of the XML tags...

Join the discussion

Comments ( 11 )
  • Milos Kleint Monday, April 7, 2008

    For me the great part of Spring support is that it will recognize Spring on the classpath of both Ant and Maven projects and will add the configuration panel to the project customizer for you to work with. That's what I actually call "out-of-the-box". No setup necessary, it just works. However if you need additional tuning to make the IDE experience better, it's right at your fingertips.


  • Rohan Ranade Tuesday, April 8, 2008

    "The best enhancement I can imagine would be... a visual view. Some kind of designer that gives you a graphic view on top of the XML tags..."

    - It's part of the plan, hopefully will be implemented in a future release.

  • Okey Tuesday, April 22, 2008

    harika bir çalışma teşekkürler ellerinize sağlık very thanks...

  • çet Thursday, September 18, 2008

    teşekkür ederiz

  • chat siteleri Thursday, September 18, 2008

    Cok teşekkürler

  • chat Thursday, September 18, 2008


  • plastik cerrahi Friday, November 14, 2008

    Leah is definitely the one who should win. Science Fiction Conventions? What?! She deserves a win, indeed!

  • Estetik Sunday, November 16, 2008

    I'm guessing the only way to do this in Javascript would be to use the onresize event, and then using the resizeTo method to attempt to keep the window at the size you want?

  • film izle Saturday, November 29, 2008

    thanks a lots of..

  • turkce mirc İndir Tuesday, January 20, 2009


  • karın germe Friday, July 24, 2009

    nice article thank you

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.