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

Stateless vs Stateful beans  RSS feed

Alan Smith
Ranch Hand
Posts: 185
Firefox Browser Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am new to Java web development and I need a solid real world explanation of the difference between these two terms if anyone can help? I keep reading things like this for stateless session bean descriptions " can be performed within a single method invocation, or it may span multiple method invocations... in which case a stateful session bean would be required." I also read that stateless beans works with a single client. I know what a method is and how they work and a bean is a java class, but in this context ("method invocation") I am a bit confused.

Also, can anyone recommend a good book on EJBs? I was looking at the Head First EJB book but its almost ten years old at this stage.

Thanks in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!