O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Q&A

Q1: What does CMP stand for?
A1: CMP stands for Container Managed Persistence.
Q2:Can the getter and setter methods of cmp-fields and cmr-fields appear in the bean's interfaces?
A2: cmp-field methods can appear in any interface; cmr-field methods can appear only in local interfaces.
Q3:What keywords or features of ANSI SQL does EJB QL not (yet) support?
A3: The keywords and features EJB QL doesn't support include count(*), union, group by, order by (among others).
Q4:How are the parameters of a select method defined?
A4: The select method is written as a public method in the form ejbSelect() in the class itself.
Q5:How is navigability defined in the deployment descriptor?
A5: The presence of the cmr-field element indicates navigability.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required