Skip to main content

Fighting Class Name Clashes in Java Component Systems

  • Conference paper
Modular Programming Languages (JMLC 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2789))

Included in the following conference series:


This paper deals with class and interface name clashes in Java component systems that occur because of evolutionary changes during the lifecycle of a component application. We show that the standard facilities of the Java type system do not provide a satisfactory way to deal with the name clashes, and present a solution based on administering the names of classes and interfaces with a version identifier using a byte code manipulation tool. We provide a proof of concept implementation.

This work was partially supported by the Grant Agency of the Czech Republic in grants number 102/03/0672 and 201/03/0911.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others


  1. Andersson, J.: A Deployment System for Pervasive Computing. In: ICSM 2000 (2000)

    Google Scholar 

  2. Bruneton, E., Coupaye, T., Stefani, J.B.: The Fractal Composition Framework,

  3. Bruneton, E., Lenglet, R., Coupaye, T.: ASM: A code manipulation tool to implement adaptable systems,

  4. De Michiel, L.G., Yalcinalp, L.U., Krishnan, S.: EJB Specification 2.0

    Google Scholar 

  5. Distributed Systems Research Group: SOFA,

  6. Gosling, J., Joy, B., Steele, G., Bracha, G.: Java Language Specification

    Google Scholar 

  7. Hnětynka, P., Tůma, P.: Managing Class Names in Java Component Systems with Dynamic Update, TR 2003/2, Dept. of SW Engineering, Charles University, Prague (2003)

    Google Scholar 

  8. Lehman, M.M., Ramil, J.F.: Software Evolution in the Age of Component Based Software Engineering. IEE Proceedings Software 147(6) (2000)

    Google Scholar 

  9. Malabarba, S., Pandey, R.B., Gragg, J., Barr, E., Barnes, J.F.: Runtime support for type-safe dynamic java classes. In: Bertino, E. (ed.) ECOOP 2000. LNCS, vol. 1850, p. 337. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  10. Mencl, V., Hnětynka, P.: Managing Evolution of Component Specifications using a Federation of Repositories, TR 2001/2, Dept. of SW Engineering, Charles University, Prague (2001)

    Google Scholar 

  11. Object Management Group: CORBA Components 3.0, OMG (2002)

    Google Scholar 

  12. Paal, S., Kammüller, R., Freisleben, B.: Customizable Deployment, Composition, and Hosting of Distributed Java Applications. In: DOA 2002 (2002)

    Google Scholar 

  13. Plášil, F., Bálek, D., Janeček, R.: SOFA/DCUP: Architecture for Component Trading and Dynamic Updating. In: ICCDS 1998 (1998)

    Google Scholar 

  14. Redmond, B., Cahill, V.: Supporting Unanticipated Dynamic Adaptation of Application Behaviour. In: Magnusson, B. (ed.) ECOOP 2002. LNCS, vol. 2374, p. 205. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations


Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hnětynka, P., Tůma, P. (2003). Fighting Class Name Clashes in Java Component Systems. In: Böszörményi, L., Schojer, P. (eds) Modular Programming Languages. JMLC 2003. Lecture Notes in Computer Science, vol 2789. Springer, Berlin, Heidelberg.

Download citation

  • DOI:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40796-6

  • Online ISBN: 978-3-540-45213-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics