How EJB and JDBC/SQLJ are related?
Answer / nirmala
in case of EJB,we have CMP and BMP .in (BMP)bean managed
persistency,
bean provider has to make connection, retrive the
values ,assign them to the objects in ejbLoad()
and again the container saves the objects value in the bean
using ejbStore().
in JDBC also we have to ecplicitly do the above feature
manually.
Is This Answer Correct ? | 0 Yes | 0 No |
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
How is ejb different from java beans?
What is stateless session?
How does ejb work in java?
For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?
Where a bean can be used ?
What is the relationship between an EJB component, EJB container, and an application server?
What is mdb in ejb?
What is the use of @ejb annotation?
Explain the architectural relationship between JavaBeans and JTA?
What are the components of session beam?
Can the primary key in the entity bean be a Java primitive type such as int?