What do ejbs do that servlets don't and vice versa?
What is the difference between Session beans and the session that Servlets and JSP pages can already provide via cookies and rewriting etc.
And also, with entity beans, say i made one tha represented a person. Would I then somehow load that representation into the session bean for storage.
A request comes in and the servlet sees if there is a session bean ready made for this client (how does it know though?)
If not, a session bean is made.
The session bean can be loaded with other beans so that it can remember details about the client.
But what happens if say the session bean is destroyed? How does the container know to make a new bean for each client when needed