Does TopLink perform code generation to persist objects?
Because TopLink uses a metadata architecture, it does not need to generate any code to enable your application’s persistence. TopLink can generate: • The TopLink project and associated descriptors into a single Java class that, when compiled, can be used in place of the runtime deployment XML file. • A table creator Java class that when compiled can create all the tables on the database with required constraints. • Source code for the classes defined in the project. • Java object model, EJB-CMP EntityBean model, and EJB-BMP EntityBean model from an existing database schema. TopLink does generate classes for EJB2.0 CMP. • Does TopLink require me to subclass a special class or implement a special interface? TopLink does not force a developer to subclass from one of its classes or use special types to maintain relationships. You could build a domain model to map persistently that has no dependencies on TopLink. Refer to the Building Superior Java Applications whitepaper for details. • Doe