Can anybody tell me the advantages of using EJB's over servlet based JDBC calls.??
Transactional support in the EJB container is one!
- Business logic is in a re-usable component on the server, so you can easily re-use it in other webapps, or in other client types (e.g. PDA, Swing client)
- Entity Beans for Container Managed Persistence
Thanx for the reply. I have one more problem I want to do File reading and writting operations to do in addition to the Database reading and writting. I want to achive this things in one operation. Now I would like to ask the gorup if I can use a servlet or EJB work on this.
Please guide me with this.