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

Match the ejb functions given below with the functionality equivalent in sql?

552


Is it legal to have static initializer blocks in ejb?

558


What is jar, war, and ear?

625


What is ejb technology?

499


Does spring use ejb?

508






Define ripple effect?

651


How to determine, that beans are TX or not?

1625


What are the different kind of ejb's?

541


What is @resource in java?

528


Why is ejb needed?

508


What is session bean in ejb?

520


Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?

597


What is stateless and stateful?

518


What are the key features of the ejb technology?

592


Mention the three levels for applying interceptor methods.

539