View Single Post

  #3 (permalink)  
Old 12-13-2007, 07:34 AM
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
As we know that Entity Bean is built on JDBC. In other words Entity Bean uses JDBC for actual physical connection to Database. So when we are using Entity bean there is not need to use JDBC code directly. Added to this Entity bean gets support of container services like connection pooling, transaction management etc, which needs to be done through in case of JDBC.
As we know that the JDBC provides 4 type of driver and Entity Bean uses the type 4 driver which is the most preferred driver so Entity bean is a best choice in applications which frequently access the DB.
__________________
Amit
Reply With Quote