Skip to main content
  • 813 Accesses

Abstract

In this chapter we describe a modern environment that supports a typed object-oriented technology. The components of this environment include reflection, the actual object-oriented virtual machine, and support for persistent objects. Reflection is the topic of Sect. 3.1. We first describe in Sect. 3.1.2 the core of type—safe object-oriented reflection: the Java class Class (C# has the corresponding type Type). Classes Field, Method, and Constructor are described in respective Sects. 3.1.3, 3.1.4, and 3.1.5. In Sect. 3.1.6 we show how access and updating of field values is carried out using reflection. In Sect. 3.1.7 we show how methods are invoked using reflection. Creating class objects using an extensible class loader is the topic of Sect. 3.1.8. Finally, in Sect. 3.1.9 we give a general specification of the structure of the Java class files.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover 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

References

  1. J. Alabahari, B. Albahari, C# 5.0 in a Nutshell (O’Reilly, Beijing, 2012)

    Google Scholar 

  2. S. Alagić, T. Ngyen, Parametric polymorphism and orthogonal persistence, in Proceedings of the ECOOP 2000 Symposium on Objects and Databases. Lecture Notes in Computer Science, vol. 1813 (Springer, Heidelberg, 2001), pp. 32–46

    Google Scholar 

  3. S. Alagić, M. Royer, Genericity in Java: persistent and database systems implications. VLDB J. 17(4), 847–878 (2007)

    Article  Google Scholar 

  4. S. Alagić, J. Solorzano, Java and OQL: a reflective solution for the impedance mismatch. L’objet 6, 3 (2000)

    Google Scholar 

  5. K. Arnold, J. Gosling, D. Holmes, The Java Programming Language, 4th edn. (Addison-Wesley, Boston, 2005)

    Google Scholar 

  6. M. Atkinson, R. Morrison, Orthogonally persistent object systems. VLDB J. 4, 319–401 (1995)

    Article  Google Scholar 

  7. M. Atkinson, L. Daynes, M.J. Jordan, T. Printezis, S. Spence, An orthogonally persistent JavaTM. ACM SIGMOD Rec. 25, 68–75 (1996)

    Article  Google Scholar 

  8. J. Gosling, B. Joy, G. Steel, G. Bracha, The Java Language Specification, 3rd edn. (Addison Wesley, Boston, 2005)

    Google Scholar 

  9. Java Core Reflection, JDK 1.1. Sun Microsystems (1997)

    Google Scholar 

  10. G. Kirby, R. Morrison, D. Stemple, Linguistic reflection in Java. Softw. Pract. Exp. 28(10), 1045–1077 (1998)

    Article  Google Scholar 

  11. T. Lindholm, F. Yellin, The Java TM Virtual Machine Specification (Addison-Wesley, Boston, 1996)

    Google Scholar 

  12. M. Royer, S. Alagić, D. Dillon, Reflective constraint management for languages on virtual platforms. J. Object Tech. 6(10), 59–79 (2007). http://www.jot.fm/issues/issue_2007_11/article1/index.html

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Alagić, S. (2015). Virtual Platform. In: Object-Oriented Technology. Springer, Cham. https://doi.org/10.1007/978-3-319-20442-0_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-20442-0_3

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-20441-3

  • Online ISBN: 978-3-319-20442-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics