This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Frank, 1. It depends on how you are going to deploy it. If you are deploying the EJB as an application, put it in an .ear. If you are giving it to someone else to use, put in a jar. Note that this special type of jar is called and ejb jar. 2. Yes, put the web app in a war first. Then put the ejb in a jar. Finally, put both in an ear.