aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Stateful session Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Stateful session Bean" Watch "Stateful session Bean" New topic
Author

Stateful session Bean

rudresh kumar
Ranch Hand

Joined: Jan 04, 2006
Posts: 83
Hi All,

I was going thro' the Mikalai Zaikin's notes and practising few ejb3 examples.

The Appendix B and C. Enterprise Application Development Environment on pg 262,

I had successfully tested both stateless and stateful session bean, but i had a doubt about the stateful session bean example, to see the behaviour of the stateful session bean, i just changed the bean definition from @stateful to @stateless(StatefulCalculatarBean), other classes remained same, built the ejb and restarted the server.

The result was same, irrespective of stateful/stateless. Has any one tried stateful session bean from a Java Test client?.

I believe we cannot test stateful session bean on java test client (may be we have test on app server) i had tried other examples from jboss and openejb, results are same.

Can any one clarify

Thanks in Advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateful session Bean