| Author |
WebService interface and Stateful Session bean
|
Deepak Jain
Ranch Hand
Joined: Aug 05, 2006
Posts: 637
|
|
Why is WebService interface limited only to Stateless session bean and cannot be applied to Stateful Session bean. EJB In Action states that since SOAP [Web service uses SOAP] is a stateless protocol, Stateful session bean cannot be exposed via Web service interface. 1) Can anyone please elaborate more on this. 2) I know i could have tried, But what happens if there is a web service business interface for stateful session bean? Will the bean be still deployed? And what happens if its invoked via WS interface?
|
SCJP, SCWCD, SCBCD
|
 |
 |
|
|
subject: WebService interface and Stateful Session bean
|
|
|