Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Maintaining State  RSS feed

 
Vandiyadevan senthan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am learning ejb recently.While doing so,I got one doubt about the difference between Stateful Session Bean and Stateless Session Bean.

How the Bean state is maintained in Stateful Session Bean during method calls?Is there any special utilities available for doing these?

Need your help to proceed further...

Thanks & Regards,
Senthan.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When the ejb client does a create a SFSB instance is created at the server side. When You use the same client reference to invoke other methods the same instance(which was created previously)will be invoked.
 
madhav kamal
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

check create methods in Home Interface.
lifecycles then it will very clear to u
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!