• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@WebService Annotation

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

Is the @WebService Annotation only applicable to Stateless beans? If yes why not we use it for Stateful beans? Please help friends!
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the WebService annotation is for Stateless beans only. I cant tell why, but I'd guess that you don't need to maintain state for web services beans.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic