Day 12
Quiz
A1: | An entity bean can persist data in two ways: using container-managed persistence (CMP) and bean-managed persistence (BMP). |
A2: | In CMP the responsibility of writing and implementing the actual persistence functionality lies with the EJB container, more specifically, with the tools provided by the EJB container. All the JDBC code for creating a JDBC connection, creating a statement, executing the statement, retrieving the data from the result set, and so on is generated by the container provider's tools. Moreover, the EJB 2.0 specification provides for an improved and portable CMP solution along with a new query language called EJB QL that overcomes most of the limitations and shortcomings encountered in the EJB 1.1 specification. ... |
Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.