A Picture That Speaks 1000 Words

Comments:

Indeed, this is REALLY cool. This could have been such a nice April Fool's as well (not as good as NetBeans being built on top of SWT), but to say that NetBeans will be built on top of Spring :-)

Nice work !!

Posted by Alex Kotchnev on April 21, 2008 at 03:37 AM PDT #

:-) To prove it is no joke, look here, Alex, and not e that since it is in 'contrib', you can check it out yourself, just as I did (the tests are pretty cool):

http://hg.netbeans.org/main/contrib/file/f8f3985c0b2a/spring.lookup/

Posted by Geertjan on April 21, 2008 at 04:19 AM PDT #

Geerjan, would you mind elaborating this picture into few more words though? I am really curious about some use cases. What can I yield by converting the context into Lookup (or vice versa)?

Posted by Lukas Vlcek on April 21, 2008 at 05:30 AM PDT #

Lukas, if you're comfortable with Spring, you'll be able to use Spring to connect your modules together, instead of the NetBeans Lookup API. Similarly, if you have a Spring config file, you'll be able to convert it to a NetBeans Lookup so that you can access your Spring beans via the NetBeans Lookup API.

Posted by Geertjan on April 21, 2008 at 05:55 AM PDT #

I am still investigating what shall be possible, what are the useful usecases for this API. However with a method like this you can create your own Node or TopComponent that is code via Spring and then expose all its interfaces to rest of NetBeans via their getLookup() method. However that is just an idea, we need more brainstorming.

Anyone who shows nice demo code is more than welcomed!

Posted by Jaroslav Tulach on April 21, 2008 at 05:29 PM PDT #

I know this blog was from a while ago now, but is this still "available" or what is the "new" and recommended way to have netBeans work with Spring?

Posted by guest on January 17, 2012 at 10:58 AM PST #

http://blogs.oracle.com/geertjan/entry/reusing_a_spring_configuration_file

Posted by Geertjan on January 17, 2012 at 04:13 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today