If your entity bean has bean-managed persistence, your entity bean code contains the calls that access the data store.