how can u integrate ejb and hibernate? How can u call
hibernateDAO methods in session bean?

Answer Posted / vamsee

As both are different technologies, they vary in mapping to
Data bases. Ejb's uses service of J2EE container to talk to
DB's but is not. It is ORM model which directly talk to the
DB objects. Hibernate reduces the level of complexity to
map the DB.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ejb container?

676


Why is ftp stateful?

527


What is the difference between @requestparam and @pathvariable?

484


What optimization could I use if the ejb container is the only point of write access to the database?

566


Is microservice stateless?

491






Why do we need ejb in java?

515


What are the system services of ejb container?

628


List down the steps for the demonstration of ejp persistence mechanism.

614


What is EJB server provider?

574


What does ejb stand for?

612


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?

539


What is @autowired required false?

582


What is dependency injection in ejb?

534


How can enterprise javabeans be accessed from active server pages?

565


What do you mean by ‘hot deployment’ ?

584