Defining EJB 3 Basic O/R Mapping

There are three kinds of persistent classes in EJB 3:

The following requirements apply to persistent classes:

Classes that do not meet these requirements will be ignored.

Tip: You can set the stereotype and persistence of all the classes in a model or package (and sub-packages) by right-clicking the model or package and selecting Make Persistent from the contextual menu.