A web service can be implemented either as a POJO or as an EJB. Also note that WAR files and EJB JAR files may be part of an EAR.
Thus, a web service can be deployed in a WAR, in an EJB JAR or in an EAR.
I was born with webbed fish toes. This tiny ad is my only friend: