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.