Title :
Module Reload through Dynamic Update - The Case of NetBeans
Author :
Gregersen, Allan Raundahl ; Jorgensen, Bo Norregaard
Author_Institution :
Univ. of Southern Denmark, Odense
Abstract :
Recent versions of the NetBeans IDE allow us to easily reload NetBeans modules in an instance of a running program. Though overcoming some of the dynamic component-replacement issues, simply running NetBeans´ install/uninstall hooks, can lead to dangling object references and hard-to-track class cast exceptions. These problems are caused by Java´s class-loading scheme which considers class objects of the same class definition as distinct types when loaded by different class loaders. In this paper we apply a novel dynamic update approach to NetBeans´ reload feature which overcomes these shortcomings, thus confirming its general validity. Hence, developers of NetBeans application modules, as well as NetBeans IDE modules, will experience a significant improvement as our approach allows transparent evolution of both code and state.
Keywords :
Java; distributed object management; programming environments; Java; NetBeans integrated development environment; NetBeans module reload feature problem; dynamic component replacement; Application software; Computer bugs; Guidelines; Java; Programming environments; Runtime; Software engineering; Software maintenance; Testing; Virtual machining; Programming environments; Software engineering; Software maintenance;
Conference_Titel :
Software Maintenance and Reengineering, 2008. CSMR 2008. 12th European Conference on
Conference_Location :
Athens
Print_ISBN :
978-1-4244-2157-2
DOI :
10.1109/CSMR.2008.4493297