This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
EJB and servlet are totally two different things. You make use of EJBs to implement your business logic and use servlet to process HTTP request. Servlet makes use of EJB to process request and to applies biz rules as per application need. Biz logic can also be put in servlets and in normal beans but EJB provides implicit facilities for enterprise applications like handling of transactions, concurrency, security, load balancing etc. If one wants to implement these facilities in normal application[using only normal beans] then one has to explicit write code for these facilities. Please correct me if I am wrong. [ July 16, 2003: Message edited by: Ravish Kumar ]
"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh