Answer in Web Development for Tom Boyle #278727
4. Object- Relational Mapping (ORM) deals with
a. matching each attribute of an object to its corresponding row in a database table
b. mapping objects in Object- Oriented Programming to relational data in a database
c. matching stubs of objects on a client to remote objects on a server.
d. mapping methods of client objects to remote stubs on a server.
5. Which pairing of words best represents a correpondence in the context of Java Persistence?
a. Class : Column
b. Table : Instance
c. Column : Entity
d. Object : Class
e. None of these answers.
6. Which of the following annotations applies to an Enterprise JavaBean class?
c. None of these answers
Object-relational mapping (ORM) is a programming technique in which a metadata descriptor is used to connect object code to a relational database. Object code is written in object-oriented programming (OOP) languages.
Answer: b. mapping objects in Object- Oriented Programming to relational data in a database
Entity objects are not identified by contained values. Entity objects are identified by its own unique existance.
Answer: c. Column : Entity
Answer: a. @Stateless
Specifies that a given EJB class is a stateless session bean.