• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebService interface and Stateful Session bean

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic