EJB explanation regarding EAR vs WAR
问题 I have just begun reading up on EJBs. Even as I venture into it I have a few questions based on what I have heard about them. Do applications using EJBs always have to be deployed as an EAR? Can applications containing EJBs be deployed just like other other java web projects using ECLIPSE and without using ANT? 回答1: 1.Do applications using ejb's always have to be deployed as EAR ? No. The EJB module is assembled into a JAR, lets call it myapp-ejb.jar as a naming convention. This contains the