I had this question in my interview ---> how will I deploy Web services?
and I said it would be part of the WAR.
Am I correct?
I am a newbie to web services and I said I am familiar with it and he went ahead and tested me on how familiar I was!
Joined: Oct 04, 2006
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.