Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WebService interface and Stateful Session bean  RSS feed

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?
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!