How is an entity bean created?

Answer Posted / janet

An entity bean can be created in two ways: by direct action
of the client in which a create method is called on the
bean?s home interface, or by some other action that adds
data to the database that the bean type represents. In fact,
in an environment with legacy data, entity objects may
?exist? before an Enterprise JavaBean is even deployed.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ejb and why it is used?

503


What are versions of ejb?

607


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

555


What is mdb?

554


What is a local interface?

550






What is dependency injection in ejb?

541


What is @enableautoconfiguration?

538


Why stateless is better than stateful?

530


How ejb invocation happens?

571


What is ejb and its uses?

521


What do you mean by ejb?

555


What are the callback annotations for the stateless bean?

498


Explain transaction and various methods to manage it?

537


Why do we use ejb?

526


Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?

525