I have some clarifications with regards to the design architecture in java, i have been read the book WEB DEVELOPMENT WITH JSP author duane k. fields and mark Kolb.
In the page 243, Application design with EJB, here's the flow:
1. CLIENT communicates to SERVLET.
2. SERVLET communicates vise versa to EJB.
3. EJB communicates vise verse to DATABASE.
of course after performing 2 and 3
the servlet container to JSP container and the JSP container sent back to the CLIENT..
My question is can you give me the basic code how to communicates vise verse SERVLET and EJB?
Actually may native language is asp.net with c#.net page language..
Thank You very Much..