This exam is about web components, not business components (although in the Patterns chapter, you’ll see a few things about business components). But if you’re deploying a J2EE app, complete with Enterprise JavaBeans (EJBs) in the business tier, some of your web components will probably need to lookup and access the enterprise beans. If you’re deploying an app in a full J2EE-compliant Container (one that has an EJB Container as well), you can define references to EJBs in the DD. You don’t have to know anything about EJBs for this exam, other than what you declare in the DD, so we won’t waste your time explaining it here.
Reference to a local bean
Reference to a remote bean
<ejb-ref> <ejb-ref-name>ejb/LocalCustomer</ejb-ref-name> <ejb-ref-type>Entity</ejb-ref-type> <home>com.wickedlysmart.CustomerHome</home> <remote>com.wickedlysmart.Customer</remote> </ejb-ref>
(Optional sub-elements for both tags ...