This illustration demonstrates an example of the <ejb-ref> element mapping ejb/nextVal to myBeans/BeanA.