aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes WebService interface and Stateful Session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "WebService interface and Stateful Session bean" Watch "WebService interface and Stateful Session bean" New topic
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: WebService interface and Stateful Session bean
 
Similar Threads
SCEA assignment doubts
Multiple endpointInterface
Stateful Session Beans CAN be used as web services
Stateless Bean Calling Stateful Bean
Home interface of Stateless Session Bean