Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web service deployment in real projects

 
shah rah
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
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.
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic