uuhhhh..... I'd say there's a huge difference between these types of beans
. Session beans (stateful, stateless) represent "actions" that your application requires to execute.
for example, in the well-known banking application, you will have session beans that make money withdraw, transfer, etc. so clients interact with the session beans, for example.
Entity beans are things that you want your application to persist. In our example, an account can be an entity bean. Person might be an entity bean as well.. most people say that entity beans are
nouns whereas session beans are
verbs.
This is a very basic explanation, but at least it will give you a big overview of this topic. I highly recommend you to read
this book, which its PDF is completely free. It's a great book BTW.
hope this helps
[ June 29, 2003: Message edited by: Andres Gonzalez ]