aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes WebMethod and statefull session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "WebMethod and statefull session bean" Watch "WebMethod and statefull session bean" New topic
Author

WebMethod and statefull session bean

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

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

Joined: Sep 08, 2008
Posts: 27
Only a stateless session bean may provide a web service client view


ejb-3_0-fr-spec-ejbcore.pdf, p40
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebMethod and statefull session bean