This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I don't understand how updating entity in the servlet will update the database? how is it possible? isn't Employee a detached object?
Also, When we cache session bean instance in HttpSession, will it prevent server from destroying bean instance?