Hi all,
I have an application which used jsps ans
servlets as web layer and POJO as business layer and DAO s as data base layer.
Now the question is, if I want to redesign this using EJBs how ll I do? I will retain the
JSP pages as such and populate a DTO from the JSP inputs, call a session bean in the servlet for performing all business logics, and an entity bean will be used for doing the data base updates.
Is this design Ok?
I have a doubt whether I can use servlet to call a session bean. Any better design or suggestions?