If you use Container-managed beans, the ejb compiler will generate all the JDBC code for DB access....
However, these compiler generated code is not always optimized for your requirements. Too much overhead. Seldom good performance.
EJB:we only build some session beans instead of entity beans even though we need access db,---such as using ejbCreate(String ID) to get a record from a table.Is there any problem if we don't build any entity bean?