How to set up your Data Source to the Database in EJB?

Question

How to set up your Data Source to the Database in EJB?

Re: How to set up your Data Source to the Database in EJB?

The example program requires a database table named CHECKINGS --the Data Manipulation Language (DML) of which is shown below-- with the following fields:
CREATE TABLE CHECKINGS
ACCOUNT_NUMBER Number
CUSTOMER_NAME Text
BALANCE Currency
*primary key (ACCOUNT_NUMBER)