Adam Bien's Weblog

What is the minimal footprint of a Netbeans RCP application?

I was curious and hacked a mini Netbeans RCP app with one window and exported it as "Zip". The archive contains a launcher "exe" file, my "hello world" plugin/module and the whole RCP infrastructure. The size is 4.08MB. However I deployed all RCP modules - so further optimization is absolutely possible.

This "hello world" application starts the first time in 10 seconds. The next starts are faster than 2 seconds (with splash screen...). I measured the performance on JDK 1.6 and my notebook (Oracle, Glassfish, VMWare with XP, Netbeans 6.0 and some UML tools ran in parallel) on Vista...

The Netbeans RCP based visualVM application takes 20MB on the hard disc (after installation). However this application comes already with subset of the profiler and nice visualization. It is an extendible, opensource profiler which allows the monitoring of local and remove JVMs.

So Netbeans RCP apps seems to be really lightweight :-).

NEW workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns


Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments