learn java
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "WebMethod and statefull session bean" Watch "WebMethod and statefull session bean" New topic

WebMethod and statefull session bean

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

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

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
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: WebMethod and statefull session bean