Implementing a Script Engine

In this chapter, you will learn:

  • The components of a script engine that need to be developed when implementing a new script engine
  • How to implement the different components of a simple script engine that will perform addition, subtraction, multiplication, and division on two numbers
  • How to package the code of the script engine
  • How to deploy and test the script engine


Implementing a full-blown script engine is no simple task and it is outside the scope of this book. This chapter is meant to give you a brief, but complete, overview of the setup needed to implement a script engine. In this section, ...

Get Scripting in Java: Integrating with Groovy and JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.