Java Reference
In-Depth Information
If, subsequently, the catalog3 catalog id is respecified, the validation message is
Catalog Id is not Valid , because we had previously created a catalog entry with
catalog3 catalog id.
Summary
In this chapter, we created a EJB 3.0 entity bean that maps to the Oracle Database
XE table CATALOG . We created a wrapper session bean. We created a client servlet
to lookup the session bean and invoke methods on the session bean. We created an
input form to create a new catalog entry. An Ajax request is sent from the input form
to the server to validate a catalog id value and if the catalog id is valid, a new catalog
entry is created. In the next chapter, we add JSF user interfaces to create EJB 3.0
entity relationships.
 
Search WWH ::




Custom Search