You can make a Java class into one of the following persistent types:
Persistent Entity
Embeddable
Mapped Superclass
You can also add persistence when creating a new Java class. See "Creating a New Persistent Entity" for more information.