• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebMethod and statefull session bean

 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
As per my understanding only stateless session beans can be exposed as web services.

However in one of the mocks i have come across that @webmethod can be applied on method of a statefull session bean , Is this allowed ??
 
Graeme Jenkinson
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only a stateless session bean may provide a web service client view


ejb-3_0-fr-spec-ejbcore.pdf, p40
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic