HI Jeanne,
Thanks for responding. Just a few follow on questions:
1. When you say servlet calls the session bean - do you mean that the actual code for the call is in the
JSP (and the servlet is automagically generated, which in effect ends up calling the session bean)?
2. Also, when you say that the session bean calls the EJB - I presume you mean Entity bean and not just any Enterprise bean?
3. So what I understand is that session bean typically never does any update/insert/delete to database? In the presence of entity bean it happens here using some pesistence technology, otherwise the session bean itself can call DAO(is that same as a persistence technology?)as you explained?
Sorry for so many questions, just want to get this straight in my head!
Thanks.
[ October 10, 2007: Message edited by: Meghna Bhardwaj ]