In this chapter, we have developed the ordering system of our enterprise application. Along with the development of the code, we encountered many new things. You learned about annotations and how they can be handled by reflections. Although not strongly related, you learned how to use lambda expressions and streams to express several programming constructs simpler than conventional loops. In the last part of this chapter, we extended the application using scripting by invoking JavaScript functions from Java, and also by invoking Java methods from JavaScript.
In fact, with all of this knowledge, we matured to a Java level that is needed for enterprise programming. The rest of the topics this book covers are for the aces. But you want to be one, don't you? This is why I wrote the remaining chapters. Read on!