Have a look at the DD http://www.valoxo.ch/jr/DeploymentDescriptor.pdf. Also this has been given in chapter 7 of mastering ejb.
Any excersies available on net which give various scenarios similar to those which come in real exam (as specified by satish) so as to practice the ejb-ql?