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

Where is ejb used?

0 Answers  


Can remove() be a Stateless Session bean?

0 Answers  


What is software architecture of ejb?

0 Answers  


what are required main interfaces in EJB?

2 Answers  


Transaction Attributes? What is the use of ?RequiresNew?

1 Answers   HCL,






How is ejb different from java beans?

0 Answers  


How Client will contact the Bean?

3 Answers   Four soft, Tech Mahindra,


Can an ejb send asynchronous notifications to its clients?

0 Answers  


What is ejb framework?

0 Answers  


Why serialization is used?

2 Answers   IBM,


How to generate ejb stubs in eclipse?

0 Answers  


What do you mean by in-memory replication?

0 Answers  


Categories