Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in web service - @WebMethod makes other methods non-published

 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we put @WebService annotation in a class, it becomes web service and all it's public methods are automatically published. Right?

But if we specify @WebMethod for any method then only this method will be published, and all other methods (ofcourse public one) will not be published. Right?

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic