• 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?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!