Auto World sample |
The Auto World sample includes an enterprise application and an EJB project. The EJB project includes EJB 2.0 entity beans with container-managed persistence (CMP) that are built using root/leaf inheritance. Vehicle is the root enterprise bean from which all of the leaf enterprise beans are derived. The leaves include RaceCar, Bus and SUV. In addition, the Auto World example includes one-to-many relationships for Garage and MotorVehiclePart, and a custom composer for VapUSPhoneNumber (an entity field of Vehicle).Finders are used on all enterprise beans to find all instances of the persistent objects. The Auto World example includes the following enterprise beans:
Importing this project takes approximately 1 minute. Configuring this project to run on a server takes approximately 30 minutes. After you import this sample, click the Setup Instructions link for steps describing how to run the Auto World sample on a server. |
![]() |
![]() |
![]() |