This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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