Using JDBC API from Session Beans (EJB_JDBC)

Description:

You should not work with persistent data using session beans, which should represent business processes. Using entity beans is better.

Entity beans are persistent objects that can be stored in permanent storage.

Example: