O'Reilly logo

Component Development for the Java™ Platform by Stuart Dabbs Halloway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.9. Onward

In this chapter you have seen several widely different examples of generative programming. In all the examples, the goal is to reuse your knowledge of the problem domain. GP works in tandem with, not in opposition to, traditional OO techniques for reuse. Some generative schemes build bytecode, like dynamic proxies. Others build source code, like the serialization example. Some code generation tools bind your choices at runtime, like JSP. Others bind at deployment time or compile time, like the RMI stub compiler.

Sometimes your commitment to generative programming is pervasive and tied into special support libraries. For example, a component either is an EJB, and it requires all the associated container goo, or it is not. On the other ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required