A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
EJB Certification (SCBCD/OCPJBCD)
WebMethod and statefull session bean
Joined: Jun 28, 2007
Jan 26, 2009 07:57:46
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 ??
Joined: Sep 08, 2008
Jan 27, 2009 05:41:23
Only a stateless session bean may provide a web service client view
I agree. Here's the link:
subject: WebMethod and statefull session bean
sattefull session bean & stateless session bean
Command pattern Vs Session Facade.
can statefull session bean be exposed as a web service
SessionSynchronization interface and stateless session bean
statefull session bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015