Thread: Entity and JDBC
View Single Post

  #2 (permalink)  
Old 12-11-2007, 01:42 PM
amitky's Avatar
amitky amitky is offline
J2EE Prof.
 
Join Date: Dec 2007
Location: Bangalore
Posts: 7
amitky is on a distinguished road
Send a message via MSN to amitky Send a message via Yahoo to amitky
Hi

Hi,
Entity Bean is high end Persistence technology. Where as JDBC is a DB connectivity API. If you are aware of the 4 types of driver, Entity bean uses Thin (Type 4) driver for DB connection. In normal JDBC application manually transactions & security needs to be maintained. But using Entity Bean we can leave this work on EJB container which provides container services. This also increase the performance of handling database record as the server can cache the frequently accessed records.
As I mentioned earlier JDBC is DB connectivity technology which is used in Entity bean also but isolated in the configuration.
__________________
Amit
Reply With Quote