I am currently working with JSP, EJB
I have following details for different kind of beans.
I am struggling to understand use of beans in a practical everyday applications.
Can someone please list sample examples for me?
Session Bean : Comes into existence when clients starts a session. Only open until that session from browser is alive.
A browser session is stateless session and nothing is remembered from one click to another. A session bean will remember the task done by session.
Entity Bean : Will host session of an object like customer, invoice. Normally persistent beans. The info is not vanished. When created will restore data from old state.
Message Beans : Communicate from one tier to another