How EJB and JDBC/SQLJ are related?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the only method defined in the javax.ejb.handle interface?

625


What is entity bean in ejb?

544


What does @singleton annotation do?

511


What do you mean by ejb ql?

564


What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?

539






Who took over ejb?

592


How many types of session beans are available in ejb?

513


Is having static initializer blocks legal in ejb?

538


Can beans who are involved in transaction have 'passivation' process?

534


Is udp stateless?

571


What do you mean by bean managed transaction?

545


What is the difference between find and select methods in ejb?

532


An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?

557


What is Enterprise JavaBeans (EJB)?

597


What is remote interface in ejb?

523