EJB 3.0 Development Process
- Create plain java beans
- Apply @Entity annotation
- Identify primary key with @Id and @GeneratedValue
- Map @OneToOne relationships
- Map @OneToMany relationships
- Map @ManyToOne relationships
- Map @ManyToMany relationships
- Create persistence unit through the persistence.xml file