Bosanac, Dejan.

Scripting in Java : languages, frameworks, and patterns / Dejan Bosanac. - Upper Saddle River, NJ : Addison-Wesley, c2008. - xx, 528 p. : ill. ; 24 cm.

Includes index.

Chapter 1. Introduction to scripting. Background -- Definition of a scripting language -- Scripting languages and virtual machines -- A comparison of scripting and system programming -- The hybrid approach -- A case for scripting. Chapter 2. Appropriate applications for scripting languages. Wiring -- Prototyping -- Customization -- Software development support -- Administration and management -- User interface programming -- Use cases -- Additional characteristics. Chapter 3. Scripting languages inside the JVM -- Under the hood -- Scripting language concepts -- BeanShell -- Jython -- Rhino -- Groovy -- Other scripting languages. Chapter 4. Groovy. Why groovy? -- Installation -- Running groovy scripts -- Compiling groovy scripts -- Script structure -- Language syntax -- System operations. Chapter 5. Advanced groovy programming. Groovy SQL -- Groovlets -- Groovy templates -- GroovyMarkup -- Groovy and swing. Chapter 6. Bean scripting framework -- Introduction to the Bean scripting framework -- Getting started -- Basic concepts -- Working with script files -- Methods and functions -- Data binding -- Compilation -- Applications. Chapter 7. Practical scripting in JAVA -- Unit testing -- Interactive debugging -- Build tools (ant scripting) -- Shell scripting -- Administration and management. Chapter 8. Scripting patterns. Scripted components pattern -- Mediator pattern (glue code pattern) -- Script object factory pattern -- Observer (broadcasters) pattern -- Extension point pattern -- Active file pattern. Chapter 9. Scripting API. Evaluation -- Binding -- Code generation -- Additional engine interfaces. Chapter 10. Web scripting famework. Architectural challenges. Appendix A: Groovy installation -- Appendix B. Groovy IDE support -- Appendix C: Installing JSR 223.

9780321321930 (pbk. : alk. paper) 0321321936

2007017654


Java (Computer program language)
Programming languages (Electronic computers)

QA76.73.J38 / B6715 2008

005.13/3