Java Reference
In-Depth Information
Summary
In this section, we created an EJB 3.0 entity bean in JDeveloper 11 g from an Oracle
database table. The Catalog entity bean is automatically created a database table
CATALOG ; the database table columns are mapped to entity bean properties. We
created a wrapper session bean for the entity bean, including a remote business
interface. We added a test method to the session bean for creating and persisting
entity instances, querying entity instances, and removing an entity instance. We
created a JSP test client to test the entity bean. We look up the session bean remote
interface using the mapped name for the session bean and invoke the test method on
the remote interface instance. In the next chapter, we shall discuss EJB 3.0 database
persistence with Oracle Enterprise Pack for Eclipse and WebLogic server.
 
Search WWH ::




Custom Search