Jesper has posted 1 posts at DZone. View Full User Profile

JDev Flies on NetBeans

06.07.2011
| 3631 views |
  • submit to reddit

I'm a long time user of JDev and today the newest release came available. Like always, it took 6 hours to download and it is gigantic in size. However, start up time was incredibly fast.

I wondered why and looked in the About. There I saw several mentions of NetBeans:

I then looked in the install dir and there parts of NetBeans seems to be found:

 

I searched Twitter for 'jdev netbeans' and found more evidence:

NetBeans start up time is really fast with 7.0 and now JDev is too. They're drinking the same juice somewhere, for sure. That juice must be what seems to be the fastest OSGi container of the moment, it is called Netbinox, a combination of Equinox with performance enhancements provided by NetBeans. I googled 'netbinox', because that is the name of one of the JARs in "netbeans" folder in JDev and then I find this article explaining Netbinox. NetBeans itself does not use OSGi, but its performance enhancements seem to be part of this Netbinox, which appears to be an extension to Equinox. So is NetBeans the hidden weapon behind the performance enhancements in JDev 11.1.2?

 

Published at DZone with permission of its author, Jesper Wijngaardt.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Shay Shmeltzer replied on Wed, 2011/06/08 - 10:55am

Yes, JDeveloper borrows some code from NetBeans for its new OSGi based architecture - that's just one example of how the Oracle/Sun combination works to benefit developers.

Developers might be interested to check out some of the other cool thing that are in the new JDeveloper version see: http://java.dzone.com/announcements/new-oracle-jdeveloper-jsf-20

Give it a spin.

Stoyan Vassilev replied on Wed, 2011/06/08 - 12:37pm

Jesper, using OSGi and the Netbinox wrapper for Equinox as an OSGi implementation is one of the several changes we made to JDeveloper to get the performance gains you see in 11.1.2. Another such major change is our switch to mainly declarative registrations of JDeveloper extensions. Hope the performance changes will make for less coffee time :)

Jesper Wijngaardt replied on Wed, 2011/06/08 - 3:11pm

Why is not NetBeans (some part of it) being part of JDev mentioned somewhere in the JDev release notes? What's the secrecy for, especially since anyone can discover on their own what I did. You can't argue that NetBeans (some/whatever part of it) being part of JDev isn't significant, can you? FWIW in the company where I work, all JDev users, this is big (as in very positive) news.

Stoyan Vassilev replied on Wed, 2011/06/08 - 6:58pm

Hi Jesper, I am glad you and your co-workers like the positive news. 'Secrecy', 'evidence' are words that imply surreptitiousness, some sort of dubious intent. There is none. Both teams are part of one corporation, Oracle, and they collaborate and share code and eat sushi together. The performance improvements in JDeveloper were thanks to tens of people working together for over a year in that direction. Your article attributes the entire performance improvement to one cool facet of that work. A is faster, B is faster, A uses a portion of B therefore A "flies on" B. It does not follow. It is a good and captivating title but a logically unsound conclusion.

Jaroslav Tulach replied on Tue, 2011/06/14 - 3:36am

I am glad that NetBeans and JDeveloper share some code. I don't mind if that is part of a press release or not (at the end JDeveloper's usage of NetBeans is just a technical detail). Stoyan is right, the performance of new release is result of many changes, usage of Netbinox being just one of them.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.