How EJB and JDBC/SQLJ are related?



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

Post New Answer

More EJB Interview Questions

What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

0 Answers  


How is ejb different from java beans?

0 Answers  


What is stateless session?

0 Answers  


How does ejb work in java?

0 Answers  


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?

0 Answers  


Where a bean can be used ?

1 Answers  


What is the relationship between an EJB component, EJB container, and an application server?

2 Answers  


What is mdb in ejb?

0 Answers  


What is the use of @ejb annotation?

0 Answers  


Explain the architectural relationship between JavaBeans and JTA?

0 Answers  


What are the components of session beam?

0 Answers  


Can the primary key in the entity bean be a Java primitive type such as int?

2 Answers   CTS,


Categories