• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Stateful session Bean

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic