Java Reference
In-Depth Information
Select the EJB Module node and select the OracleDBConnection in the Connection
drop-down list. The datasource corresponding to the OracleDBConnection is jdbc/
OracleDBConnectionDS .
Creating an EJB 3 entity bean
In this section we shall map an Oracle database table to an entity bean. Subsequently
we shall discuss the components of the entity bean class.
Mapping an Oracle database table to an
entity bean
In this section, we create an EJB 3 entity bean from the Oracle database table
CATALOG that we created earlier. Select the EJB3Model project in the Application
navigator and select File | New . In the New Gallery window, select Categories |
Business Tier | EJB and Items | Entities from Tables, and click on OK .
 
Search WWH ::




Custom Search