Can an entity bean be mapped to an existing database table?
Yes. The entity bean can be mapped to an existing relational database table. To achieve this, you must indicate to the EJB container what table to use for the entity bean. This is done in the deployment specific orion-ejb-jar.xml file. Additionally, you can also map the fields of the entity bean to columns with different names in the table. This deployment information is also provided in the orion-ejb-jar.xml file. For example, to map the Employee entity bean to an existing employee relational database table, the following information is supplied in the orion-ejb-jar.xml file.