Skip to main content

Scripting and JSR 223

  • Chapter
Book cover Java™ 6 Platform Revealed
  • 362 Accesses

Summary

From what appears to be a long way from where JSR 223 started, Mustang gets a common scripting framework for integrating scripting engines with the Java platform. From evaluating the scripting source, to compiling and invoking, your Java programs can be bilingual with full object transparency between the two languages. In fact, you can even implement interfaces on the fly in the scripting language if you want to, without even generating .class files. As you get started with scripting, be sure to test your scripts in the command-line support tool.

The book’s final chapter looks at the last big additions to Mustang—improvements in the pluggable annotation processing area. First introduced with Java 1.5, the metadata facility allows the marking of attributes for classes, interfaces, fields, and methods. In Chapter 10, you’ll discover the additional features available for the processing of your types and elements.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 John Zukowski

About this chapter

Cite this chapter

(2006). Scripting and JSR 223. In: Java™ 6 Platform Revealed. Apress. https://doi.org/10.1007/978-1-4302-0187-8_9

Download citation

Publish with us

Policies and ethics